/* Animation System */

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

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

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

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

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

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px var(--soft-glow); }
    50% { box-shadow: 0 0 40px rgba(245, 158, 11, 0.4); }
    100% { box-shadow: 0 0 20px var(--soft-glow); }
}

.pulse-glow {
    animation: pulseGlow 4s infinite;
}

/* Background Particles */
.particle {
    position: absolute;
    background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: drift linear infinite;
}

@keyframes drift {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1.5);
        opacity: 0;
    }
}