/* ==========================================================================
   12BET NBA-Odds · Main Stylesheet
   Design direction: bet365 Hero + Pinnacle Odds Table hybrid
   ========================================================================== */

/* -------- Design Tokens -------- */
:root {
  /* Brand */
  --brand-red: #E30613;
  --brand-red-dark: #B00410;
  --brand-red-hover: #FF1926;
  --brand-blue: #1E4FD6;
  --brand-blue-dark: #0C3AAB;
  --brand-gold: #FFB300;

  /* Backgrounds */
  --bg-dark: #0A0E1A;
  --bg-mid: #141B2E;
  --bg-card: #1A2238;
  --bg-card-hover: #232C48;
  --bg-elev: #2A3454;

  /* Borders */
  --border: #2C3654;
  --border-light: #3A466A;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #B8C0D9;
  --text-muted: #7A8299;
  --text-dim: #5A6280;

  /* States */
  --live: #FF3E3E;
  --win: #00D26A;
  --warning: #FFB300;

  /* Sizing */
  --container: 1280px;
  --container-narrow: 1080px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-red: 0 8px 24px rgba(227, 6, 19, 0.35);

  /* Timing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------- Reset -------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', 'Noto Sans SC', 'Sarabun', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
:lang(zh-CN), :lang(zh) {
  font-family: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
}
:lang(th) {
  font-family: 'Sarabun', 'Inter', system-ui, sans-serif;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}
ul { list-style: none; }

/* -------- Utility -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
}
.hide-mobile { display: block; }
.show-mobile { display: none; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.45);
}
.btn-secondary {
  background: var(--brand-blue);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 32px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-logo-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--brand-red);
}
.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav a.active {
  color: var(--brand-red);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switcher {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.lang-switcher a {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}
.lang-switcher a.active {
  background: var(--brand-red);
  color: #fff;
}
.lang-switcher a:hover:not(.active) {
  color: var(--text-primary);
}
.mobile-menu-toggle {
  display: none;
  padding: 8px;
  color: var(--text-primary);
}

/* -------- Hero (bet365-style: full-bleed KV background + text overlay left) -------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background-color: #0A0E1A;
  background-image: url('../../KV.png');
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #0A0E1A 0%,
    rgba(10, 14, 26, 0.92) 25%,
    rgba(10, 14, 26, 0.55) 45%,
    rgba(10, 14, 26, 0.05) 70%,
    rgba(10, 14, 26, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 40%, rgba(227, 6, 19, 0.18) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 24px 100px;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 640px;
}
.hero-visual { display: none; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(227, 6, 19, 0.15);
  border: 1px solid rgba(227, 6, 19, 0.4);
  color: #FF6B75;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF3E3E;
  box-shadow: 0 0 8px #FF3E3E;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--brand-red);
  display: inline-block;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--win);
}

/* -------- USP Tiles -------- */
.usp {
  padding: 60px 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usp-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.usp-card::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 3;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H8M17 7v9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.usp-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.usp-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.usp-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Team gradient as fallback + subtle color anchoring */
.usp-team-lakers { background: linear-gradient(135deg, #552583 0%, #FDB927 100%); }
.usp-team-warriors { background: linear-gradient(135deg, #1D428A 0%, #FFC72C 100%); }
.usp-team-celtics { background: linear-gradient(135deg, #007A33 0%, #BA9653 100%); }
.usp-team-bulls { background: linear-gradient(135deg, #CE1141 0%, #000000 100%); }

.usp-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Team color tint over photo (adds team identity) */
.usp-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.usp-team-lakers::before { background: linear-gradient(135deg, #552583, #FDB927); }
.usp-team-warriors::before { background: linear-gradient(135deg, #1D428A, #FFC72C); }
.usp-team-celtics::before { background: linear-gradient(135deg, #007A33, #BA9653); }
.usp-team-bulls::before { background: linear-gradient(135deg, #CE1141, #1a1a1a); }
/* Dark bottom gradient for text readability */
.usp-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 25%, rgba(10,14,26,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.25) 0%, transparent 40%);
  pointer-events: none;
}
.team-crest {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  text-align: right;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.team-abbr {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  color: #fff;
}
.team-name {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}
.usp-icon-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.usp-body {
  padding: 20px 22px 24px;
}
.usp-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.usp-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -------- Section base -------- */
.section {
  padding: 80px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* -------- Promo Banner (Welcome Bonus — image-based visual) -------- */
.promo-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: 200px;
}
.promo-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0F82D9 0%, #17B5C7 100%);
}
.promo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.promo-content {
  position: relative;
  z-index: 1;
  color: var(--text-primary);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-content h3 {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}
.promo-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.55;
}
.promo-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Promo visual variants (used when there is no external image) */
.promo-visual--txt {
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 40px 32px;
  position: relative;
  min-height: 200px;
}
.promo-visual--txt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
}
.promo-visual--txt > * { position: relative; z-index: 1; }
.promo-visual__badge {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #FFD700;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.promo-visual__title {
  font-family: "Impact", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 0.03em;
  margin-top: 6px;
  text-transform: uppercase;
  color: #fff;
}
.promo-visual__sub {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  margin-top: 12px;
  text-transform: uppercase;
}
.promo-visual__brand {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-family: "Impact", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  z-index: 2;
}
/* Variant themes matching the 4 real 12BET promos */
.promo-visual--daily-bonus {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1152 40%, #7d1e6a 100%);
}
.promo-visual--daily-bonus .promo-visual__badge { color: #FFD700; }
.promo-visual--mix-parlay {
  background: linear-gradient(135deg, #4A90E2 0%, #6EB5FF 50%, #cfe4ff 100%);
}
.promo-visual--mix-parlay .promo-visual__badge { color: #0A2E5C; }
.promo-visual--mix-parlay .promo-visual__title { color: #0A2E5C; }
.promo-visual--mix-parlay .promo-visual__sub { color: rgba(10,46,92,0.65); }
.promo-visual--saba-rebate {
  background: linear-gradient(135deg, #7A0B18 0%, #C81028 45%, #E64150 100%);
}
.promo-visual--saba-rebate .promo-visual__badge { color: #fff; }
.promo-visual--cash-rebate {
  background: linear-gradient(135deg, #2b0a3d 0%, #8a1a5c 45%, #d63384 100%);
}
.promo-visual--cash-rebate .promo-visual__badge { color: #FFD700; }
/* Small variance in mobile — make .promo-banner stack always cleanly */
.promo-list { display: flex; flex-direction: column; gap: 24px; }

/* -------- Featured Games / Odds Table (Pinnacle style) -------- */
.games-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.games-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.games-tabs button {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}
.games-tabs button.active {
  background: var(--brand-red);
  color: #fff;
}
.games-tabs button:hover:not(.active) {
  color: var(--text-primary);
}

.odds-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.odds-header {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 90px;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.odds-header > div {
  text-align: center;
}
.odds-header > div:first-child {
  text-align: left;
}
.odds-row {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 90px;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.2s;
}
.odds-row:last-child { border-bottom: none; }
.odds-row:hover { background: var(--bg-card-hover); }

.match-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.match-league {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.match-teams {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.match-time {
  font-size: 12px;
  color: var(--text-secondary);
}
.match-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--live);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  animation: pulse 1.8s ease-in-out infinite;
}
.odds-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.odds-btn {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 8px;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  font-size: 14px;
}
.odds-btn:hover {
  border-color: var(--brand-red);
  background: rgba(227, 6, 19, 0.1);
}
.odds-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.odds-value {
  color: var(--text-primary);
  font-weight: 700;
}
.match-action {
  display: flex;
  justify-content: flex-end;
}
.match-action .btn {
  padding: 10px 16px;
  font-size: 13px;
}

.odds-disclaimer {
  padding: 14px 20px;
  background: var(--bg-mid);
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.odds-disclaimer::before {
  content: '⓵ ';
  color: var(--warning);
}

.games-footer {
  text-align: center;
  margin-top: 24px;
}

/* -------- Leagues Strip -------- */
.leagues {
  padding: 80px 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.leagues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.league-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  text-align: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.league-card:hover {
  border-color: var(--brand-red);
  background: var(--bg-card-hover);
}
/* Native <details> element for click-to-expand */
details.league-card { padding: 0; }
details.league-card > summary {
  padding: 24px 16px;
  list-style: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
  position: relative;
}
details.league-card > summary::-webkit-details-marker { display: none; }
details.league-card > summary::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin: 12px auto 0;
  transition: transform 0.25s var(--ease);
}
details.league-card[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 16px;
  border-color: var(--brand-red);
}
details.league-card:hover .league-badge {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.25);
}
/* Odds panel that expands when card is opened */
.league-odds {
  padding: 18px 16px 20px;
  border-top: 1px solid var(--border);
  text-align: left;
  background: rgba(0,0,0,0.15);
}
.league-odds__label {
  font-family: "Inter", sans-serif;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 12px;
}
.league-odds__match {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.league-odds__match:last-of-type { border-bottom: 0; }
.league-odds__teams {
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.league-odds__teams em { color: var(--text-muted); font-style: normal; font-weight: 500; margin: 0 4px; font-size: 11px; }
.league-odds__lines {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.league-odds__btn {
  padding: 6px 4px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.league-odds__btn:hover {
  border-color: var(--brand-red);
  background: rgba(227, 6, 19, 0.08);
}
.league-odds__btn-label { color: var(--text-muted); font-size: 10px; }
.league-odds__btn-value { color: var(--text-primary); font-weight: 800; font-size: 13px; }
.league-odds__cta {
  display: block;
  margin-top: 14px;
  padding: 9px 14px;
  background: var(--brand-red);
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  transition: background 0.2s var(--ease);
}
.league-odds__cta:hover { background: var(--brand-red-dark, #a80010); }
.league-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f2f7 100%);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a2238;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.league-card:hover .league-logo {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
/* NEW: standalone SVG badge (no wrapper needed, SVG has its own bg + rounded corners) */
.league-badge {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.league-card:hover .league-badge {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.25);
}
.league-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
/* Fallback text — only visible if <img> fails to load and gets display:none */
.league-logo::before {
  content: attr(data-abbr);
  position: absolute;
  color: #1a2238;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.3px;
  z-index: 1;
}
.league-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.league-season {
  font-size: 12px;
  color: var(--text-muted);
}

/* -------- Editor Team (avatar silhouettes) -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.team-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.15);
}
.team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #0a0f1e, #1a2238);
}

/* ===================== BLOG LISTING ===================== */
.blog-hero {
  padding: 70px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-mid), var(--bg-dark));
}
.blog-hero h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 12px; }
.blog-hero p { max-width: 680px; margin: 0 auto; color: var(--text-secondary); font-size: 17px; line-height: 1.7; }
.blog-filters {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  max-width: 1200px; margin: 0 auto 28px; padding: 0 20px;
}
.blog-filter {
  padding: 8px 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.blog-filter:hover, .blog-filter--active {
  background: var(--brand-red); color: #fff; border-color: var(--brand-red);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px; margin: 0 auto; padding: 0 20px 60px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.15);
}
.blog-card__cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a2238, #0a0f1e);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.blog-card__cover::before {
  content: attr(data-emoji);
  font-size: 56px;
  opacity: 0.4;
  filter: grayscale(0.3);
}
/* New: image-based cover (replaces gradient+emoji pattern) */
.blog-card__cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #1a2238, #0a0f1e);
  transition: transform 0.4s var(--ease);
}
.blog-card:hover .blog-card__cover-img {
  transform: scale(1.04);
}
.blog-card__cover-wrap {
  position: relative;
  overflow: hidden;
}
.blog-card__cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,15,30,0.55) 100%);
  pointer-events: none;
}
.blog-card__cover--1 { background: linear-gradient(135deg, #c8102e, #0a0f1e); }
.blog-card__cover--2 { background: linear-gradient(135deg, #0f4c81, #0a0f1e); }
.blog-card__cover--3 { background: linear-gradient(135deg, #d4af37, #1a2238); }
.blog-card__cover--4 { background: linear-gradient(135deg, #6a2683, #0a0f1e); }
.blog-card__cover--5 { background: linear-gradient(135deg, #0f7a3a, #0a0f1e); }
.blog-card__cover--6 { background: linear-gradient(135deg, #c8102e, #6a2683); }
.blog-card__cover--7 { background: linear-gradient(135deg, #1a2238, #d4af37); }
.blog-card__cover--8 { background: linear-gradient(135deg, #0f4c81, #c8102e); }
.blog-card__cover--9 { background: linear-gradient(135deg, #d4af37, #c8102e); }
.blog-card__cover--10 { background: linear-gradient(135deg, #0a0f1e, #0f7a3a); }
.blog-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 10px;
}
.blog-card__title {
  font-size: 17px; font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--brand-red); }
.blog-card__excerpt {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.blog-card__meta {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
  display: flex; gap: 12px; flex-wrap: wrap;
}
.blog-card__pending {
  display: inline-block; margin-left: 8px;
  padding: 2px 8px;
  background: rgba(212, 175, 55, 0.15); color: var(--brand-gold, #d4af37);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px;
}
.blog-cta {
  max-width: 900px; margin: 0 auto; padding: 40px 24px;
  background: linear-gradient(135deg, var(--brand-red), #920a1f);
  border-radius: var(--radius-md);
  text-align: center;
}
.blog-cta h3 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.blog-cta p { color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; }
.team-card__body {
  padding: 14px 16px 18px;
}
/* Legacy fallback (for cards that still use SVG silhouette) */
.avatar-silhouette {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 20px auto 14px;
  background: linear-gradient(135deg, #2A3454, #1A2238);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.avatar-silhouette svg {
  width: 60%;
  height: 60%;
  color: var(--text-muted);
}
.team-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: var(--brand-red);
  font-weight: 600;
  margin-bottom: 8px;
}
.team-bio {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -------- CTA Section (bottom) -------- */
.cta-section {
  padding: 100px 0;
  background: radial-gradient(ellipse at center, rgba(227, 6, 19, 0.15), transparent 70%), var(--bg-dark);
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-section h2 {
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text-primary);
}
.footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #229ED9;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s var(--ease);
  margin-top: 8px;
}
.footer-tg:hover {
  background: #1c8fc4;
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-text {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badge {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.footer-badge-img {
  height: 34px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
  background: rgba(255,255,255,0.06);
  padding: 4px 8px;
  border-radius: 4px;
}
.footer-badge-img:hover { opacity: 1; }

/* -------- League logo images (leagues page) -------- */
.league-logo-img {
  max-width: 72px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
  filter: brightness(1.05);
}

/* -------- Football club logo wall (sponsorships page) -------- */
.logo-item img.club-logo {
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
}
.logo-item .club-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

/* -------- Compliance badge inside partner-callout / sections -------- */
.compliance-badge {
  height: 44px;
  width: auto;
  background: rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.compliance-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
}
.footer-age {
  width: 32px;
  height: 32px;
  border: 2px solid var(--live);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  color: var(--live);
}

/* -------- Responsive -------- */
@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .odds-header, .odds-row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .odds-header > div:last-child, .match-action { display: none; }
}
@media (max-width: 900px) {
  .hero {
    min-height: 580px;
    background-position: 65% top;
  }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(10, 14, 26, 0.35) 0%,
      rgba(10, 14, 26, 0.7) 50%,
      rgba(10, 14, 26, 0.92) 100%);
  }
  .hero-inner {
    padding: 80px 24px 60px;
    min-height: 580px;
    align-items: flex-end;
  }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-visual { min-height: 200px; }
  .promo-content { padding: 28px 24px; text-align: center; }
  .promo-cta { justify-content: center; }
}
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
  .container { padding: 0 16px; }
  .nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .hero { min-height: 520px; background-position: 60% top; }
  .hero-inner { padding: 60px 16px 40px; min-height: 520px; }
  .odds-header {
    display: none;
  }
  .odds-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }
  .odds-cell { flex-direction: row; justify-content: space-between; align-items: center; }
  .odds-btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .usp { padding: 40px 0; }
  .usp-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interior page components
   ========================================================================== */

/* -------- Page Hero (smaller than homepage hero) -------- */
.page-hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, #0F1626 0%, #0A0E1A 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(227, 6, 19, 0.15) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb-sep { margin: 0 8px; opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1px;
  line-height: 1.1;
}
.page-hero .lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
}

/* -------- Filter chips -------- */
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover { color: var(--text-primary); border-color: var(--text-primary); }
.chip.active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

/* -------- Timeline (sponsorships page) -------- */
.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-red), var(--border) 20%, var(--border) 80%, var(--brand-red));
}
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  align-items: start;
}
.timeline-year {
  padding: 10px 8px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  z-index: 1;
  box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
  letter-spacing: 0.5px;
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  transition: all 0.25s var(--ease);
}
.timeline-content:hover { border-color: var(--brand-red); }
.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}
.timeline-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* -------- Signup steps (numbered) -------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
  transition: all 0.25s var(--ease);
}
.step:hover { border-color: var(--brand-red); transform: translateY(-3px); }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.35);
}
.step h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* -------- Bonus / Feature card -------- */
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}
.bonus-card:hover { border-color: var(--brand-red); }
.bonus-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.bonus-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.35);
}
.bonus-card h3 { font-size: 22px; margin-bottom: 4px; font-weight: 800; }
.bonus-card .amount { color: var(--brand-red); font-weight: 800; }
.bonus-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.bonus-terms {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.bonus-terms strong { color: var(--text-primary); }

/* -------- Logo wall (sponsorships) -------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 16px 0;
}
.logo-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  transition: all 0.25s var(--ease);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-item:hover { border-color: var(--brand-red); background: rgba(227, 6, 19, 0.06); }
.logo-item .logo-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.logo-item .logo-tag { font-size: 11px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.5px; text-transform: uppercase; }

/* -------- Media Partner logo (12B SPORTS on sponsorships page) -------- */
.media-partner-logo {
  display: block;
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .media-partner-logo {
    max-height: 44px;
    margin-bottom: 4px;
  }
}
/* -------- Media Partner callout (12B SPORTS) -------- */
.partner-callout {
  background: linear-gradient(135deg, rgba(0, 210, 106, 0.08), rgba(0, 210, 106, 0.02));
  border: 1px solid rgba(0, 210, 106, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  margin: 32px 0;
}
.media-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 106, 0.15);
  color: #00D26A;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.media-partner-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00D26A;
  box-shadow: 0 0 8px #00D26A;
}
.partner-callout h3 { font-size: 20px; margin-bottom: 10px; }
.partner-callout p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* -------- FAQ / Accordion -------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 26px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--brand-red);
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 26px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* -------- Two-column info layout -------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* -------- Comparison table -------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--bg-elev);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 600; }
.compare-table .highlight { color: var(--brand-red); font-weight: 700; }

/* -------- Timeline responsive -------- */
@media (max-width: 640px) {
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 16px; }
  .timeline-year { padding: 6px 4px; font-size: 12px; }
}

/* -------- Print / Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* -------- Embedded odds widget (nba-odds-widget iframe) --------
   host 端零 JS：只有這個 iframe 標籤與下面兩組固定高度，不做任何高度計算。
   高度 = chrome + 135px × rows，chrome 桌機 166px / 窄寬 198px（2026-09-03 實測）。

   門檻是 815 不是 768：widget 量的是 iframe 自身寬度，而 .container 左右各有
   24px padding，viewport 到 816px 時 iframe 才剛好跌破 768。寫成 768 的後果是
   手機上 widget 已切窄寬版面而 host 還用桌機高度，底欄被切掉 32px 且無錯誤可循。
   .container 的 padding 若日後調整，這個數字要跟著重算。 */
.odds-embed {
  display: block;
  width: 100%;
  border: 0;
  /* 刻意不設 background 與 border-radius：iframe 是固定高度，賽事少於 rows 時
     看板只佔內容高度，下方會剩一段空白。給了底色那段空白就變成一大塊突兀的
     色塊（2026-09-04 視覺回饋）。透明則讓本頁背景透出來，看不出有多餘空間。
     widget 端的 html/body 也必須是透明的，兩邊要一起才有效。 */
  background: transparent;
}
/* `.embed-rows-N` 是「N 列的可視高度」，與 iframe src 的 `rows=` **刻意解耦**。
   src 的 rows 決定 widget 載入幾場賽事，class 決定看得到幾列；rows 較大時
   widget 內部自行捲動（列表容器是 overflow-y:auto + 隱藏滾動條 + 底部漸層遮罩）。
   nba-odds.html 就是這樣用的：class 5 列 + rows=20，看 5 列、可捲 20 場。
   兩者數字不一致不是 bug，請勿「修正」成一致。 */
.embed-rows-5 { height: 841px; }
.embed-rows-10 { height: 1516px; }
@media (max-width: 815px) {
  .embed-rows-5 { height: 873px; }
  .embed-rows-10 { height: 1548px; }
}
