/* ═══════════════════════════════
   VOICEGAB ANIMATIONS v1.0
═══════════════════════════════ */

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ─── Float ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }
.animate-float-slow { animation: float 7s ease-in-out infinite; animation-delay: -2s; }

/* ─── Spin Slow ─── */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.animate-spin-slow { animation: spin-slow 20s linear infinite; }

/* ─── Gradient Shift ─── */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

/* ─── Glow Pulse ─── */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(124,58,237,0.3); }
  50%       { box-shadow: 0 0 80px rgba(124,58,237,0.7); }
}
.animate-glow { animation: glow-pulse 3s ease-in-out infinite; }

/* ─── Number Ticker ─── */
.number-ticker { display: inline-block; }

/* ─── Shimmer ─── */
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  background-size: 200%;
  animation: shimmer 2.5s infinite;
}

/* ─── Fade In Up ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.16,1,0.3,1) forwards; }

/* ─── Scale In ─── */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-scale-in { animation: scaleIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards; }

/* ─── Orbit ─── */
@keyframes orbit {
  from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
