/* Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Ambient Pulse (Game Container) */
@keyframes junglePulse {
    0% {
        box-shadow: 0 0 30px rgba(46, 204, 113, 0.05);
    }
    50% {
        box-shadow: 0 0 50px rgba(46, 204, 113, 0.15);
    }
    100% {
        box-shadow: 0 0 30px rgba(46, 204, 113, 0.05);
    }
}

.game-container {
    animation: junglePulse 4s infinite alternate;
}

/* Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(244, 208, 63, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: drift 60s linear infinite;
    opacity: 0.5;
}

@keyframes drift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 500px;
    }
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }