/* ══════════════════════════════════════════════════════════════
   ANIMATIONS — Ticker, Float, Bounce, Pulse, Counter
   ══════════════════════════════════════════════════════════════ */

/* ── Ticker Scroll (feature strip + payout feed) ── */

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-wrap {
  overflow: hidden;
  width: 100%;
}

.ticker-inner {
  display: flex;
  animation: ticker-scroll 48s linear infinite;
  width: max-content;
}

.ticker-inner--fast {
  animation-duration: 35s;
}

.ticker-wrap:hover .ticker-inner {
  animation-play-state: paused;
}

/* ── Float (hero device mockup) ── */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* ── Bounce (scroll indicator) ── */

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.bounce-anim {
  animation: bounce 2s ease-in-out infinite;
}

/* ── Pulse Dot (label pill) ── */

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 6px var(--clr-red);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 12px var(--clr-red), 0 0 20px rgba(255,78,70,0.3);
    opacity: 0.8;
  }
}

/* ── Feature Strip (FXIFY-style horizontal with icons) ── */

.feature-strip {
  width: 100%;
  min-height: 52px;
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.feature-strip-inner {
  width: 100%;
  overflow: hidden;
}

.feature-strip .ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.feature-strip .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 14px 24px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 13px;
  color: var(--clr-muted);
}

.feature-strip .feature-icon {
  flex-shrink: 0;
  color: var(--clr-red);
  opacity: 0.9;
}

/* ── Payout Feed Ticker ── */

.payout-feed {
  overflow: hidden;
  padding: 32px 0;
}

.payout-feed-inner {
  display: flex;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
}

.payout-feed:hover .payout-feed-inner {
  animation-play-state: paused;
}

/* ── Counter animation handled via JS ── */

[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ── Reduced Motion Override ── */

@media (prefers-reduced-motion: reduce) {
  .ticker-inner,
  .payout-feed-inner {
    animation: none !important;
  }

  .float-anim,
  .bounce-anim {
    animation: none !important;
  }
}
