/* ============================================================================
   UPDIGEX — ANIMATIONS (pixel-perfect from original TailwindCSS source)
   ============================================================================ */

/* ── Keyframes from TailwindCSS animate-pulse / animate-bounce ── */

@keyframes udx-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

@keyframes udx-bounce {
  0%, 100% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(-6px);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes udx-fadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

@keyframes udx-glow-pulse {
  0%, 100% { box-shadow: 0 0 35px rgba(79, 70, 229, 0.4); }
  50%       { box-shadow: 0 0 55px rgba(79, 70, 229, 0.7); }
}

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

/* ── Utility classes ── */
.udx-animate-pulse  { animation: udx-pulse  2s ease-in-out infinite; }
.udx-animate-bounce { animation: udx-bounce 2s ease-in-out infinite; }
.udx-animate-fadein { animation: udx-fadeIn 0.25s ease-out forwards; }
.udx-glow-pulse     { animation: udx-glow-pulse 2.5s ease-in-out infinite; }

/* ── Reduced motion accessibility ── */
@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;
  }
  .udx-pulse-dot       { animation: none; opacity: 1; }
  .udx-fab__tip        { animation: none; }
  .udx-vsl__unmute     { animation: none; }
  .udx-vsl__unmute svg { animation: none; opacity: 1; }
}
