/* Core Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(245, 197, 66, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(245, 197, 66, 0.3);
    }
    100% {
        box-shadow: 0 0 10px rgba(245, 197, 66, 0.1);
    }
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

/* Ensure animated elements remain fully visible after animation completes */
.animate-slide-up.animation-done,
section .animate-slide-up {
    animation-fill-mode: forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

.status-dot {
    animation: statusPulse 2s infinite;
}

/* 
 * NOTE: Removed the .game-wrapper:hover pulseGlow animation.
 * The hover-triggered box-shadow animation combined with backdrop-filter
 * was causing the iframe game to visually disappear or become
 * unresponsive when users interacted with it.
 * A static glow is already defined in style.css via --shadow-glow-gold.
 */