/* ==========================================================================
   FREEPIXELAI.COM - ANIMATIONS & TRANSITIONS
   ========================================================================== */

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(108, 92, 231, 0.45);
    }
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-float {
    animation: floatElement 4s ease-in-out infinite;
}

.animate-pulse {
    animation: pulseGlow 3s infinite;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
