@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@500;600;700;800;900&display=swap');

/* ============================================================
   THEME — SPORTSURGE AMBER + SAPPHIRE + ROSÉ
   ============================================================ */
:root {
  --bg: #0a0e1a;
  --bg2: #111729;
  --panel: rgba(25, 33, 55, 0.55);
  --panel2: #161d33;
  --panel3: #1f2841;
  --text: #f3f6ff;
  --muted: #8b97b8;
  --line: rgba(139, 151, 184, 0.15);

  --amber: #f59e0b;
  --amber2: #fbbf24;
  --amber3: #fcd34d;
  --sapphire: #3b82f6;
  --sapphire2: #60a5fa;
  --sapphire3: #93c5fd;
  --rose: #f43f5e;
  --rose2: #fb7185;
  --gold: #fbbf24;
  --live: #ef4444;
  --live2: #f87171;

  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-sapphire: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --grad-amber-sapphire: linear-gradient(135deg, #f59e0b 0%, #3b82f6 100%);
  --grad-rose-amber: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
  --grad-neon: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #3b82f6 100%);
  --grad-live: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse at 15% -10%, rgba(245, 158, 11, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 5%, rgba(59, 130, 246, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(244, 63, 94, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0a0e1a 0%, #111729 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
.container { width: min(1280px, 94%); margin: auto; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-ring {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--grad-amber-sapphire);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  animation: brandRing 4s linear infinite;
}
@keyframes brandRing {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(30deg); }
}

.brand-core {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-text { color: var(--text); }
.brand-text em {
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  transition: all .2s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap;
  border: 1px solid transparent;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}
.nav-link.active {
  color: #fff;
  background: var(--grad-amber);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.live-link {
  color: #fff;
  background: var(--grad-live);
  padding: 9px 16px;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
  border: none;
}
.live-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.6);
  background: var(--grad-live);
  border-color: transparent;
  color: #fff;
}
.live-link.active {
  background: var(--grad-live);
  color: #fff;
}

.live-dot-small {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: livePulseSmall 1.2s infinite;
  box-shadow: 0 0 8px #fff;
}
@keyframes livePulseSmall {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.6); }
}

.menu-toggle {
  display: none;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--panel3); border-color: var(--amber); }

/* ============================================================
   HERO
   ============================================================ */
.page-title {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--amber3);
  padding: 7px 18px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.08);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: heroDot 1.5s infinite;
}
@keyframes heroDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.page-title h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 6.5vw, 84px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 0 20px;
  color: var(--text);
  max-width: 900px;
  margin-inline: auto;
}

.page-title h1 em {
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.hero-tagline {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.6;
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 32px;
  font-weight: 500;
}
.hero-sub #heroCount {
  color: var(--amber3);
  font-weight: 800;
  font-size: 16px;
}

.hero-stats {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 22px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: all .25s;
  min-width: 110px;
}
.stat:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.15);
}
.stat strong {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--grad-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 48px 0; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--amber3);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-heading h2 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading h2::before {
  content: '';
  width: 4px;
  height: 26px;
  background: var(--grad-amber-sapphire);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

.section-hint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-top: 4px;
}

.tools { display: flex; gap: 10px; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-ico {
  position: absolute;
  left: 16px;
  font-size: 15px;
  pointer-events: none;
  color: var(--muted);
  font-weight: 700;
}
.search-box input { padding-left: 42px !important; border-radius: 100px !important; }

.tools input, .tools select {
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 100px;
  min-width: 200px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  transition: all .25s;
}
.tools input:focus, .tools select:focus {
  border-color: var(--amber);
  background: var(--panel3);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.tools input::placeholder { color: var(--muted); }

/* ============================================================
   LEAGUE FILTERS — Tile Cards
   ============================================================ */
.league-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.league {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--muted);
  cursor: pointer;
  transition: all .25s cubic-bezier(.2, .8, .2, 1);
  font-family: inherit;
  text-align: left;
  overflow: hidden;
}

.league:hover {
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15);
  background: var(--panel3);
}
.league:hover .league-icon {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.league.active {
  background: var(--grad-amber-sapphire);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
  font-weight: 700;
}
.league.active .league-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: transparent;
}
.league.active .league-count {
  color: rgba(255, 255, 255, 0.9);
}
.league.active .league-name-text { color: #fff; }

.league-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  transition: all .25s;
}

.league-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.league-name-text {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.league-count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--amber3);
  text-transform: uppercase;
}

