/* Wildoria — Voxel Animations Stylesheet */
/* ======================================== */
/* Animations de personnages, animaux et fond dynamique voxel */

/* ===== Voxel Floating Cubes Background ===== */

.voxel-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.voxel-cube {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    opacity: 0.06;
    animation: floatCube linear infinite;
}

.voxel-cube::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: 4px;
    transform: translate(4px, 4px) scale(0.7);
    opacity: 0.5;
}

@keyframes floatCube {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.06;
    }
    90% {
        opacity: 0.06;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== Voxel Clouds ===== */

.voxel-cloud {
    position: absolute;
    display: flex;
    gap: 2px;
    opacity: 0.08;
    animation: driftCloud linear infinite;
}

.voxel-cloud .block {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 2px;
}

.voxel-cloud .block:nth-child(2) { height: 24px; align-self: flex-end; }
.voxel-cloud .block:nth-child(3) { height: 32px; align-self: flex-end; }
.voxel-cloud .block:nth-child(4) { height: 24px; align-self: flex-end; }
.voxel-cloud .block:nth-child(5) { height: 16px; align-self: flex-end; }

@keyframes driftCloud {
    from { transform: translateX(-200px); }
    to { transform: translateX(calc(100vw + 200px)); }
}

/* ===== Voxel Sun ===== */

.voxel-sun {
    position: absolute;
    top: 8%;
    right: 10%;
    width: 64px;
    height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 2px;
    animation: sunRise 30s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3));
}

.voxel-sun .pixel {
    background: #fbbf24;
    border-radius: 2px;
}

.voxel-sun .pixel:nth-child(1),
.voxel-sun .pixel:nth-child(4),
.voxel-sun .pixel:nth-child(13),
.voxel-sun .pixel:nth-child(16) { opacity: 0; }

.voxel-sun .pixel:nth-child(6),
.voxel-sun .pixel:nth-child(7),
.voxel-sun .pixel:nth-child(10),
.voxel-sun .pixel:nth-child(11) { background: #f59e0b; }

@keyframes sunRise {
    0% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-30px) translateX(-20px); opacity: 1; }
    100% { transform: translateY(10px) translateX(-40px); opacity: 0.5; }
}

/* ===== Voxel Lumberjack Scene ===== */

.voxel-scene {
    position: relative;
    width: 320px;
    height: 200px;
    margin: 0 auto;
    overflow: visible;
}

/* Ground */
.voxel-ground {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    gap: 0;
}

.voxel-ground .grass {
    flex: 1;
    height: 8px;
    background: #2d6b1f;
}

.voxel-ground .dirt {
    flex: 1;
    height: 16px;
    background: #5c3a1e;
}

