/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --accent-color: #3b82f6;
    --dark-bg: #0f172a;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-light: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #f8fafc;
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
    animation: fadeInDown 0.8s ease-out 0.1s backwards;
}

/* Timer Styles */
.timer-container {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.timer-label {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 500;
}

.timer-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.timer-unit {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 24px 32px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.timer-unit:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.timer-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.timer-text {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

/* Events Section */
.events-section {
    background: transparent;
}

.date-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    animation: fadeIn 0.8s ease-out;
}

.date-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    position: relative;
}

.date-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.no-dates {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}


/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 32px 20px;
    margin-top: 80px;
}

.footer p {
    opacity: 0.7;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 36px;
    }

    .timer-unit {
        min-width: 100px;
        padding: 20px 24px;
    }

    .timer-value {
        font-size: 2.5rem;
    }

    .date-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 20px 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .timer-display {
        gap: 12px;
    }

    .timer-unit {
        min-width: 75px;
        padding: 16px 20px;
    }

    .timer-value {
        font-size: 2rem;
    }

    .timer-text {
        font-size: 0.75rem;
    }

    .date-card {
        padding: 24px;
    }

    section {
        padding: 48px 20px;
    }
}
