/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Frame Glow */
.glow-pulse {
    animation: breathingGlow 4s ease-in-out infinite alternate;
}

@keyframes breathingGlow {
    0% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1), inset 0 0 10px rgba(0,0,0,0.8);
    }
    100% {
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(0,0,0,0.8);
    }
}

/* Floating Sand Particles Effect (Applied via CSS to save JS) */
.sand-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.sand-particles::before, .sand-particles::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.4) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
    animation: drift 60s linear infinite;
}

.sand-particles::after {
    background-size: 60px 60px;
    opacity: 0.2;
    animation: drift 40s linear infinite reverse;
}

@keyframes drift {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    100% {
        transform: rotate(5deg) translate(-50px, -50px);
    }
}

/* Subtle image parallax zoom */
.slow-zoom {
    animation: zoomInBg 20s linear infinite alternate;
}

@keyframes zoomInBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}