.voxel-ground .grass:nth-child(odd) { background: #1a4a14; }
.voxel-ground .dirt:nth-child(odd) { background: #4a2e16; }

.voxel-grass-layer {
    bottom: 16px;
}

.voxel-dirt-layer {
    bottom: 0;
}

/* Tree */
.voxel-tree {
    position: absolute;
    bottom: 24px;
    left: 200px;
    animation: treeShake 2s ease-in-out infinite;
    transform-origin: bottom center;
}

.voxel-tree .trunk {
    width: 16px;
    height: 48px;
    background: #5c3a1e;
    margin: 0 auto;
    border-radius: 2px;
}

.voxel-tree .leaves {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 16px);
    grid-template-rows: repeat(4, 16px);
    gap: 1px;
}

.voxel-tree .leaves .leaf {
    background: #2d6b1f;
    border-radius: 2px;
}

.voxel-tree .leaves .leaf:nth-child(1),
.voxel-tree .leaves .leaf:nth-child(5),
.voxel-tree .leaves .leaf:nth-child(21),
.voxel-tree .leaves .leaf:nth-child(25) { opacity: 0; }

.voxel-tree .leaves .leaf:nth-child(7),
.voxel-tree .leaves .leaf:nth-child(8),
.voxel-tree .leaves .leaf:nth-child(9),
.voxel-tree .leaves .leaf:nth-child(12),
.voxel-tree .leaves .leaf:nth-child(13),
.voxel-tree .leaves .leaf:nth-child(14),
.voxel-tree .leaves .leaf:nth-child(17),
.voxel-tree .leaves .leaf:nth-child(18),
.voxel-tree .leaves .leaf:nth-child(19) { background: #1a5c1a; }

@keyframes treeShake {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(2deg); }
    30% { transform: rotate(-1deg); }
    45% { transform: rotate(3deg); }
    60% { transform: rotate(-2deg); }
}

/* Lumberjack character */
.voxel-lumberjack {
    position: absolute;
    bottom: 24px;
    left: 150px;
    width: 48px;
    height: 70px;
}

.voxel-lumberjack .head {
    width: 24px;
    height: 24px;
    background: #e0ac69;
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.voxel-lumberjack .head::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -4px;
    right: -4px;
    height: 10px;
    background: #8b4513;
    border-radius: 2px 2px 0 0;
}

.voxel-lumberjack .body {
    width: 28px;
    height: 28px;
    background: #2563eb;
    margin: 0 auto;
    border-radius: 2px;
}

.voxel-lumberjack .legs {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 0;
}

.voxel-lumberjack .leg {
    width: 10px;
    height: 16px;
    background: #1e3a5f;
    border-radius: 2px;
    animation: legWalk 1s ease-in-out infinite alternate;
}

.voxel-lumberjack .leg:last-child {
    animation-delay: 0.5s;
}

@keyframes legWalk {
    from { transform: translateY(0); }
    to { transform: translateY(-3px); }
}

/* Axe */
.voxel-lumberjack .axe-arm {
    position: absolute;
    top: 28px;
    right: -8px;
    width: 32px;
    height: 8px;
    transform-origin: left center;
    animation: axeSwing 2s ease-in-out infinite;
}

.voxel-lumberjack .axe-arm .handle {
    width: 24px;
    height: 6px;
    background: #8b4513;
    border-radius: 2px;
    position: absolute;
    top: 1px;
    left: 0;
}

.voxel-lumberjack .axe-arm .blade {
    width: 10px;
    height: 14px;
    background: linear-gradient(135deg, #c0c0c0, #808080);
    border-radius: 2px;
    position: absolute;
    top: -4px;
    right: 0;
}

@keyframes axeSwing {
    0%, 100% { transform: rotate(-20deg); }
    40% { transform: rotate(60deg); }
    50% { transform: rotate(60deg); }
    60% { transform: rotate(-20deg); }
}

/* Dust particles */
.voxel-dust {
    position: absolute;
    bottom: 24px;
    left: 190px;
    width: 40px;
    height: 20px;
    pointer-events: none;
}

.voxel-dust .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #a0826d;
    border-radius: 1px;
    opacity: 0;
    animation: dustPuff 2s ease-out infinite;
}

.voxel-dust .particle:nth-child(1) { left: 0; animation-delay: 0.4s; }
.voxel-dust .particle:nth-child(2) { left: 8px; animation-delay: 0.5s; }
.voxel-dust .particle:nth-child(3) { left: 16px; animation-delay: 0.6s; }
.voxel-dust .particle:nth-child(4) { left: 24px; animation-delay: 0.45s; }
.voxel-dust .particle:nth-child(5) { left: 32px; animation-delay: 0.55s; }

@keyframes dustPuff {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    30% { opacity: 0.6; }
    100% { transform: translateY(-20px) scale(0.3); opacity: 0; }
}

/* ===== Voxel Animal (Bear) ===== */

.voxel-animal {
    position: fixed;
    bottom: 0;
    left: -80px;
    width: 64px;
    height: 48px;
    z-index: 0;
    animation: animalWalk 25s linear infinite;
    pointer-events: none;
}

.voxel-animal .body {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 40px;
    height: 24px;
    background: #6b4226;
    border-radius: 3px;
}

.voxel-animal .body::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 6px;
    background: #5a3520;
    border-radius: 3px 3px 0 0;
}

.voxel-animal .head {
    position: absolute;
    bottom: 12px;
    right: 0;
    width: 20px;
    height: 20px;
    background: #6b4226;
    border-radius: 3px;
}

.voxel-animal .head::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 2px;
    width: 6px;
    height: 6px;
    background: #5a3520;
    border-radius: 2px;
}

.voxel-animal .head::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #5a3520;
    border-radius: 2px;
}

.voxel-animal .snout {
    position: absolute;
    bottom: 14px;
    right: -6px;
    width: 8px;
    height: 10px;
    background: #8b6347;
    border-radius: 2px;
}

.voxel-animal .leg-a {
    position: absolute;
    bottom: 0;
    left: 12px;
    width: 8px;
    height: 12px;
    background: #5a3520;
    border-radius: 2px;
    animation: animalLegA 0.6s ease-in-out infinite alternate;
}

.voxel-animal .leg-b {
    position: absolute;
    bottom: 0;
    left: 32px;
    width: 8px;
    height: 12px;
    background: #5a3520;
    border-radius: 2px;
    animation: animalLegB 0.6s ease-in-out infinite alternate;
}

