/* ============================================================
   SFS Theme — Animations & Motion
   ============================================================ */

@keyframes sfs-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes sfs-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes sfs-slide-down {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes sfs-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

@keyframes sfs-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Utility animation classes */
.sfs-animate-fade-in   { animation: sfs-fade-in   var(--animation-normal) both; }
.sfs-animate-slide-up  { animation: sfs-slide-up  var(--animation-normal) both; }
.sfs-animate-slide-down{ animation: sfs-slide-down var(--animation-normal) both; }
.sfs-animate-pulse     { animation: sfs-pulse 2s infinite; }
.sfs-animate-spin      { animation: sfs-spin 1s linear infinite; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
