/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: transparent;
    min-height: 100vh;
    min-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    z-index: 1;
}

#heroVideo {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.hero-headings {
    position: absolute;
    top: 8vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    color: #fff;
    width: 100vw;
    pointer-events: none;
}
.hero-headings .pm-logo {
    display: block;
    margin: 0 auto 1.5rem auto;
}
.hero-sub {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg,#e040fb,#00bcd4 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.hero-desc {
    font-size: 1.15rem;
    font-weight: 400;
    color: #b2ebf2;
    margin-bottom: 0;
}

/* Responsive video adjustments */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        padding-top: 56.25%; /* 16:9 Aspect Ratio */
    }

    #heroVideo {
        object-fit: contain;
        background: #000;
    }
}

/* Additional mobile adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding-top: 56.25%; /* Maintain 16:9 aspect ratio */
    }
}

/* Ensure countdown timer positioning still works */
@media (max-width: 1024px) {
    .countdown-section {
        margin-top: 2rem; /* Add some space between video and countdown */
        position: relative;
        z-index: 3;
    }
}

/* Play Again Button */
.play-again-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10;
    display: none;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.play-again-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.play-again-btn svg {
    width: 100%;
    height: 100%;
    stroke: #0984e3;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.play-again-btn:hover svg {
    stroke: #0061a8;
}

.play-again-btn.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.9) translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

/* Sound Toggle Button */
.sound-toggle-btn {
    position: absolute;
    top: 20px;
    right: 80px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.sound-toggle-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.sound-toggle-btn svg {
    width: 100%;
    height: 100%;
    stroke: #0984e3;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.sound-toggle-btn:hover svg {
    stroke: #0061a8;
}

.sound-toggle-btn.muted svg {
    stroke: #666;
}

.sound-toggle-btn.muted svg path:last-child {
    display: none;
}

/* Responsive adjustments for sound button */
@media (max-width: 768px) {
    .sound-toggle-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
        top: 15px;
        right: 65px;
    }
}

/* Countdown Section */
.countdown-section {
    position: relative;
    z-index: 3;
    padding: 0;
    margin: 150px auto 0;
    max-width: 800px;
    background: transparent;
}

.countdown-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(13, 71, 161, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Registration Section */
.register-section {
    position: relative;
    background: transparent;
    padding-top: 160px; /* Increased padding to create more space */
    padding-bottom: 5rem;
    margin-top: -100px;
}

.register-section .container {
    position: relative;
    z-index: 2;
    background: transparent;
    padding-top: 40px; /* Additional top padding for more separation */
}

/* Update the form container to be more transparent */
.form-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 
        0 20px 40px rgba(13, 71, 161, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

#countdown {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 1.5rem;
    padding: 0.5rem;
    position: relative;
}

.countdown-item {
    flex: 1;
    padding: 1.5rem;
    min-width: 120px;
    position: relative;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    box-shadow: 
        0 4px 15px rgba(13, 71, 161, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0)
    );
    z-index: 1;
}

#countdown span:first-child {
    font-size: 3.8rem;
    font-weight: 700;
    color: #1976d2;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    text-shadow: 
        0 0 20px rgba(25, 118, 210, 0.2),
        0 0 40px rgba(25, 118, 210, 0.1);
    background: linear-gradient(180deg, #1976d2, #1565c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
}

.label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    font-weight: 500;
    background: linear-gradient(90deg, #1976d2, #1565c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* Add subtle animation to numbers */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

#countdown span:first-child {
    animation: pulse 2s infinite ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .countdown-section {
        margin-top: -50px;
        padding: 0 1rem;
    }
    
    .countdown-container {
        padding: 1.5rem;
    }
    
    .countdown-item {
        padding: 1rem;
        min-width: 80px;
    }
    
    #countdown {
        gap: 0.75rem;
    }
    
    #countdown span:first-child {
        font-size: 2.2rem;
    }
    
    .label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* Registration Section */
.register-section .container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1976d2;
    text-shadow: 0 2px 10px rgba(25, 118, 210, 0.1);
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(25, 118, 210, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

input[type="email"]:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.1);
}

button {
    padding: 1rem 2rem;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
}

button:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
}

.promo-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.promo-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Footer Section */
footer {
    background: #2d3436;
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #dfe6e9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #81ecec;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .register-section {
        padding-top: 140px;
    }

    .register-section .container {
        padding-top: 30px;
    }

    .form-group {
        flex-direction: column;
        gap: 1rem;
    }

    .form-container {
        padding: 2rem 1rem;
    }

    .form-container h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .countdown-section {
        margin-top: -50px;
        padding: 0 1rem;
    }
    
    .countdown-container {
        padding: 1.5rem;
    }
    
    .countdown-item {
        padding: 1rem;
        min-width: 80px;
    }
    
    #countdown {
        gap: 0.75rem;
    }
    
    #countdown span:first-child {
        font-size: 2.2rem;
    }
    
    .label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* Overlay Glass Layout */
.overlay-glass {
    position: absolute;
    left: calc(55% + 210px);
    bottom: calc(2vh - 40px);
    right: auto;
    top: auto;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
    max-width: 100vw;
    background: none;
}

.countdown-container-glass {
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-width: 620px;
    min-width: 340px;
    width: 100%;
    margin-bottom: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: none;
}

#countdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    width: 100%;
}

.countdown-item {
    flex: 1;
    padding: 1.2rem 0.2rem 1.1rem 0.2rem;
    min-width: 70px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(31,38,135,0.06);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1.5px solid #e0e7ef;
    transition: background 0.3s, box-shadow 0.3s;
}