@keyframes animalLegA {
    from { transform: rotate(0deg); }
    to { transform: rotate(15deg); }
}

@keyframes animalLegB {
    from { transform: rotate(0deg); }
    to { transform: rotate(-15deg); }
}

@keyframes animalWalk {
    0% { left: -80px; bottom: 0; }
    100% { left: calc(100vw + 80px); bottom: 0; }
}

/* ===== Voxel Rabbit ===== */

.voxel-rabbit {
    position: fixed;
    bottom: 0;
    right: -60px;
    width: 40px;
    height: 36px;
    z-index: 0;
    animation: rabbitHop 30s linear infinite;
    pointer-events: none;
}

.voxel-rabbit .body {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 28px;
    height: 16px;
    background: #d4c890;
    border-radius: 3px;
}

.voxel-rabbit .head {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 14px;
    height: 14px;
    background: #d4c890;
    border-radius: 2px;
}

.voxel-rabbit .ear {
    position: absolute;
    bottom: 24px;
    left: 2px;
    width: 4px;
    height: 12px;
    background: #c4b880;
    border-radius: 2px;
}

.voxel-rabbit .ear:nth-child(2) {
    left: 8px;
}

.voxel-rabbit .leg {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 8px;
    background: #c4b880;
    border-radius: 2px;
}

.voxel-rabbit .leg:nth-child(4) { left: 6px; }
.voxel-rabbit .leg:nth-child(5) { left: 22px; }
.voxel-rabbit .leg:nth-child(6) { left: 28px; }

@keyframes rabbitHop {
    0% { right: -60px; }
    100% { right: calc(100vw + 60px); }
}

/* ===== Floating Voxel Blocks ===== */

.voxel-float {
    position: absolute;
    animation: floatBlock ease-in-out infinite;
    border-radius: 3px;
    opacity: 0.15;
}

@keyframes floatBlock {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(8deg); }
}

/* ===== Scene Wrapper ===== */

.voxel-scene-wrapper {
    text-align: center;
    margin: 40px 0 0;
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(18, 21, 28, 0.4) 0%, rgba(18, 21, 28, 0.8) 100%);
    border: 1px solid var(--border);
    overflow: hidden;
}

.voxel-scene-label {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    font-size: 12px;
    margin-top: 12px;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .voxel-scene {
        transform: scale(0.7);
    }

    .voxel-sun {
        width: 48px;
        height: 48px;
    }

    .voxel-animal {
        animation-duration: 20s;
    }

    .voxel-rabbit {
        animation-duration: 25s;
    }
}

@media (max-width: 600px) {
    .voxel-scene {
        transform: scale(0.5);
    }

    .voxel-animal,
    .voxel-rabbit {
        display: none;
    }
}

/* ===== Reduced Motion ===== */

@media (prefers-reduced-motion: reduce) {
    .voxel-cube,
    .voxel-cloud,
    .voxel-sun,
    .voxel-tree,
    .voxel-lumberjack .axe-arm,
    .voxel-lumberjack .leg,
    .voxel-dust .particle,
    .voxel-animal,
    .voxel-rabbit,
    .voxel-float,
    .seasonal-snowflake,
    .seasonal-leaf,
    .seasonal-petal,
    .seasonal-heart,
    .seasonal-firefly,
    .seasonal-pumpkin,
    .seasonal-firework,
    .seasonal-bat,
    .seasonal-snowman,
    .seasonal-flower {
        animation: none !important;
    }
}

/* ===== Seasonal Decorations ===== */

.seasonal-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* --- Winter: Snowflakes --- */

.seasonal-snowflake {
    position: absolute;
    top: -20px;
    color: #ffffff;
    font-size: 14px;
    opacity: 0;
    animation: snowfall linear infinite;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

@keyframes snowfall {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(100vh) translateX(40px) rotate(360deg); opacity: 0; }
}

/* Winter: Snowman */
.seasonal-snowman {
    position: fixed;
    bottom: 0;
    left: 3%;
    z-index: 0;
    pointer-events: none;
    animation: snowmanGlow 4s ease-in-out infinite alternate;
}

.seasonal-snowman .ball-bottom {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto;
}

.seasonal-snowman .ball-middle {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: -4px;
}

.seasonal-snowman .ball-top {
    width: 22px;
    height: 22px;
    background: #f0f0f0;
    border-radius: 50%;
    margin: 0 auto;
    margin-top: -4px;
    position: relative;
}

.seasonal-snowman .ball-top::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 5px;
    width: 3px;
    height: 3px;
    background: #1a1a1a;
    border-radius: 50%;
    box-shadow: 8px 0 0 #1a1a1a;
}

