/* Cinematic Fade In */
.animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1.2s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Floating Gold Dust Effect */
.dust-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.dust-particles::before,
.dust-particles::after {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background-image: radial-gradient(circle, rgba(250, 204, 21, 0.2) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: dustDrift 40s linear infinite;
}

.dust-particles::after {
    background-size: 150px 150px;
    animation-duration: 60s;
    animation-direction: reverse;
    opacity: 0.5;
}

@keyframes dustDrift {
    0% { transform: rotate(0deg) translate(0, 0); }
    100% { transform: rotate(360deg) translate(50px, 50px); }
}

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

@keyframes glowPulse {
    0% { box-shadow: 0 0 30px rgba(250, 204, 21, 0.05); }
    100% { box-shadow: 0 0 50px rgba(250, 204, 21, 0.2); }
}

/* Torchlight Flicker Effect on Text */
.torch-text {
    animation: torchFlicker 5s infinite alternate;
}

@keyframes torchFlicker {
    0% { text-shadow: 0 0 10px rgba(250, 204, 21, 0.2); }
    25% { text-shadow: 0 0 15px rgba(212, 160, 23, 0.4); }
    50% { text-shadow: 0 0 8px rgba(250, 204, 21, 0.1); }
    75% { text-shadow: 0 0 20px rgba(255, 224, 138, 0.3); }
    100% { text-shadow: 0 0 12px rgba(212, 160, 23, 0.5); }
}