/* ── Estado inicial para animaciones GSAP ── */
/* Estos elementos empiezan invisibles y GSAP los anima al entrar viewport */

.will-reveal {
  opacity: 0;
}

/* Cursor magnético */
#cursor-magnetic {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(31, 44, 76, 0.8);
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 400ms var(--ease-premium),
              height 400ms var(--ease-premium),
              opacity 300ms ease;
}

#cursor-magnetic.expanded {
  width: 48px;
  height: 48px;
}

#cursor-magnetic.hidden {
  opacity: 0;
}

/* Overlay de flash para el impacto del hero */
#hero-flash-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 5;
}

/* Microhint "Desliza suave" + flecha — centrado en el hero */
.hero-microhint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

.hero-microhint-texto {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Línea cyan decorativa bajo contadores */
.counter-line {
  display: block;
  width: 0;
  height: 2px;
  background: var(--blue-glow);
  margin-top: 0.5rem;
}

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