@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #0b3954;
    --secondary: #087e8b;
    --accent: #bfd7ea;
    --highlight: #ff5a5f;
    --error: #db3d6c;
    --background-color: #fff;
}

/* Main page layout */
.countdown-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
    background: var(--background-color);
    padding: 2rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

/* Page title */
.countdown-page h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 2rem 0;
}

/* Main countdown display - the focal point */
.countdown-display {
    font-size: 10rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
    animation: pulse 4s ease-in-out infinite;
    line-height: 1;
}

/* Label below countdown */
.countdown-label {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 500;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Date information */
.countdown-date {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 400;
    margin: 0;
    opacity: 0.8;
}

/* Alert message styling */
.alert-message {
    background: var(--accent);
    color: var(--primary);
    border: 2px solid var(--secondary);
    border-radius: 8px;
    padding: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    max-width: 600px;
    margin: 2rem 0;
}

/* Subtle animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .countdown-page h1 {
        font-size: 2rem;
    }
    
    .countdown-display {
        font-size: 7rem;
    }
    
    .countdown-label {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .countdown-date {
        font-size: 1rem;
    }
    
    .countdown-page {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown-page h1 {
        font-size: 1.6rem;
    }
    
    .countdown-display {
        font-size: 5rem;
    }
    
    .countdown-label {
        font-size: 1rem;
    }
    
    .countdown-date {
        font-size: 0.9rem;
    }
}
