/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: url('background.png'), linear-gradient(135deg, rgba(3, 154, 103, 0.6) 0%, rgba(2, 122, 82, 0.6) 100%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow-x: hidden;
    /* Page is visible immediately */
    opacity: 1;
}

/* Mobile-specific background */
@media (max-width: 768px) {
    body {
        background: url('bg-phone.png'), linear-gradient(135deg, rgba(3, 154, 103, 0.6) 0%, rgba(2, 122, 82, 0.6) 100%);
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Removed loading state - page shows immediately */

/* Additional background overlay for extra customization if needed */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--background-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

/* Logo styles removed */

/* Coming soon section */
.coming-soon h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.coming-soon p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 0.5rem;
}

.coming-soon p.description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 300;
    opacity: 0.75;
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 0;
}

/* Countdown styles */
.countdown-container {
    margin: 2rem 0;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.number {
    display: block;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.label {
    display: block;
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* Launch date */
.launch-date {
    margin-top: 1rem;
}

.launch-date p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.x-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.x-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.x-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .content {
        gap: 2rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .time-unit {
        padding: 1rem 0.75rem;
    }
    
    .footer {
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.75rem;
    }
    
    .content {
        gap: 1.5rem;
    }
    
    .countdown {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 200px;
    }
    
    .time-unit {
        padding: 0.75rem;
    }
    
    .x-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .x-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Animation for countdown numbers */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.time-unit.updated {
    animation: pulse 0.5s ease-in-out;
}

/* Loading state */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .time-unit {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid white;
    }
    
    .x-link {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid white;
    }
}
