:root {
    --festival-red: #DC2626;
    --festival-red-light: #FCA5A5;
    --festival-gold: #FBBF24;
    --festival-gold-dark: #F59E0B;
}

.festival-page {
    padding: 60px 20px;
    max-width: var(--small-width);
    margin: 0 auto;
}

.festival-content {
    background: white;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lantern {
    position: absolute;
    font-size: 48px;
    animation: swing 3s ease-in-out infinite;
    z-index: 10;
}

.lantern-left {
    left: 20px;
    top: 20px;
    animation-delay: 0s;
}

.lantern-right {
    right: 20px;
    top: 20px;
    animation-delay: 1.5s;
}

@keyframes swing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.festival-title h1 {
    font-size: 50px;
    color: var(--festival-red);
    margin-bottom: 30px;
    font-weight: bold;
}

.year-selector {
    margin-bottom: 30px;
}

.year-select {
    padding: 10px 20px;
    font-size: 18px;
    color: var(--festival-red);
    background: white;
    border: 2px solid var(--festival-red);
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}

.year-select:hover {
    border-color: var(--festival-gold-dark);
}

.year-select:focus {
    border-color: var(--festival-gold-dark);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    border-radius: 16px;
    padding: 30px 60px;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.countdown-number {
    font-size: 80px;
    font-weight: bold;
    color: var(--festival-gold);
}

.countdown-label {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
}

.countdown-separator {
    font-size: 56px;
    color: var(--festival-red);
    font-weight: bold;
}

.festival-info {
    font-size: 30px;
    color: #64748b;
}

.festival-info span {
    color: var(--festival-red);
    font-weight: bold;
}

.fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.firework {
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    background: var(--festival-gold);
    box-shadow: 0 0 15px var(--festival-gold), 0 0 30px var(--festival-red-light);
    animation: firework 3s ease-out forwards;
}

@keyframes firework {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-600px) scale(0);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .festival-content {
        padding: 30px 15px;
    }

    .lantern {
        font-size: 32px;
    }

    .lantern-left {
        left: 10px;
        top: 10px;
    }

    .lantern-right {
        right: 10px;
        top: 10px;
    }

    .festival-title h1 {
        font-size: 28px;
    }

    .year-select {
        font-size: 16px;
        padding: 8px 16px;
    }

    .countdown-container {
        gap: 8px;
    }

    .countdown-item {
        padding: 12px 20px;
    }

    .countdown-number {
        font-size: 40px;
    }

    .countdown-label {
        font-size: 14px;
    }

    .countdown-separator {
        font-size: 40px;
    }

    .festival-info {
        font-size: 14px;
    }
}