/**
 * NeonCritic Cyber-Retro Design System & Match Ticker Styles
 * Milestone M4: Dark Graphite Canvas, Pulsing Neon Beacons, Glassmorphic Ticker & Cards
 *
 * @package NeonCritic
 */

/* ==========================================================================
   1. Design Tokens & Root Palette
   ========================================================================== */
:root {
  /* Core Design Tokens */
  --fr-bg: #090412;
  --fr-deep: #05020a;
  --fr-panel: #160a28;
  --fr-panel2: #1e0e36;
  --fr-panel-glass: rgba(22, 10, 40, 0.75);
  --fr-panel-border: rgba(0, 240, 255, 0.2);
  --fr-text: #fff7ff;
  --fr-muted: #c3afca;

  /* Neon Glow Accents */
  --fr-pink: #ff007f;
  --fr-cyan: #00f0ff;
  --fr-gold: #ffd700;
  --fr-lime: #39ff14;
  --fr-line: rgba(0, 240, 255, 0.25);

  /* Ticker Tokens */
  --nc-ticker-bg: #060811;
  --nc-ticker-panel: rgba(16, 23, 40, 0.85);
  --nc-ticker-border: rgba(0, 240, 255, 0.2);
  --nc-ticker-border-hover: rgba(0, 240, 255, 0.6);
  --nc-neon-cyan: #00f0ff;
  --nc-neon-pink: #ff007f;
  --nc-neon-gold: #ffd700;
  --nc-neon-lime: #39ff14;
  --nc-neon-crimson: #ff3366;
  --nc-text-main: #f5f5fa;
  --nc-text-muted: #94a3b8;

  /* Discipline Accent Tokens */
  /* CS2: Neon Amber / Gold */
  --nc-cs2-accent: #ffd700;
  --nc-cs2-glow: rgba(255, 215, 0, 0.4);
  --nc-cs2-glow-intense: rgba(255, 215, 0, 0.7);
  --nc-cs2-surface: rgba(255, 215, 0, 0.08);
  --nc-cs2-border: rgba(255, 215, 0, 0.35);

  /* Dota 2: Crimson / Red */
  --nc-dota2-accent: #ff1744;
  --nc-dota2-glow: rgba(255, 23, 68, 0.4);
  --nc-dota2-glow-intense: rgba(255, 23, 68, 0.7);
  --nc-dota2-surface: rgba(255, 23, 68, 0.08);
  --nc-dota2-border: rgba(255, 23, 68, 0.35);

  /* League of Legends: Electric Blue / Cyan */
  --nc-lol-accent: #00f0ff;
  --nc-lol-glow: rgba(0, 240, 255, 0.4);
  --nc-lol-glow-intense: rgba(0, 240, 255, 0.7);
  --nc-lol-surface: rgba(0, 240, 255, 0.08);
  --nc-lol-border: rgba(0, 240, 255, 0.35);

  /* Valorant: Neon Magenta / Pink */
  --nc-val-accent: #ff007f;
  --nc-val-glow: rgba(255, 0, 127, 0.4);
  --nc-val-glow-intense: rgba(255, 0, 127, 0.7);
  --nc-val-surface: rgba(255, 0, 127, 0.08);
  --nc-val-border: rgba(255, 0, 127, 0.35);

  /* Typography */
  --fr-head: Sora, Inter, sans-serif;
  --fr-body: "Be Vietnam Pro", Arial, sans-serif;
  --fr-mono: "Space Mono", monospace;
  --nc-font-mono: "Space Mono", monospace;
  --nc-font-head: Sora, Inter, sans-serif;
}

/* ==========================================================================
   2. Header Live Match Ticker Strip
   ========================================================================== */

.nc-match-ticker-strip {
  display: flex;
  align-items: center;
  height: 44px;
  background: var(--nc-ticker-bg);
  border-bottom: 1px solid var(--nc-ticker-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(0, 240, 255, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 9998;
  width: 100%;
}

/* Left Telemetry Lead Badge */
.nc-ticker-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  height: 100%;
  background: linear-gradient(90deg, #090e1d 0%, rgba(9, 14, 29, 0.92) 85%, transparent 100%);
  border-right: 1px solid rgba(0, 240, 255, 0.15);
  flex-shrink: 0;
  z-index: 10;
  font-family: var(--nc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--nc-text-main);
}

.nc-ticker-beacon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
}

.nc-beacon-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 0, 127, 0.45);
  animation: nc-beacon-pulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.nc-beacon-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nc-neon-pink);
  box-shadow: 0 0 8px var(--nc-neon-pink);
}