/* ============================================================
   EVENT GRID — Glass Cards
   ============================================================ */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(155deg, rgba(22, 29, 51, 0.85) 0%, rgba(31, 40, 65, 0.55) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Amber-Sapphire gradient top bar */
.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-amber-sapphire);
  opacity: 0.3;
  transition: opacity .3s;
}

/* Bottom-right glow blob */
.event-card::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  background: var(--grad-amber-sapphire);
  border-radius: 50%;
  opacity: 0;
  filter: blur(55px);
  transition: opacity .4s;
  pointer-events: none;
}

.event-card:hover {
  border-color: rgba(245, 158, 11, 0.45);
  transform: translateY(-6px);
  background: linear-gradient(155deg, rgba(31, 40, 65, 0.95) 0%, rgba(44, 55, 85, 0.7) 100%);
  box-shadow:
    0 20px 45px -10px rgba(0, 0, 0, 0.7),
    0 0 45px rgba(245, 158, 11, 0.18);
}
.event-card:hover::before { opacity: 1; }
.event-card:hover::after { opacity: 0.35; }

.event-card.is-live {
  border-color: rgba(239, 68, 68, 0.5);
  background: linear-gradient(155deg, #1f0e15 0%, #2a121c 100%);
}
.event-card.is-live::before {
  background: var(--grad-live);
  opacity: 1;
}
.event-card.is-live::after {
  background: var(--grad-live);
}

.event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.event-head > div {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber3);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-badge {
  color: #fff;
  background: var(--grad-live);
  font-weight: 800;
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.6px;
  animation: livePulse 1.2s infinite;
  display: inline-block;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
  text-transform: uppercase;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.ft-badge {
  color: var(--muted);
  background: rgba(139, 151, 184, 0.1);
  font-weight: 800;
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  display: inline-block;
  text-transform: uppercase;
}

.event-time {
  font-size: 10px;
  font-weight: 700;
  color: var(--sapphire3);
  background: rgba(59, 130, 246, 0.08);
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.event-card.is-live .event-time {
  color: var(--live2);
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}

.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  min-width: 0;
}

.teams .team:last-child {
  flex-direction: column;
  text-align: center;
}

.team-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 9px;
  transition: all .35s cubic-bezier(.2, .8, .2, 1);
  position: relative;
}

.team-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--grad-amber-sapphire);
  opacity: 0;
  filter: blur(10px);
  transition: opacity .3s;
  z-index: -1;
}

.event-card:hover .team-icon {
  border-color: var(--amber);
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}
.event-card:hover .team-icon::after { opacity: 0.6; }

.event-card.is-live:hover .team-icon {
  border-color: var(--live);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}
.event-card.is-live:hover .team-icon::after {
  background: var(--grad-live);
}

.team-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.team-icon span { font-size: 22px; }

.team-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  letter-spacing: -0.01em;
  max-width: 100%;
}

.versus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  font-size: 11px;
  font-weight: 800;
  color: var(--amber2);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: all .4s cubic-bezier(.2, .8, .2, 1);
  position: relative;
}
.versus::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--grad-amber-sapphire);
  opacity: 0;
  filter: blur(12px);
  transition: opacity .3s;
  z-index: -1;
}

.event-card:hover .versus {
  border-color: var(--sapphire);
  border-style: solid;
  color: var(--sapphire3);
  transform: rotate(-15deg) scale(1.1);
}
.event-card:hover .versus::before { opacity: 0.8; }

.event-card.is-live .versus {
  color: var(--live);
  border-color: rgba(239, 68, 68, 0.5);
}

.event-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.league-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.league-name::before {
  content: '🏆';
  font-size: 11px;
  opacity: 0.7;
  flex-shrink: 0;
}

.event-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--grad-amber-sapphire);
  border: 1px solid transparent;
  transition: all .25s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}
.event-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
}
.event-card.is-live .event-link {
  background: var(--grad-live);
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.35);
}
.event-card.is-live .event-link:hover {
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.55);
}

.empty {
  text-align: center;
  padding: 70px 40px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
  font-size: 14px;
  background: var(--panel2);
  grid-column: 1 / -1;
}
.empty strong { color: var(--amber3); font-weight: 800; }
.hidden { display: none; }

/* ============================================================
   ABOUT / FOOTER
   ============================================================ */
