:root {
    /* New Palette Extraction */
    --c-deep-red: #721616;
    /* Deepest Red (Right) */
    --c-terra-red: #cc5652;
    /* Terracotta Red */
    --c-pink: #edafa0;
    /* Salmon Pink */
    --c-sage: #b0c9bb;
    /* Sage Green */
    --c-ice: #e4f0f2;
    /* Ice Blue/White */

    --color-bg-deep: var(--c-deep-red);
    --color-text-main: var(--c-ice);
    --font-heading: 'Cinzel', serif;
    --font-number: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    /* Red Theme Background */
    background: radial-gradient(circle at center, var(--c-deep-red) 0%, #290303 100%);
    color: var(--color-text-main);
    font-family: var(--font-number);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vignette Effect - keep but soften */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
    z-index: 5;
}

#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    filter: blur(0.5px);
}

.snowflake {
    position: absolute;
    top: -10px;
    background: var(--c-ice);
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(110vh) translateX(20px);
    }
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-timer {
    text-align: center;
    padding: 2rem;
}

.year-label {
    font-family: var(--font-number);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--c-sage);
    /* Sage Green Subtitle */
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--c-ice);
    margin: 0 0 4rem 0;
    line-height: 1;
    /* Terracotta Red shadow */
    text-shadow: 4px 4px 0px var(--c-terra-red), 0 0 40px rgba(255, 255, 255, 0.1);
}

.timer {
    display: flex;
    justify-content: center;
    gap: 4vw;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-family: var(--font-number);
    font-size: 6rem;
    font-weight: 200;
    line-height: 1;
    color: var(--c-ice);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    min-width: 1.2em;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-pink);
    /* Salmon Pink Labels */
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Celebration State */
.celebrating .hero-title {
    animation: festivalGlow 1s infinite alternate;
}

.celebrating-text {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--c-white);
    text-shadow: 4px 4px 0 var(--c-red);
    letter-spacing: 0.1em;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes festivalGlow {
    from {
        text-shadow: 3px 3px 0 var(--c-red), 0 0 20px var(--c-white);
    }

    to {
        text-shadow: 3px 3px 0 var(--c-red), 0 0 60px var(--c-light-green);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
        margin-bottom: 2rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .label {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }

    .timer {
        gap: 1.5rem;
    }

    .year-label {
        font-size: 0.9rem;
    }
}

/* Mute Button */
.mute-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--c-white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    border-color: var(--c-white);
}

.mute-btn:active {
    transform: scale(0.95);
}