/* ══════════════════════════════════════════════════════
   Nepal Politics League — Custom CSS
   Works alongside Tailwind CDN
   ══════════════════════════════════════════════════════ */

/* ── Ticker (Breaking News) ─────────────────────────── */
.ticker-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.ticker-content:hover {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ── Thin scrollbar ─────────────────────────────────── */
.scrollbar-thin::-webkit-scrollbar { width: 4px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

/* ── Pitch background pattern ───────────────────────── */
body {
  background-color: #0f172a;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.01) 60px,
      rgba(255,255,255,0.01) 61px
    );
}

/* ── Card hover glow ────────────────────────────────── */
a.player-card:hover {
  box-shadow: 0 0 0 1px #f59e0b, 0 4px 20px rgba(245,158,11,0.15);
}

/* ── Animate.css overrides ──────────────────────────── */
.animate__faster { --animate-duration: 0.4s; }

/* ── Wicket flash ───────────────────────────────────── */
@keyframes wicket-flash {
  0%, 100% { background-color: transparent; }
  50%       { background-color: rgba(220, 38, 38, 0.2); }
}
.wicket-flash {
  animation: wicket-flash 1s ease-in-out 3;
}

/* ── Status pill ────────────────────────────────────── */
.status-active { color: #4ade80; font-weight: 700; }
.status-out    { color: #f87171; font-weight: 700; }