.seasonal-snowman .ball-top::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 7px;
    width: 4px;
    height: 4px;
    background: #f59e0b;
    border-radius: 50%;
}

@keyframes snowmanGlow {
    from { filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2)); }
    to { filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4)); }
}

/* --- Spring: Flower Petals --- */

.seasonal-petal {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 10px;
    background: #ffb7c5;
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    animation: petalFall linear infinite;
}

@keyframes petalFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    100% { transform: translateY(100vh) translateX(60px) rotate(720deg); opacity: 0; }
}

/* Spring: Flowers on ground */
.seasonal-flower {
    position: fixed;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    animation: flowerSway 3s ease-in-out infinite alternate;
}

.seasonal-flower .stem {
    width: 3px;
    height: 20px;
    background: #2d6b1f;
    margin: 0 auto;
}

.seasonal-flower .bloom {
    width: 12px;
    height: 12px;
    margin: 0 auto;
    margin-top: -2px;
    position: relative;
}

.seasonal-flower .bloom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: 50%;
    transform: scale(1.2);
    opacity: 0.6;
}

@keyframes flowerSway {
    from { transform: rotate(-3deg); }
    to { transform: rotate(3deg); }
}

/* --- Summer: Fireflies --- */

.seasonal-firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 8px #fbbf24, 0 0 16px rgba(251, 191, 36, 0.4);
    opacity: 0;
    animation: fireflyFloat ease-in-out infinite;
}

@keyframes fireflyFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0; }
    20% { opacity: 1; }
    50% { transform: translate(30px, -40px); opacity: 0.8; }
    80% { opacity: 1; }
}

/* --- Autumn: Falling Leaves --- */

.seasonal-leaf {
    position: absolute;
    top: -20px;
    width: 12px;
    height: 12px;
    opacity: 0;
    animation: leafFall linear infinite;
}

@keyframes leafFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    100% { transform: translateY(100vh) translateX(80px) rotate(540deg); opacity: 0; }
}

/* --- Valentine's Day: Hearts --- */

.seasonal-heart {
    position: absolute;
    top: -30px;
    color: #ef4444;
    font-size: 16px;
    opacity: 0;
    animation: heartFloat linear infinite;
    text-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

@keyframes heartFloat {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    15% { opacity: 0.6; }
    100% { transform: translateY(100vh) scale(1.2) rotate(20deg); opacity: 0; }
}

/* --- Halloween: Pumpkins --- */

.seasonal-pumpkin {
    position: fixed;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    animation: pumpkinGlow 3s ease-in-out infinite alternate;
}

.seasonal-pumpkin .body {
    width: 32px;
    height: 26px;
    background: #f57c00;
    border-radius: 50%;
    position: relative;
}

.seasonal-pumpkin .body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #4a2e16;
    border-radius: 2px;
}

.seasonal-pumpkin .body::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 6px;
    right: 6px;
    height: 2px;
    background: #e65100;
    box-shadow: 0 6px 0 #e65100, 10px 0 0 #e65100, 10px 6px 0 #e65100;
}

@keyframes pumpkinGlow {
    from { filter: drop-shadow(0 0 4px rgba(245, 124, 0, 0.3)); }
    to { filter: drop-shadow(0 0 12px rgba(245, 124, 0, 0.6)); }
}

/* Halloween: Bats */
.seasonal-bat {
    position: absolute;
    width: 16px;
    height: 8px;
    opacity: 0;
    animation: batFly linear infinite;
}

@keyframes batFly {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.6; }
    50% { transform: translate(50vw, -30px); opacity: 0.8; }
    90% { opacity: 0.6; }
    100% { transform: translate(100vw, 20px); opacity: 0; }
}

/* --- New Year: Fireworks --- */

.seasonal-firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    animation: fireworkBurst ease-out infinite;
}

@keyframes fireworkBurst {
    0% { transform: scale(0); opacity: 1; box-shadow: 0 0 0 0 currentColor; }
    100% { transform: scale(1); opacity: 0; box-shadow: 0 0 0 40px transparent; }
}

/* --- Seasonal body classes (color overrides) --- */