.countdown-item span:first-child {
    font-size: 2.6rem;
    font-weight: 700;
    color: #1976d2;
    letter-spacing: 1px;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    text-shadow: none;
    margin-bottom: 0.2rem;
    animation: pulse 2s infinite ease-in-out;
}

.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #1976d2;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.8;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.form-container-glass {
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-width: 620px;
    min-width: 340px;
    width: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: none;
    color: #ffffff;
}

.form-container-glass .form-group {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    width: 100%;
}

.form-container-glass input[type="email"] {
    flex: 2;
    padding: 1.1rem 1rem;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    font-size: 1.1rem;
    background: #fff;
    transition: border-color 0.3s;
}

.form-container-glass input[type="email"]::placeholder {
    text-align: center;
}

.form-container-glass button {
    flex: 1;
    padding: 1.1rem 0.5rem;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 110px;
}

.form-container-glass button:hover {
    background: #1565c0;
}

@media (max-width: 900px) {
    .overlay-glass {
        left: 50%;
        right: auto;
        bottom: 4vh;
        max-width: 98vw;
        transform: translateX(-50%);
    }
    .countdown-container-glass, .form-container-glass {
        max-width: 98vw;
        min-width: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 600px) {
    body {
        overflow-y: scroll !important;
        /*height: auto !important;*/
        min-height: 100vh !important;
        background: #181f2a !important;
    }
    .hero {
        position: relative !important;
        width: 100vw;
        height: auto !important;
        min-height: 0 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        margin: 0;
        z-index: 1;
    }
    #heroVideo {
        position: static;
        width: 100vw;
        height: auto;
        max-height: 40vh;
        object-fit: cover;
        display: block;
        background: #000;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .overlay-glass {
        position: static;
        left: 0;
        right: 0;
        bottom: auto;
        top: auto;
        transform: none;
        width: 100vw;
        max-width: 100vw;
        margin: 0 auto;
        padding: 0 0.5rem 2rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        opacity: 1 !important;
        pointer-events: auto;
        background: none;
        /*margin-top: 1vh;*/
    }
    .countdown-container-glass, .form-container-glass {
        max-width: 100vw;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    #countdown {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
    }
    .countdown-item {
        min-width: 0;
        padding: 1rem 0.2rem;
        font-size: 1rem;
    }
    .form-container-glass .form-group {
        flex-direction: column;
        gap: 0.7rem;
    }
    .form-container-glass button {
        min-width: 100%;
    }
    .video-gradient-fade {
        position: relative;
        width: 100vw;
        height: 40px;
        margin-top: -40px;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(to bottom, rgba(24,31,42,0) 0%, #181f2a 100%);
    }
    .mobile-stamp {
        display: block;
        margin: 0 auto 2rem auto;
        width: 135px;
        height: auto;
    }
    .countdown-container-glass {
        margin-bottom: 2rem;
    }
    .form-container-glass {
        /*margin-bottom: 2rem;*/
    }
    .mobile-appstore {
        display: block;
        margin: 0 auto 2.2rem auto;
        width: 90vw;
        max-width: 400px;
        height: auto;
    }
    .mobile-footer {
        background: none;
        color: #fff;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        font-size: 0.92rem;
        text-align: center;
        padding: 1rem 0 0.7rem 0;
        letter-spacing: 0.5px;
        pointer-events: none;
        user-select: none;
        width: 100vw;
        z-index: 1;
    }
}

@media (min-width: 601px) {
    .mobile-appstore,
    .mobile-stamp {
        display: none !important;
    }
    .desktop-appstore {
        display: block;
        margin: 0 auto 0 auto;
        width: 600px;
        height: auto;
    }
    .overlay-glass {
        bottom: calc(2vh - 40px);
    }
}

@media (max-width: 600px) {
    .desktop-appstore {
        display: none;
    }
}

.overlay-glass.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s;
}

.modal-content {
    background: #082545;
    color: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    text-align: center;
    min-width: 320px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.modal-content p {
    font-size: 1.25rem;
    margin: 0;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .modal-content {
        min-width: 0;
        padding: 1.5rem 0.5rem 1.2rem 0.5rem;
    }
    .modal-logo {
        width: 200px;
        height: auto;
        margin-bottom: 1rem;
    }
    .modal-content p {
        font-size: 1rem;
    }
} 

.text-white {
    color: #fff;
}

.main-content {
    color: #ffffff;         
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.main-content ul {
    list-style: none;
    padding: 0;
}

.feature-list {
    text-align: left;       
    justify-content: flex-start; 
    align-items: flex-start;
}

.app-store-buttons {
    display: flex;
    justify-content: center;     /* Center the buttons horizontally */
    gap: 20px;                   /* Space between the buttons */
    flex-wrap: wrap;             /* Allows wrapping on smaller screens */
    padding: 20px 0;
    border: 2px solid #fff;
    border-radius: 10px;
    text-align: center;
}

.store-button {
    height: 50px;                /* Adjust height as needed */
    width: auto;
}

.app-store-buttons form {
  display: inline-block;
  margin: 0 5px;
}

.store-button {
  width: auto; /* Adjust as needed */
  height: 50px;
  border: none;
  outline: none;
  display: block;
  transition: transform 0.3s ease;
  animation: pulse 2.5s infinite;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

button:focus {
  outline: none;
}

.pulse {
  transition: transform 0.3s ease;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.95;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
