/**
 * Rs Christmas Santa - Sleigh Fly-Across CSS
 */

/* Sleigh container */
.rs-sleigh-container {
    position: fixed;
    top: 8%;
    z-index: 99985;
    pointer-events: none;
    white-space: nowrap;
    font-size: 48px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    opacity: 0;
}

/* Left to Right */
.rs-sleigh-container--ltr {
    animation: rs-sleigh-fly-ltr var(--rs-sleigh-speed, 12s) linear forwards;
}

/* Right to Left */
.rs-sleigh-container--rtl {
    animation: rs-sleigh-fly-rtl var(--rs-sleigh-speed, 12s) linear forwards;
}

.rs-sleigh-emoji {
    display: inline-block;
}

/* Gentle floating bob */
.rs-sleigh-container .rs-sleigh-inner {
    display: inline-block;
    animation: rs-sleigh-bob 2s ease-in-out infinite;
}

@keyframes rs-sleigh-fly-ltr {
    0% {
        left: -300px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: calc(100vw + 300px);
        opacity: 0;
    }
}

@keyframes rs-sleigh-fly-rtl {
    0% {
        right: -300px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        right: calc(100vw + 300px);
        opacity: 0;
    }
}

@keyframes rs-sleigh-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 600px) {
    .rs-sleigh-container {
        font-size: 32px;
        top: 5%;
    }
}