.about {
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
  padding: 60px 0;
}
.about h2 {
  color: var(--text);
  margin-bottom: 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about h2::before {
  content: '';
  width: 4px;
  height: 26px;
  background: var(--grad-amber-sapphire);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-size: 12px;
  background: rgba(10, 14, 26, 0.6);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   PLAYER PAGE
   ============================================================ */
.player-page { padding: 52px 0; }

.player-top h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(30px, 4.5vw, 50px);
  margin: 16px 0 12px;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--text);
}
.player-top p { color: var(--muted); font-size: 14px; font-weight: 500; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--amber3);
  font-weight: 800;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--grad-amber-sapphire);
}

.player-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  margin-top: 32px;
}

.video-shell, .side-panel {
  background: linear-gradient(155deg, rgba(22, 29, 51, 0.85) 0%, rgba(31, 40, 65, 0.55) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: #05070e;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.video-placeholder iframe {
  width: 100%; height: 100%; border: 0;
}
.video-placeholder h2 { margin: 0; font-size: 18px; font-weight: 800; }
.video-placeholder p { color: var(--muted); font-size: 13px; margin-top: 8px; }

.play-symbol {
  font-size: 48px;
  background: var(--grad-amber-sapphire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  animation: pulsePlay 2s ease-in-out infinite;
}
@keyframes pulsePlay {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.12); opacity: 0.85; }
}

.server-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.server {
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}
.server:hover {
  border-color: var(--amber);
  color: var(--text);
  background: var(--panel3);
}
.server.active {
  border-color: transparent;
  color: #fff;
  background: var(--grad-amber-sapphire);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.side-panel h3 {
  margin-top: 0;
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
}
.side-panel h3::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--grad-amber-sapphire);
  border-radius: 3px;
}
.side-panel p {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.side-panel p strong {
  color: var(--text);
  font-weight: 700;
  min-width: 70px;
}
.side-panel p:last-of-type { border-bottom: none; }

.full { width: 100%; text-align: center; margin-top: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  background: var(--grad-amber-sapphire);
  color: #fff;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  text-transform: uppercase;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.55);
}

/* ============================================================
   ARTICLE SECTION
   ============================================================ */
.article-section {
  border-top: 1px solid var(--line);
  padding-top: 55px;
  margin-top: 20px;
}

.article-header {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.article-header h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 16px auto 22px;
  max-width: 900px;
  color: var(--text);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 10px;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  color: #c4cce0;
  font-size: 15.5px;
  line-height: 1.85;
}
.article-body .lead {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text);
  padding: 22px 24px;
  background: var(--panel2);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  margin-bottom: 34px;
  box-shadow: -4px 0 20px rgba(245, 158, 11, 0.12);
}
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin: 46px 0 18px;
  letter-spacing: -0.03em;
  line-height: 1.25;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--grad-amber-sapphire);
  border-radius: 3px;
}
.article-body h3 {
  color: var(--amber3);
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px 22px;
  color: #c4cce0;
}
.article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
  padding-left: 6px;
}
.article-body li::marker {
  color: var(--amber3);
  font-weight: 800;
}
.article-body strong { color: #ffffff; font-weight: 700; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  transition: all .25s;
}
.tag-pill:hover {
  background: var(--grad-amber-sapphire);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-link { padding: 8px 11px; font-size: 12px; }
}

@media (max-width: 900px) {
  .player-layout { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #111729;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  }
  .main-nav.open { display: flex; }
  .nav-link { justify-content: flex-start; padding: 13px 16px; font-size: 14px; }
  .live-link { justify-content: center; }
}

@media (max-width: 700px) {
  .page-title { padding: 55px 0 40px; }
  .page-title h1 { font-size: 40px; }
  .hero-tagline { font-size: 15px; }
  .hero-stats { gap: 8px; }
  .stat { padding: 12px 18px; min-width: 90px; }
  .stat strong { font-size: 18px; }

  .event-grid { grid-template-columns: 1fr; }
  .league-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  .article-section { padding-top: 40px; }
  .article-header h1 { font-size: 24px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 22px; }
  .article-body h3 { font-size: 16px; }
}

@media (max-width: 600px) {
  .page-title { padding: 45px 0 34px; }
  .page-title h1 { font-size: 34px; }
  .hero-tagline { font-size: 14px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .tools { flex-direction: column; }
  .tools input, .tools select { width: 100%; min-width: unset; }
  .search-box { width: 100%; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .player-top h1 { font-size: 28px; }
  .video-shell, .side-panel { padding: 16px; }
  .event-bottom { flex-direction: column; align-items: stretch; }
  .event-link { width: 100%; }
  .league-grid { grid-template-columns: 1fr 1fr; }
}