body.season-winter { --seasonal-accent: #7dd3fc; }
body.season-spring { --seasonal-accent: #f9a8d4; }
body.season-summer { --seasonal-accent: #fbbf24; }
body.season-autumn { --seasonal-accent: #f97316; }

body.season-winter .voxel-cube { background: var(--seasonal-accent) !important; }
body.season-spring .voxel-cube { background: var(--seasonal-accent) !important; }
body.season-summer .voxel-cube { background: var(--seasonal-accent) !important; }
body.season-autumn .voxel-cube { background: var(--seasonal-accent) !important; }

/* Winter: tree leaves turn white (snow) */
body.season-winter .voxel-tree .leaves .leaf { background: #e0e0e0 !important; }
body.season-winter .voxel-tree .leaves .leaf:nth-child(7),
body.season-winter .voxel-tree .leaves .leaf:nth-child(8),
body.season-winter .voxel-tree .leaves .leaf:nth-child(9),
body.season-winter .voxel-tree .leaves .leaf:nth-child(12),
body.season-winter .voxel-tree .leaves .leaf:nth-child(13),
body.season-winter .voxel-tree .leaves .leaf:nth-child(14),
body.season-winter .voxel-tree .leaves .leaf:nth-child(17),
body.season-winter .voxel-tree .leaves .leaf:nth-child(18),
body.season-winter .voxel-tree .leaves .leaf:nth-child(19) { background: #c0c0c0 !important; }

/* Autumn: tree leaves turn orange/brown */
body.season-autumn .voxel-tree .leaves .leaf { background: #f97316 !important; }
body.season-autumn .voxel-tree .leaves .leaf:nth-child(7),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(8),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(9),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(12),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(13),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(14),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(17),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(18),
body.season-autumn .voxel-tree .leaves .leaf:nth-child(19) { background: #c2410c !important; }

/* Spring: tree leaves turn light green/pink */
body.season-spring .voxel-tree .leaves .leaf { background: #86efac !important; }
body.season-spring .voxel-tree .leaves .leaf:nth-child(7),
body.season-spring .voxel-tree .leaves .leaf:nth-child(8),
body.season-spring .voxel-tree .leaves .leaf:nth-child(9),
body.season-spring .voxel-tree .leaves .leaf:nth-child(12),
body.season-spring .voxel-tree .leaves .leaf:nth-child(13),
body.season-spring .voxel-tree .leaves .leaf:nth-child(14),
body.season-spring .voxel-tree .leaves .leaf:nth-child(17),
body.season-spring .voxel-tree .leaves .leaf:nth-child(18),
body.season-spring .voxel-tree .leaves .leaf:nth-child(19) { background: #4ade80 !important; }

/* Summer: tree leaves brighter green */
body.season-summer .voxel-tree .leaves .leaf { background: #22c55e !important; }
body.season-summer .voxel-tree .leaves .leaf:nth-child(7),
body.season-summer .voxel-tree .leaves .leaf:nth-child(8),
body.season-summer .voxel-tree .leaves .leaf:nth-child(9),
body.season-summer .voxel-tree .leaves .leaf:nth-child(12),
body.season-summer .voxel-tree .leaves .leaf:nth-child(13),
body.season-summer .voxel-tree .leaves .leaf:nth-child(14),
body.season-summer .voxel-tree .leaves .leaf:nth-child(17),
body.season-summer .voxel-tree .leaves .leaf:nth-child(18),
body.season-summer .voxel-tree .leaves .leaf:nth-child(19) { background: #16a34a !important; }

/* Winter: ground grass turns white (snow) */
body.season-winter .voxel-ground .grass { background: #e0e0e0 !important; }
body.season-winter .voxel-ground .grass:nth-child(odd) { background: #c0c0c0 !important; }

/* Autumn: ground grass turns yellowish */
body.season-autumn .voxel-ground .grass { background: #a8843c !important; }
body.season-autumn .voxel-ground .grass:nth-child(odd) { background: #8a6a2c !important; }

/* Spring: ground grass brighter */
body.season-spring .voxel-ground .grass { background: #4ade80 !important; }
body.season-spring .voxel-ground .grass:nth-child(odd) { background: #22c55e !important; }

/* Seasonal banner */
.seasonal-banner {
    position: fixed;
    top: 70px;
    right: 16px;
    z-index: 50;
    padding: 8px 16px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    pointer-events: none;
    animation: bannerFadeIn 1s ease 0.5s both;
}

.seasonal-banner .season-emoji {
    margin-right: 6px;
    font-size: 14px;
}

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

@media (max-width: 900px) {
    .seasonal-banner {
        top: 60px;
        right: 8px;
        font-size: 10px;
        padding: 6px 12px;
    }

    .seasonal-snowman,
    .seasonal-pumpkin {
        transform: scale(0.7);
    }
}

@media (max-width: 600px) {
    .seasonal-snowman,
    .seasonal-pumpkin,
    .seasonal-flower {
        display: none;
    }
}
