/* Animations & Effects - Keyframes, Transitions, Hover Effects */

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll[data-animation-direction="left"] {
    transform: translateX(-100px);
}

.animate-on-scroll[data-animation-direction="right"] {
    transform: translateX(100px);
}

.animate-on-scroll[data-animation-direction="up"] {
    transform: translateY(50px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Keyframe Animations */
@keyframes pulse-vertical-up {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -8px);
    }
}

@keyframes pulse-vertical-down {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 8px);
    }
}

@keyframes wizard-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes selected-pulse {
    0%, 100% {
        filter: drop-shadow(0 6px 16px rgba(249,115,22,0.6));
    }
    50% {
        filter: drop-shadow(0 8px 20px rgba(249,115,22,0.8));
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes token-pulse {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes staff-success {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    60% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scanline {
    0% {
        top: 14%;
        opacity: .7;
    }
    50% {
        top: 76%;
        opacity: 1;
    }
    100% {
        top: 14%;
        opacity: .7;
    }
}

/* Status Message Animations */
#staff-qr-status {
    color: rgba(230,238,248,0.75) !important;
}