/* ❄ Snowfall overlay */
#snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999997;
}

/* 🎅 Santa beside logo */
.logo-santa-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.santa-static {
    position: absolute;
    left: -90px;
    top: -10px;
    width: 120px;
    z-index: 9;
    pointer-events: none;
}

.custom-logo {
    position: relative;
    z-index: 10;
}

/* 🎄 Christmas glowing text */
.christmas-text {
    font-weight: bold;
    color: #ffffff;
    animation: lightsBlink 2s infinite alternate;
}

@keyframes lightsBlink {
    0% {
        text-shadow: 0 0 5px red, 0 0 10px green, 0 0 20px red;
    }
    100% {
        text-shadow: 0 0 5px green, 0 0 10px red, 0 0 20px green;
    }
}

/* ❄ Snow ground */
#snow-ground {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(
        to top,
        #fff 0%,
        rgba(255,255,255,0.9) 40%,
        rgba(255,255,255,0) 100%
    );
    z-index: 999996;
    pointer-events: none;
}

/* 🎅 Santa Sleigh – ALL DEVICES */
#santa-sleigh {
    position: fixed;
    top: 110px;
    left: -600px;
    width: 320px;
    z-index: 999995;
    pointer-events: none;
    animation: santaRide 8s linear forwards;
    will-change: transform;
}

#santa-sleigh img {
    width: 100%;
    height: auto;
}

/* One animation only */
@keyframes santaRide {
    from { left: -600px; }
    to   { left: 110%; }
}

/* ♿ Reduce motion */
@media (prefers-reduced-motion: reduce) {
    #snowfall,
    .christmas-text,
    #santa-sleigh {
        animation: none !important;
    }
}

/* 📱 Tablet & Mobile */
@media (max-width: 768px) {

    #snowfall {
        opacity: 0.6;
    }

    .santa-static {
        width: 70px;
        left: -45px;
        top: -5px;
    }

    .custom-logo img {
        max-width: 140px;
    }

    .christmas-text {
        font-size: 14px;
        animation-duration: 3s;
    }

    #snow-ground {
        height: 50px;
    }

    #santa-sleigh {
        top: 160px;
        width: 200px;
        animation-duration: 10s;
    }
}

/* 📱 Small phones */
@media (max-width: 480px) {

    .santa-static {
        width: 55px;
        left: -35px;
    }

    .christmas-text {
        font-size: 13px;
    }

    #santa-sleigh {
        top: 180px;
        width: 160px;
        animation-duration: 12s;
    }
}
