body {
    font-family: 'Arial', sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    transition: background 1s ease;
}

/* Seasonal themes */
body.winter {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
}

body.spring {
    background: linear-gradient(135deg, #0d0d0d 0%, #1b2e1b 50%, #2d5016 100%);
}

body.summer {
    background: linear-gradient(135deg, #0a0a0a 0%, #2e1b1b 50%, #501616 100%);
}

body.fall {
    background: linear-gradient(135deg, #0b0b0b 0%, #2e1b0d 50%, #501f0d 100%);
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#target-year {
    font-size: 1.2em;
    margin-bottom: 10px;
    opacity: 0.8;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 1em;
}

#timezone {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1em;
    margin-bottom: 20px;
}

#year-progress {
    width: 100%;
    height: 10px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

#year-progress::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

#year-progress::-webkit-progress-value {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 5px;
}

#year-progress::-moz-progress-bar {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 5px;
}

/* Seasonal font effects */
body.winter h1 {
    color: #e0f6ff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 10px rgba(173, 216, 230, 0.5);
    font-family: 'Arial', sans-serif;
}

body.spring h1 {
    color: #f0fff0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 8px rgba(144, 238, 144, 0.4);
    font-family: 'Arial', sans-serif;
}

body.summer h1 {
    color: #fffacd;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 12px rgba(255, 215, 0, 0.6);
    font-family: 'Arial', sans-serif;
}

body.fall h1 {
    color: #ffe4b5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 10px rgba(255, 140, 0, 0.5);
    font-family: 'Arial', sans-serif;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.time-unit span {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Seasonal counter effects */
body.winter .time-unit span {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(173, 216, 230, 0.3);
}

body.spring .time-unit span {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(144, 238, 144, 0.3);
}

body.summer .time-unit span {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(255, 215, 0, 0.4);
}

body.fall .time-unit span {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 5px rgba(255, 140, 0, 0.4);
}

.time-unit p {
    font-size: 1.2em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Seasonal label effects */
body.winter .time-unit p {
    color: #b0e0e6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

body.spring .time-unit p {
    color: #98fb98;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

body.summer .time-unit p {
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

body.fall .time-unit p {
    color: #ffa500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Season effects */
#season-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.snow {
    position: absolute;
    top: -10px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall 15s linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}

.petal {
    position: absolute;
    top: -10px;
    width: 12px;
    height: 8px;
    background: linear-gradient(45deg, #ff69b4, #ffb6c1);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.7;
    animation: fall 12s linear infinite;
}

.firefly {
    position: absolute;
    top: -10px;
    width: 4px;
    height: 4px;
    background: #ffff00;
    border-radius: 50%;
    box-shadow: 0 0 6px #ffff00;
    animation: fall 10s linear infinite, glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    to {
        box-shadow: 0 0 12px #ffff00;
    }
}

.leaf {
    position: absolute;
    top: -10px;
    width: 15px;
    height: 20px;
    background: linear-gradient(45deg, #ff4500, #ffa500);
    border-radius: 50% 15% 50% 15%;
    opacity: 0.8;
    animation: fall 14s linear infinite, sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    .time-unit span {
        font-size: 3em;
    }
    #countdown {
        flex-direction: column;
        gap: 10px;
    }
}