/* ==========================================================================
   CULTURALI - ANIMATIONS & MOTION SYSTEM (Cinematic & Micro-interactions)
   ========================================================================== */

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.25), 0 0 35px rgba(139, 92, 246, 0.15);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(0, 255, 255, 0.5), 0 0 55px rgba(139, 92, 246, 0.35);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.25), 0 0 35px rgba(139, 92, 246, 0.15);
    transform: scale(1);
  }
}

@keyframes orbRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes liveDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pipelineFlash {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animate-live-dot {
  animation: liveDotPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

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

.fade-in {
  animation: fadeInScale 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@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;
  }
}
