﻿.christmas-mode .christmas-logo {
    position: relative;
    display: inline-block;
}

.christmas-mode .christmas-logo .santa-hat {
        position: absolute;
        top: -23px;
        right: -18px;
        width: 38px;
        height: 38px;
        background: url('/assets/images/Festival/santa_hat.png') no-repeat center;
        background-size: contain;
        pointer-events: none;
    }
/* Snowflake Layer */
#snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Individual Snowflake */
.snowflake {
    position: absolute;
    top: -10px;
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
    animation-name: snow-fall, snow-drift;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite;
}

/* Falling animation */
@keyframes snow-fall {
    to {
        transform: translateY(100vh);
    }
}

/* Side drift */
@keyframes snow-drift {
    0% {
        margin-left: 0;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0;
    }
}

/* Viewport mask */
.santa-mask {
    position: absolute;
    top: 28%;
    left: 0;
    width: 100%;
    height: 220px;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
}

/* Moving container */
.santa-fly-wrapper {
    position: absolute;
    width: 1000px;
    height: 200px;
    /* Start outside right */
    transform: translateX(120vw);
    animation: santa-fly-across 10s linear forwards;
}

    /* Force Lottie size */
    .santa-fly-wrapper lottie-player {
        width: 100%;
        height: 100%;
    }

/* Permanent, stable animation */
@keyframes santa-fly-across {
    0% {
        transform: translateX(120vw);
    }

    100% {
        transform: translateX(-720px);
    }
}

/* Mobile safety */
@media (max-width: 991px) {
    .santa-mask {
        display: none;
    }
}


.top-right-lottie {
    position: fixed; 
    right: 40px;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 9998;
}

    .top-right-lottie lottie-player {
        width: 100%;
        height: 100%;
    }

/* Hide on mobile */
@media (max-width: 991px) {
    .top-right-lottie {
        display: none;
    }
}
