/* ==========================================================================
   OCULUM 360 · Animaciones CSS (complementan a GSAP)
   Solo transform/opacity/stroke-dashoffset. Se desactivan con
   prefers-reduced-motion o con la clase .is-lite (equipos de baja potencia).
   ========================================================================== */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }

.scroll-cue-line::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, #fff, transparent);
  animation: cue 2.2s var(--ease-out) infinite;
}
.hv-particles i { animation: twinkle var(--tw, 3s) ease-in-out infinite; animation-delay: var(--td, 0s); }
.hv-emblem-shine { animation: shine 7s ease-in-out 3s infinite; }


/* Revelados por scroll (estado inicial lo establece GSAP, no CSS, para que
   el contenido siga visible si JS/GSAP no cargan). */

/* --------- Movimiento reducido / baja potencia --------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scroll-cue-line::after, .hv-particles i, .hv-emblem-shine { animation: none !important; }
}
.is-lite .hv-particles, .is-lite .hv-emblem-shine, .is-lite .hero-beam { display: none; }
.is-lite .float-card, .is-lite .glass, .is-lite .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-lite .hero-glow { filter: blur(30px); }
