/* ============================================
   ELECTRIC NIGHT — Animations & Keyframes
   ============================================ */

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

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

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body { animation: pageFadeIn 600ms cubic-bezier(0.25, 1, 0.5, 1); }

@keyframes heroRise {
  0% { opacity: 0; transform: translateY(110%); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__title-line span {
  animation: heroRise 1.2s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero__title-line:nth-child(1) span { animation-delay: 250ms; }
.hero__title-line:nth-child(2) span { animation-delay: 420ms; }
.hero__title-line:nth-child(3) span { animation-delay: 590ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.ticker { animation: fadeUp 500ms 0ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.nav { animation: fadeUp 600ms 100ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.hero__meta { animation: fadeUp 800ms 150ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.hero__lede { animation: fadeUp 800ms 800ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.hero__ctas { animation: fadeUp 800ms 950ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.hero__bottom { animation: fadeUp 800ms 1100ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.hero__numeral { animation: fadeUp 1200ms 1300ms cubic-bezier(0.25, 1, 0.5, 1) both; }
.fab-whatsapp { animation: fabPulse 2.5s ease-out infinite, fadeUp 600ms 1500ms cubic-bezier(0.25, 1, 0.5, 1) both; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(2%, -2%); }
  66% { transform: translate(-1%, 1%); }
}

.hero__gradient { animation: float 22s ease-in-out infinite; }

.count-up { display: inline-block; }

.stagger > * { opacity: 0; transform: translateY(20px); }

.stagger.is-revealed > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms var(--ease-out-quart),
              transform 700ms var(--ease-out-quart);
}

.stagger.is-revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-revealed > *:nth-child(2) { transition-delay: 80ms; }
.stagger.is-revealed > *:nth-child(3) { transition-delay: 160ms; }
.stagger.is-revealed > *:nth-child(4) { transition-delay: 240ms; }
.stagger.is-revealed > *:nth-child(5) { transition-delay: 320ms; }
.stagger.is-revealed > *:nth-child(6) { transition-delay: 400ms; }
.stagger.is-revealed > *:nth-child(7) { transition-delay: 480ms; }
.stagger.is-revealed > *:nth-child(8) { transition-delay: 560ms; }

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 16px rgba(0, 212, 255, 0.4); }
  50% { text-shadow: 0 0 28px rgba(0, 212, 255, 0.7), 0 0 8px rgba(0, 212, 255, 0.5); }
}

.hero__title-italic {
  animation: glowPulse 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body, .hero__title-line span, .hero__meta, .hero__lede, .hero__ctas,
  .hero__bottom, .hero__numeral, .nav, .ticker, .hero__gradient,
  .hero__title-italic, .skeleton, .fab-whatsapp {
    animation: none !important;
  }
  .stagger > * { opacity: 1; transform: none; }
}