.nc-ticker-lead-text {
  color: var(--nc-neon-cyan);
  white-space: nowrap;
}

.nc-ticker-badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nc-badge-live {
  background: rgba(255, 0, 127, 0.22);
  color: #ff3377;
  border: 1px solid rgba(255, 0, 127, 0.5);
  box-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

.nc-badge-fixtures {
  background: rgba(0, 240, 255, 0.12);
  color: var(--nc-neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

/* Viewport and Marquee Track */
.nc-ticker-viewport {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.nc-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: nc-ticker-marquee 38s linear infinite;
  will-change: transform;
}

.nc-ticker-track:hover {
  animation-play-state: paused;
}

.nc-ticker-loop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  height: 100%;
}

/* Individual Ticker Card / Chip */
.nc-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  background: var(--nc-ticker-panel);
  border: 1px solid var(--nc-ticker-border);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nc-ticker-item:hover {
  border-color: var(--nc-ticker-border-hover);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
  background: rgba(22, 33, 56, 0.95);
  transform: translateY(-1px);
}

.nc-ticker-item.is-live {
  border-color: rgba(255, 0, 127, 0.4);
  box-shadow: inset 0 0 12px rgba(255, 0, 127, 0.08);
}

.nc-ticker-item.is-live:hover {
  border-color: var(--nc-neon-pink);
  box-shadow: 0 0 16px rgba(255, 0, 127, 0.35);
}

.nc-ticker-item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

/* Discipline Badges in Ticker */
.nc-ticker-discipline {
  font-family: var(--nc-font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.nc-disc-counter-strike-2, .nc-disc-cs2 {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.nc-disc-dota-2, .nc-disc-dota2 {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.nc-disc-league-of-legends, .nc-disc-lol {
  background: rgba(6, 182, 212, 0.18);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.nc-disc-valorant, .nc-disc-val {
  background: rgba(236, 72, 153, 0.18);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.nc-disc-esports {
  background: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Status Pills */
.nc-ticker-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--nc-font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  color: #ff3377;
  letter-spacing: 0.05em;
}

.nc-live-pulse-dot {
  width: 5px;
  height: 5px;
  background: #ff007f;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff007f;
  animation: ncBlink 1s infinite alternate;
}

.nc-ticker-time-pill {
  font-family: var(--nc-font-mono);
  font-size: 0.62rem;
  color: var(--nc-text-muted);
}

/* Teams and Scores */
.nc-ticker-teams {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
}

.nc-ticker-team {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nc-ticker-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
}

.nc-ticker-flag {
  font-size: 0.7rem;
  line-height: 1;
}

.nc-ticker-name {
  font-family: var(--nc-font-head);
  font-weight: 600;
  color: #e2e8f0;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-ticker-score-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
}

.nc-ticker-score-digit {
  font-family: var(--nc-font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--nc-neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.nc-ticker-colon {
  font-family: var(--nc-font-mono);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.nc-ticker-vs-text {
  font-family: var(--nc-font-mono);
  font-size: 0.62rem;
  color: var(--nc-text-muted);
  text-transform: lowercase;
}

/* Neutral Odds CTA Chip */
.nc-ticker-odds-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(255, 0, 127, 0.12));
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 4px;
  font-family: var(--nc-font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none !important;
  transition: all 0.18s ease;
  margin-left: 2px;
}

.nc-ticker-odds-chip:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(255, 0, 127, 0.35));
  border-color: var(--nc-neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.nc-ticker-odds-chip i {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--nc-neon-gold);
}

/* Right Tail Hub Action */
.nc-ticker-tail {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  background: linear-gradient(270deg, #090e1d 0%, rgba(9, 14, 29, 0.92) 85%, transparent 100%);
  border-left: 1px solid rgba(0, 240, 255, 0.15);
  flex-shrink: 0;
  z-index: 10;
}

.nc-ticker-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nc-neon-cyan);
  font-family: var(--nc-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  white-space: nowrap;
}

.nc-ticker-hub-btn:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--nc-neon-cyan);
}

.nc-ticker-hub-btn i {
  font-style: normal;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nc-ticker-hub-btn:hover i {
  transform: translateX(2px);
}

/* ==========================================================================
   3. Glassmorphic Card Styling & Animations
   ========================================================================== */

.nc-glass-match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  background: rgba(22, 10, 40, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  overflow: hidden;
}

.nc-glass-match-card:hover {
  transform: translateY(-4px);
  border-color: var(--fr-cyan);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.3);
}

/* Live Match Pulse Border */
.nc-glass-match-card.is-live {
  border-color: rgba(255, 0, 127, 0.6);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 0, 127, 0.25);
}

.nc-glass-match-card.is-live:hover {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 0, 127, 0.45);
}

/* ==========================================================================
   4. Discipline-Specific Theme Accents
   ========================================================================== */

/* CS2 (Amber / Gold) */
.nc-glass-match-card.nc-discipline-cs2,
.nc-glass-match-card.nc-discipline-counter-strike-2 {
  border-color: var(--nc-cs2-border);
}
.nc-glass-match-card.nc-discipline-cs2:hover,
.nc-glass-match-card.nc-discipline-counter-strike-2:hover {
  border-color: var(--nc-cs2-accent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 25px var(--nc-cs2-glow);
}
.nc-discipline-cs2 .nc-discipline-badge,
.nc-discipline-counter-strike-2 .nc-discipline-badge {
  border-color: var(--nc-cs2-accent);
  color: var(--nc-cs2-accent);
  background: var(--nc-cs2-surface);
}
.nc-discipline-cs2 .nc-odds-badge:hover,
.nc-discipline-counter-strike-2 .nc-odds-badge:hover {
  border-color: var(--nc-cs2-accent);
  box-shadow: 0 0 16px var(--nc-cs2-glow);
}

/* Dota 2 (Crimson / Red) */
.nc-glass-match-card.nc-discipline-dota2,
.nc-glass-match-card.nc-discipline-dota-2 {
  border-color: var(--nc-dota2-border);
}
.nc-glass-match-card.nc-discipline-dota2:hover,
.nc-glass-match-card.nc-discipline-dota-2:hover {
  border-color: var(--nc-dota2-accent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 25px var(--nc-dota2-glow);
}
.nc-discipline-dota2 .nc-discipline-badge,
.nc-discipline-dota-2 .nc-discipline-badge {
  border-color: var(--nc-dota2-accent);
  color: var(--nc-dota2-accent);
  background: var(--nc-dota2-surface);
}
.nc-discipline-dota2 .nc-odds-badge:hover,
.nc-discipline-dota-2 .nc-odds-badge:hover {
  border-color: var(--nc-dota2-accent);
  box-shadow: 0 0 16px var(--nc-dota2-glow);
}

/* League of Legends (Electric Cyan / Blue) */
.nc-glass-match-card.nc-discipline-lol,
.nc-glass-match-card.nc-discipline-league-of-legends {
  border-color: var(--nc-lol-border);
}
.nc-glass-match-card.nc-discipline-lol:hover,
.nc-glass-match-card.nc-discipline-league-of-legends:hover {
  border-color: var(--nc-lol-accent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 25px var(--nc-lol-glow);
}
.nc-discipline-lol .nc-discipline-badge,
.nc-discipline-league-of-legends .nc-discipline-badge {
  border-color: var(--nc-lol-accent);
  color: var(--nc-lol-accent);
  background: var(--nc-lol-surface);
}
.nc-discipline-lol .nc-odds-badge:hover,
.nc-discipline-league-of-legends .nc-odds-badge:hover {
  border-color: var(--nc-lol-accent);
  box-shadow: 0 0 16px var(--nc-lol-glow);
}

/* Valorant (Neon Magenta / Pink) */
.nc-glass-match-card.nc-discipline-valorant,
.nc-glass-match-card.nc-discipline-val {
  border-color: var(--nc-val-border);
}
.nc-glass-match-card.nc-discipline-valorant:hover,
.nc-glass-match-card.nc-discipline-val:hover {
  border-color: var(--nc-val-accent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.7), 0 0 25px var(--nc-val-glow);
}
.nc-discipline-valorant .nc-discipline-badge,
.nc-discipline-val .nc-discipline-badge {
  border-color: var(--nc-val-accent);
  color: var(--nc-val-accent);
  background: var(--nc-val-surface);
}
.nc-discipline-valorant .nc-odds-badge:hover,
.nc-discipline-val .nc-odds-badge:hover {
  border-color: var(--nc-val-accent);
  box-shadow: 0 0 16px var(--nc-val-glow);
}

/* ==========================================================================
   5. Animated Odds Badges with Hover Pulse
   ========================================================================== */

@keyframes nc-neon-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  }
}

.nc-card-odds-strip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.nc-odds-market-title {
  display: block;
  font: 700 0.65rem var(--fr-mono);
  color: var(--fr-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.nc-odds-badges-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nc-odds-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(14, 8, 26, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-family: var(--fr-mono);
  animation: nc-neon-pulse 3s infinite ease-in-out;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nc-odds-team-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fr-muted);
  text-transform: uppercase;
}

.nc-odds-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--fr-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nc-odds-badge:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--fr-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4) !important;
  transform: translateY(-2px);
}

.nc-odds-badge:hover .nc-odds-team-tag {
  color: #fff;
}

.nc-odds-badge:hover .nc-odds-num {
  color: #fff;
  text-shadow: 0 0 14px var(--fr-cyan);
}

/* ==========================================================================
   6. CRT Scanline Overlay Texture Utility
   ========================================================================== */

.nc-crt-scanlines {
  position: relative;
  overflow: hidden;
}

.nc-crt-scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.22) 0px,
    rgba(0, 0, 0, 0.22) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.65;
  z-index: 1;
}

@keyframes nc-scanline-sweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.nc-glass-match-card.is-live::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 240, 255, 0.08) 50%,
    transparent 100%
  );
  animation: nc-scanline-sweep 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   7. Schedule Timeline & Tournament Bracket Layout
   ========================================================================== */

.nc-schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.nc-schedule-date-group {
  background: rgba(14, 8, 26, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.nc-schedule-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(22, 10, 40, 0.85);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  font: 700 0.8rem var(--fr-mono);
  color: var(--fr-cyan);
  letter-spacing: 0.06em;
}

.nc-schedule-row {
  display: grid;
  grid-template-columns: 80px 140px 1fr 140px 140px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.nc-schedule-row:last-child {
  border-bottom: none;
}

.nc-schedule-row:hover {
  background: rgba(0, 240, 255, 0.04);
}

.nc-schedule-time {
  font: 700 0.85rem var(--fr-mono);
  color: var(--fr-muted);
}

.nc-schedule-discipline {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 0.75rem var(--fr-mono);
}

.nc-schedule-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff;
}

.nc-bracket-wrapper {
  overflow-x: auto;
  padding: 30px 10px;
  -webkit-overflow-scrolling: touch;
}

.nc-bracket-tree {
  display: flex;
  align-items: stretch;
  gap: 40px;
  min-width: 820px;
}

.nc-bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  gap: 24px;
}

.nc-bracket-round-title {
  text-align: center;
  font: 700 0.78rem var(--fr-mono);
  color: var(--fr-cyan);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nc-bracket-match {
  position: relative;
  background: rgba(22, 10, 40, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.nc-bracket-match:hover {
  border-color: var(--fr-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

.nc-bracket-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #fff;
}

.nc-bracket-team.is-winner {
  background: rgba(0, 240, 255, 0.12);
  color: var(--fr-cyan);
  font-weight: 700;
}

.nc-bracket-team .team-score {
  font-family: var(--fr-mono);
  font-weight: 800;
}

.nc-bracket-match::after {
  content: "";
  position: absolute;
  right: -21px;
  top: 50%;
  width: 20px;
  height: 2px;
  background: rgba(0, 240, 255, 0.3);
}

.nc-bracket-round:last-child .nc-bracket-match::after {
  display: none;
}

/* ==========================================================================
   8. Animation Keyframes (Kebab & CamelCase Aliases)
   ========================================================================== */

@keyframes nc-ticker-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes ncTickerMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes nc-beacon-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes ncBeaconPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes ncBlink {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ==========================================================================
   9. Responsive & Accessibility Adaptations
   ========================================================================== */

@media (max-width: 900px) {
  .nc-ticker-tail {
    display: none;
  }
}

@media (max-width: 768px) {
  .nc-match-ticker-strip {
    height: 40px;
  }

  .nc-ticker-lead {
    padding: 0 10px;
    font-size: 0.65rem;
  }

  .nc-ticker-lead-text {
    display: none;
  }

  /* Mobile touch swipe optimization */
  .nc-ticker-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .nc-ticker-viewport::-webkit-scrollbar {
    display: none;
  }

  .nc-ticker-track {
    animation: none;
  }

  .nc-ticker-item {
    scroll-snap-align: start;
    height: 30px;
  }

  .nc-odds-badges-group {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-ticker-track {
    animation: none !important;
  }

  .nc-beacon-pulse {
    animation: none !important;
    display: none;
  }

  .nc-live-pulse-dot,
  .nc-odds-badge {
    animation: none !important;
  }

  .nc-ticker-viewport {
    overflow-x: auto;
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   10. Nova Music Stream Navigation Link
   ========================================================================== */
.nova-music-nav {
  color: var(--fr-pink) !important;
  font-weight: 700 !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nova-music-nav:hover {
  color: #fff !important;
  text-shadow: 0 0 10px var(--fr-pink);
}

