/* ============================================================
   Football Accumulators — Design System & Stylesheet
   Domain: footballaccumulators.com
   ============================================================ */

/* --- Fonts --- */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }

/* --- Design Tokens (Light) --- */
:root {
  --font-display: 'General Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Football green palette */
  --accent: #16803C;
  --accent-hover: #15532e;
  --accent-light: #f0fdf4;
  --accent-glow: rgba(22,128,60,0.12);

  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-2: #f1f5f3;
  --surface-3: #e8ede9;
  --border: #d4ddd7;
  --divider: #e2e8e4;

  --text: #111b14;
  --text-secondary: #4a5e4f;
  --text-muted: #7a8f80;
  --text-inverse: #ffffff;

  --win: #16803C;
  --loss: #dc2626;
  --draw: #d97706;
  --void: #6b7280;

  --gold: #d97706;
  --gold-light: #fef3c7;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px var(--border);

  --transition: 0.18s cubic-bezier(0.16,1,0.3,1);
  --container: 1200px;
  --header-h: 64px;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --accent: #4ade80;
  --accent-hover: #86efac;
  --accent-light: #052e16;
  --accent-glow: rgba(74,222,128,0.1);

  --bg: #0f1610;
  --surface: #161e17;
  --surface-2: #1c261e;
  --surface-3: #243026;
  --border: #2d3e31;
  --divider: #243026;

  --text: #d4e5d8;
  --text-secondary: #9cb5a2;
  --text-muted: #6b8571;
  --text-inverse: #0f1610;

  --win: #4ade80;
  --loss: #f87171;
  --draw: #fbbf24;
  --void: #9ca3af;

  --gold: #fbbf24;
  --gold-light: #422006;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.15), 0 0 0 1px var(--border);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --accent: #4ade80;
    --accent-hover: #86efac;
    --accent-light: #052e16;
    --accent-glow: rgba(74,222,128,0.1);
    --bg: #0f1610;
    --surface: #161e17;
    --surface-2: #1c261e;
    --surface-3: #243026;
    --border: #2d3e31;
    --divider: #243026;
    --text: #d4e5d8;
    --text-secondary: #9cb5a2;
    --text-muted: #6b8571;
    --text-inverse: #0f1610;
    --win: #4ade80;
    --loss: #f87171;
    --draw: #fbbf24;
    --void: #9ca3af;
    --gold: #fbbf24;
    --gold-light: #422006;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.15), 0 0 0 1px var(--border);
  }
}

/* --- Layout --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-alt { background: var(--surface-2); }

/* --- Grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .content-sidebar-layout { grid-template-columns: 1fr; }
}

/* --- Disclosure Bar --- */
.disclosure-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--divider);
  padding: 6px 20px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.disclosure-bar a { color: var(--accent); }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  backdrop-filter: blur(12px);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo, .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.site-logo svg, .logo svg { flex-shrink: 0; }
.logo-text { color: var(--text); font-family: var(--font-display); font-weight: 700; }
.logo-text span { color: var(--accent); }

/* Desktop Nav */
.main-nav, .nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-link, .main-nav > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Dropdown menus */
.has-dropdown { position: relative; }
.has-dropdown > .dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px;
  z-index: 200;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  pointer-events: none;
  list-style: none;
  margin: 0;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.has-dropdown > .dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background 0.1s ease;
  text-decoration: none;
}
.has-dropdown > .dropdown a:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

/* Wide dropdown (Tools mega menu) */
.dropdown--wide {
  min-width: 200px;
  max-height: 420px;
  overflow-y: auto;
}
.dropdown-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 12px 14px 4px;
  list-style: none;
}
.dropdown-group-label:first-child { padding-top: 6px; }
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 10px;
  list-style: none;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--surface-2); color: var(--text); }

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  .main-nav, .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* --- Mobile Nav (Accordion) --- */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-inner { padding: 12px 16px 80px; }

.mobile-nav-group { border-bottom: 1px solid var(--border); }
.mobile-nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.mobile-nav-group-toggle svg {
  transition: transform 0.2s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}
.mobile-nav-group-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-nav-group-links {
  display: none;
  padding-bottom: 8px;
}
.mobile-nav-group-links.open { display: block; }
.mobile-nav-group-links a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.1s ease;
}
.mobile-nav-group-links a:hover,
.mobile-nav-group-links a:active {
  background: var(--accent-glow);
  color: var(--accent);
}

.mobile-nav-standalone {
  display: block;
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-standalone:hover { color: var(--accent); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #052e16 0%, #14532d 40%, #166534 100%);
  color: #ffffff;
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #4ade80;
}
.hero-stat-label {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 2px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.card-sm { padding: 16px; }

/* --- Tips Hub Grid --- */
.tips-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.tip-hub-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.tip-hub-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.tip-hub-card .tip-hub-market {
  align-self: flex-start;
  margin-bottom: 12px;
}
.tip-hub-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.tip-hub-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.tip-hub-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* --- Calculator Hub Grid --- */
.calc-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.calc-hub-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.calc-hub-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.calc-hub-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}
.calc-hub-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--accent);
}
.calc-hub-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.calc-hub-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* --- Tip Card --- */
.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.tip-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.tip-card-header {
  padding: 16px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tip-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.tip-card-odds {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.tip-card-body { padding: 16px 20px; }
.tip-card-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}
.tip-card-match:last-child { border-bottom: none; }
.tip-card-match-teams { font-weight: 500; color: var(--text); flex: 1; }
.tip-card-match-pick {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-glow);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.tip-card-match-odds {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  min-width: 50px;
  text-align: right;
}
.tip-card-match-comp {
  font-size: 12px;
  color: var(--text-muted);
  margin-right: 12px;
  min-width: 80px;
}
.tip-card-footer {
  padding: 14px 20px;
  background: var(--surface-2);
  border-top: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.tip-card-returns { color: var(--text-muted); }
.tip-card-returns strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-glow); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-cta {
  background: linear-gradient(135deg, #16803C, #15532e);
  color: #fff;
  border: none;
  font-size: 15px;
  padding: 12px 24px;
}
.btn-cta:hover { opacity: 0.9; color: #fff; }

/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* --- Badge / Tag --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.badge-accent { background: var(--accent-glow); color: var(--accent); border-color: transparent; }
.badge-win { background: #f0fdf4; color: #16803C; border-color: transparent; }
.badge-loss { background: #fef2f2; color: #dc2626; border-color: transparent; }
.badge-pending { background: #fef3c7; color: #92400e; border-color: transparent; }
[data-theme="dark"] .badge-win { background: rgba(74,222,128,0.12); color: #4ade80; }
[data-theme="dark"] .badge-loss { background: rgba(248,113,113,0.12); color: #f87171; }
[data-theme="dark"] .badge-pending { background: rgba(251,191,36,0.12); color: #fbbf24; }

/* --- Bookmaker Card --- */
.bookie-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}
.bookie-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.bookie-card-rank {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 36px;
  text-align: center;
}
.bookie-card-logo {
  width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 8px;
  flex-shrink: 0;
}
.bookie-card-logo img { max-height: 34px; object-fit: contain; }
.bookie-card-info { flex: 1; min-width: 0; }
.bookie-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}
.bookie-card-offer {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.bookie-card-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bookie-card-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.bookie-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
@media (max-width: 640px) {
  .bookie-card { flex-direction: column; text-align: center; }
  .bookie-card-features { justify-content: center; }
  .bookie-card-actions { width: 100%; }
  .bookie-card-actions .btn { width: 100%; }
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
  color: var(--text);
  vertical-align: middle;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--accent-glow); }
.comparison-table .check { color: var(--win); font-weight: 700; }
.comparison-table .cross { color: var(--loss); font-weight: 700; }

/* --- Acca Builder --- */
.acca-builder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.acca-builder-header {
  padding: 20px 24px;
  background: linear-gradient(135deg, #052e16, #14532d);
  color: #fff;
}
.acca-builder-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}
.acca-builder-header p { font-size: 14px; opacity: 0.8; }
.acca-builder-controls {
  padding: 16px 24px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.acca-builder-controls select,
.acca-builder-controls input {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
}
.acca-builder-controls select:focus,
.acca-builder-controls input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.acca-builder-slip {
  padding: 20px 24px;
  min-height: 200px;
}
.acca-builder-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}
.acca-builder-empty svg { margin: 0 auto 12px; opacity: 0.4; }
.acca-builder-summary {
  padding: 16px 24px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.acca-summary-item { text-align: center; }
.acca-summary-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.acca-summary-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent);
}

/* --- Calculator --- */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.calc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--divider);
}
.calc-row:last-child { border-bottom: none; }
.calc-label { font-size: 14px; color: var(--text-secondary); min-width: 100px; }
.calc-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
}
.calc-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.calc-result {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
  margin-top: 16px;
}
.calc-result-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.calc-result-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

/* --- Match Row (for fixtures) --- */
.match-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
  transition: background var(--transition);
}
.match-row:hover { background: var(--accent-glow); }
.match-row:last-child { border-bottom: none; }
.match-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.match-teams { font-weight: 500; color: var(--text); }
.match-comp {
  font-size: 12px;
  color: var(--text-muted);
}
.match-odds {
  display: flex;
  gap: 6px;
}
.match-odds button {
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: all var(--transition);
}
.match-odds button:hover,
.match-odds button.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
@media (max-width: 640px) {
  .match-row { grid-template-columns: 1fr; gap: 6px; }
  .match-odds { margin-top: 6px; }
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--divider);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Sidebar Widgets --- */
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}

/* --- Quick Links Grid --- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.quick-link:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-sm); }
.quick-link-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

/* --- Guide Card --- */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.guide-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.guide-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.guide-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 6px;
}
.guide-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* --- Stat Cards Row --- */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.stat-card-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.stat-card-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 900px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-cards { grid-template-columns: 1fr; } }

/* --- Acca Record Table --- */
.record-table { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.record-table table { font-size: 14px; }
.record-table th {
  background: var(--surface-2);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.record-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--divider);
  vertical-align: middle;
}
.record-table tr:last-child td { border-bottom: none; }

/* --- Prose (article content) --- */
.prose h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 32px 0 12px;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}
.prose p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.prose ul, .prose ol {
  margin: 12px 0 16px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; font-size: 15px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose a:hover { text-decoration: none; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--accent-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* --- Tab Filters --- */
.tab-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tab-filter {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.tab-filter:hover, .tab-filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-about p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-top: 12px; }
.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-rg {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}
.footer-rg strong { color: var(--text-secondary); }

/* --- Skip to main content --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }
.mt-0 { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }
.w-full { width: 100%; }
.overflow-x-auto { overflow-x: auto; }

/* ============================================================
   Enhanced Mobile & UX Improvements
   ============================================================ */

/* --- Mobile touch targets (min 44px) --- */
@media (max-width: 640px) {
  .btn { min-height: 44px; padding: 12px 20px; font-size: 15px; }
  .btn-sm { min-height: 40px; padding: 10px 16px; }
  .tab-filter { min-height: 40px; padding: 10px 16px; }
  .faq-question { min-height: 48px; padding: 16px 0; }
  .nav-desktop a { min-height: 44px; }

  /* Tip card mobile fix */
  .tip-card-match { flex-wrap: wrap; gap: 6px; }
  .tip-card-match-comp { min-width: 100%; font-size: 11px; margin-right: 0; }
  .tip-card-match-teams { font-size: 14px; }
  .tip-card-match-odds { min-width: auto; }

  /* Hero compact mobile */
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .hero-stat-value { font-size: 22px; }
  .hero-stats { gap: 20px; }

  /* Page hero mobile */
  .page-hero { padding: 24px 0; }
  .page-hero h1 { font-size: 22px; }

  /* Section spacing mobile */
  .section { padding: 32px 0; }
  .section-title { font-size: 20px; }

  /* Sidebar stacks on mobile */
  .sidebar-widget { margin-bottom: 16px; }

  /* Bookie card mobile */
  .bookie-card { padding: 16px; gap: 12px; }
  .bookie-card-rank { font-size: 22px; min-width: 28px; }
  .bookie-card-name { font-size: 15px; }

  /* Calculator inputs mobile */
  .calc-row { flex-direction: column; gap: 6px; }
  .calc-label { min-width: auto; font-size: 13px; font-weight: 600; }
  .calc-result-value { font-size: 24px; }

  /* Match row mobile */
  .match-odds button { padding: 8px 10px; font-size: 14px; min-width: 44px; min-height: 40px; }

  /* Acca builder mobile */
  .acca-builder-slip { padding: 16px; }
  .acca-builder-controls { padding: 12px 16px; }
  .acca-builder-header { padding: 16px; }
  .acca-builder-summary { padding: 12px 16px; }
  .acca-summary-value { font-size: 16px; }

  /* Footer mobile */
  .site-footer { padding: 32px 0 16px; }
  .footer-bottom { font-size: 12px; flex-direction: column; text-align: center; }

  /* Glossary mobile */
  .glossary-term dt { font-size: 14px; }
  .glossary-term dd { font-size: 13px; }

  /* Comparison table mobile */
  .comparison-table { font-size: 13px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }

  /* Quick links mobile */
  .quick-links { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick-link { padding: 12px; font-size: 13px; }
  .quick-link-icon { width: 30px; height: 30px; }
}

/* --- Tablet adjustments --- */
@media (min-width: 641px) and (max-width: 900px) {
  .hero h1 { font-size: 32px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Scroll to top hint --- */
@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
}

/* --- Focus visible for a11y --- */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Print styles --- */
@media print {
  .site-header, .mobile-nav, .disclosure-bar, .site-footer, .sidebar-widget, .btn { display: none !important; }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .hero { background: #f0f0f0 !important; color: #000 !important; }
}

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

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  transition: all var(--transition);
  border: none;
}
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top.visible { display: flex; }

/* --- Loading skeleton for dynamic content --- */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Sticky odds switcher on scroll --- */
@media (max-width: 640px) {
  .odds-switcher { width: 100%; }
  .odds-switcher .tab-filter { flex: 1; text-align: center; justify-content: center; }
}

/* --- Guide card image styles --- */
.card img, .guide-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .card img, .guide-card img { height: 140px; }
}

/* --- Acca builder sticky sidebar on desktop --- */
@media (min-width: 1025px) {
  .acca-builder { position: sticky; top: 84px; }
}

/* --- Badge variants for dark mode --- */
[data-theme="dark"] .badge { background: var(--surface-3); border-color: var(--border); }
[data-theme="dark"] .badge-accent { background: rgba(74,222,128,0.12); color: #4ade80; border-color: transparent; }

/* --- Dark mode comprehensive overrides --- */
[data-theme="dark"] .hero { background: linear-gradient(135deg, #0a1f0d 0%, #0f1610 50%, #0d1a12 100%); }
[data-theme="dark"] .page-hero { background: var(--surface); }
[data-theme="dark"] .section-alt { background: var(--surface); }
[data-theme="dark"] .calc-card { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .calc-input { background: var(--surface); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .calc-input:focus { border-color: var(--accent); }
[data-theme="dark"] .calc-result { background: var(--surface); }
[data-theme="dark"] .comparison-table th { background: var(--surface-2); }
[data-theme="dark"] .comparison-table tr:nth-child(even) { background: var(--surface); }
[data-theme="dark"] .guide-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .guide-card:hover { border-color: var(--accent); }
[data-theme="dark"] .disclosure-bar { background: var(--surface-2); color: var(--text-muted); }
[data-theme="dark"] .match-odds button { background: var(--surface); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .match-odds button:hover { border-color: var(--accent); }
[data-theme="dark"] .match-odds button.selected { background: var(--accent); color: var(--bg); }
[data-theme="dark"] .acca-builder { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .acca-builder-header { background: var(--surface-2); }
[data-theme="dark"] .footer-rg { background: var(--surface-2); }
[data-theme="dark"] select { background: var(--surface); color: var(--text); border-color: var(--border); }
[data-theme="dark"] .skip-link { background: var(--accent); color: var(--bg); }

/* --- Prose images responsive --- */
.prose img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 16px 0;
}

/* --- Selection highlight animation --- */
.match-odds button.selected {
  animation: selectPulse 0.3s ease;
}
@keyframes selectPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* --- Odds format display transition --- */
[data-odds-dec] {
  transition: opacity 0.15s ease;
}

/* --- Prefill pick buttons --- */
.prefill-pick {
  text-align: left;
}
.prefill-pick:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}


/* ============================================================
   PART 3: NEW COMPONENT STYLES
   League pages, Acca Tracker, Bet of Day, Odds Movement, Live Badge
   ============================================================ */

/* --- League Hero --- */
.league-hero {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.league-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .league-hero-inner { grid-template-columns: 1fr; }
}
.league-flag {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
}
.league-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.league-hero-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 20px;
  line-height: 1.65;
}
.league-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- League Stats Grid --- */
.league-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-width: 240px;
}
.league-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px;
}
.league-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.league-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- League Cards Grid (Hub) --- */
.league-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.league-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.league-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.league-card-flag {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 12px;
}
.league-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
}
.league-card-country {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.league-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.league-card-stat {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 4px;
}
.league-card-stat strong {
  color: var(--accent);
}

/* --- Acca Picks Table --- */
.acca-picks-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}
.acca-picks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.acca-picks-table th {
  background: var(--surface-2);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.acca-picks-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.acca-picks-table tr:last-child td { border-bottom: none; }
.acca-picks-table .odds-cell {
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
}
.acca-total-row {
  background: var(--surface-2);
  font-weight: 700;
}
.acca-total-row .acca-total-odds {
  font-size: 1.15rem;
  color: var(--accent);
}

/* --- Market Cards --- */
.market-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.market-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.market-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}
.market-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Team Cards --- */
.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.team-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.team-card-header strong {
  font-size: 0.95rem;
  font-weight: 700;
}
.team-stars {
  font-size: 0.75rem;
  color: #f59e0b;
  letter-spacing: 1px;
}
.team-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Sidebar --- */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar { display: none; }
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget ul li a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.sidebar-widget ul li:last-child a { border-bottom: none; }
.sidebar-widget ul li a:hover,
.sidebar-widget ul li a.active { color: var(--accent); }
.sidebar-league-list { /* inherits from above */ }

/* --- Acca Tracker Button --- */
.tracker-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 28px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(74,222,128,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.tracker-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,222,128,0.4);
}
.tracker-btn-label { line-height: 1; }

/* --- Acca Tracker Panel --- */
.tracker-panel {
  position: fixed;
  bottom: 72px;
  left: 24px;
  z-index: 901;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  max-height: 480px;
  display: flex;
  flex-direction: column;
}
.tracker-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.tracker-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.tracker-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.tracker-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  line-height: 0;
  transition: color 0.15s;
}
.tracker-close:hover { color: var(--text); }
.tracker-panel-body {
  overflow-y: auto;
  padding: 12px 16px;
  flex: 1;
}
.tracker-empty {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 16px 0;
}
.tracker-list { display: flex; flex-direction: column; gap: 12px; }
.tracker-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.tracker-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.tracker-item-name { font-size: 0.85rem; font-weight: 600; }
.tracker-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-won { background: #d1fae5; color: #065f46; }
.status-lost { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .status-pending { background: #44330a; color: #fde68a; }
[data-theme="dark"] .status-won { background: #052e16; color: #4ade80; }
[data-theme="dark"] .status-lost { background: #3b0a0a; color: #fca5a5; }
.tracker-item-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.tracker-item-legs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.tracker-leg {
  font-size: 0.72rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted);
}
.tracker-item-actions {
  display: flex;
  gap: 6px;
}

/* --- Bet of Day Card --- */
.bet-of-day-section {
  margin: 0;
  padding: 24px 0;
}
.bet-of-day-card {
  background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  max-width: 640px;
  margin: 0 auto;
}
[data-theme="light"] .bet-of-day-card {
  background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
  color: #fff;
}
.bet-of-day-inner { display: flex; flex-direction: column; gap: 12px; }
.bet-of-day-badge { margin-bottom: 4px; }
.bet-of-day-match {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}
.bet-of-day-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bet-of-day-row .badge { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.2); }
.bet-of-day-row .badge-accent { background: var(--accent); color: var(--bg); }
.bet-of-day-odds-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bet-of-day-odds-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.bet-of-day-odds {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}
.bet-of-day-confidence {
  display: flex;
  align-items: center;
  gap: 8px;
}
.confidence-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.confidence-stars { font-size: 1.1rem; }
.confidence-star { color: rgba(255,255,255,0.3); }
.confidence-star.filled { color: #f59e0b; }
.bet-of-day-cta { align-self: flex-start; margin-top: 4px; }

/* --- Odds Movement Arrows --- */
.odds-movement {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  vertical-align: middle;
}
.odds-movement.arrow-up { color: #16a34a; }
.odds-movement.arrow-down { color: #dc2626; }
[data-theme="dark"] .odds-movement.arrow-up { color: #4ade80; }
[data-theme="dark"] .odds-movement.arrow-down { color: #f87171; }

/* --- Live Badge --- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dc2626;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* --- Disclaimer text --- */
.disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Dark mode adjustments for league components */
[data-theme="dark"] .league-hero {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--bg) 100%);
}
[data-theme="dark"] .league-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .league-card:hover { border-color: var(--accent); }
[data-theme="dark"] .market-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .team-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .sidebar-widget { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .tracker-panel { background: var(--surface); }
[data-theme="dark"] .tracker-item { background: var(--surface-2); }
[data-theme="dark"] .acca-picks-table th { background: var(--surface-2); }
[data-theme="dark"] .acca-total-row { background: var(--surface-2); }


/* ============================================================
   NEW ENHANCEMENTS — Appended
   ============================================================ */

/* --- Breadcrumbs --- */
.breadcrumbs {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.8125rem;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 6px;
  color: var(--text-muted);
}
.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item span { color: var(--text); font-weight: 500; }

/* --- Freshness Badge --- */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.freshness-badge svg { flex-shrink: 0; }

/* --- Tipster Byline --- */
.tipster-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.tipster-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}
[data-theme="dark"] .tipster-avatar { color: var(--bg); }
.tipster-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.tipster-name { font-weight: 600; font-size: 0.875rem; color: var(--text); }
.tipster-role { font-size: 0.75rem; color: var(--text-muted); }
.tipster-record {
  font-size: 0.75rem;
  color: var(--win);
  font-weight: 500;
}
.tipster-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .tipster-byline { flex-wrap: wrap; }
  .tipster-date { width: 100%; margin-top: 4px; }
}

/* --- Stake Return Preview --- */
.tip-card-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--accent-light);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.8125rem;
  margin-top: 8px;
  border-top: 1px dashed var(--border);
}
.tip-card-return .stake-label { color: var(--text-secondary); }
.tip-card-return .return-value { font-weight: 700; color: var(--accent); }

/* --- Email Signup --- */
.email-signup-section {
  background: var(--accent);
  color: white;
  padding: 48px 0;
  text-align: center;
}
[data-theme="dark"] .email-signup-section {
  background: var(--surface-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.email-signup-section h2 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 8px;
}
[data-theme="dark"] .email-signup-section h2 { color: var(--accent); }
.email-signup-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
[data-theme="dark"] .email-signup-section p { color: var(--text-secondary); }
.email-signup-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto 16px;
}
.email-signup-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.9375rem;
}
.email-signup-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .email-signup-form input[type="email"] {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
[data-theme="dark"] .email-signup-form input[type="email"]::placeholder { color: var(--text-muted); }
.email-signup-form button {
  padding: 12px 24px;
  background: white;
  color: var(--accent);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}
.email-signup-form button:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
[data-theme="dark"] .email-signup-form button {
  background: var(--accent);
  color: var(--bg);
}
.email-signup-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}
[data-theme="dark"] .email-signup-note { color: var(--text-muted); }

/* --- Sticky Mobile CTA --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}
.mobile-sticky-cta-inner {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mobile-sticky-cta .btn { flex: 1; text-align: center; padding: 10px 8px; font-size: 0.875rem; }
.mobile-sticky-cta .dismiss-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--text-muted);
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
@media (max-width: 768px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 64px; }
}
.mobile-sticky-cta.dismissed { display: none !important; }

/* --- Track Record Table --- */
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 16px 0;
}
.results-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--surface-2);
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}
.results-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--divider);
}
.results-table tr:hover td { background: var(--surface-2); }
.results-table .text-win { color: var(--win); font-weight: 600; }
.results-table .text-loss { color: var(--loss); font-weight: 600; }

/* --- Bet Builder Cards --- */
.bet-builder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.bet-builder-match {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.bet-builder-league {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.bet-builder-legs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.bet-builder-legs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 0.875rem;
}
.bet-builder-legs li:last-child { border-bottom: none; }
.bet-builder-leg-odds {
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
}
.bet-builder-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  font-weight: 700;
}
.bet-builder-total-odds {
  font-size: 1.25rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* --- Tip Filters --- */
.tip-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tip-filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.tip-filter-btn:hover, .tip-filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
[data-theme="dark"] .tip-filter-btn.active { color: var(--bg); }

/* ================================================================
   CSS PATCH — Missing selectors for actual HTML class names
   Appended to fix class mismatches between CSS and HTML
   ================================================================ */

/* --- Hero Section (HTML uses hero-overlay, hero-content, hero-title etc.) --- */
.hero--home {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #052e16;
  padding: 80px 0 64px;
  color: white;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,46,22,0.92) 0%, rgba(5,46,22,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: white;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Tips Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* --- Quick Links Grid --- */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.quick-link-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.quick-link-icon {
  font-size: 2rem;
  line-height: 1;
}
.quick-link-label {
  font-size: 0.875rem;
  font-weight: 600;
}

/* --- Guides Grid --- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.guide-card-body {
  padding: 16px;
}
.guide-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.3;
}
.guide-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.guide-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* --- Bookmaker Grid & Cards --- */
.bm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.bookmaker-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.bookmaker-card:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.bm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.bm-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}
.bm-rating { color: var(--gold); font-size: 0.875rem; }
.bm-rating .star { margin-right: 1px; }
.bm-offer {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.bm-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bm-features li {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}
.bm-disclaimer {
  margin-top: 8px;
}

/* --- Bookmaker Review Cards (bookmakers/index.html) --- */
.bm-review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.bm-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.bm-review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}
.bm-review-offer {
  font-size: 0.8125rem;
  padding: 4px 12px;
}
.bm-review-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.bm-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.bm-list {
  list-style: disc;
  padding-left: 20px;
  margin: 8px 0 0;
}
.bm-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  line-height: 1.5;
}

/* --- FAQ Section --- */
.faq-section { background: var(--surface-2); }

/* --- Footer Columns --- */
.footer-col h4, .footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 6px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Section Header Layout --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  margin: 0;
}

/* --- Bet of the Day Card --- */
.bet-of-day-card {
  background: linear-gradient(135deg, #052e16, #0a4a2e);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: white;
  min-height: 100px;
}
.bet-of-day-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Sidebar --- */
.sidebar-card {
  padding: 20px;
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-links li {
  margin-bottom: 4px;
}
.sidebar-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.sidebar-links a:hover { color: var(--accent); }
.sidebar-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text);
}

/* --- Tip Actions --- */
.tip-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* --- SEO Content / Prose --- */
.seo-section { background: var(--surface-2); }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.prose p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-hover); }
.prose strong { color: var(--text); font-weight: 600; }

/* --- Page Layout (content + sidebar) --- */
.page-content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-content-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive fixes for new sections --- */
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 1.5rem; }
  .tips-grid { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .guides-grid { grid-template-columns: 1fr; }
  .bm-grid { grid-template-columns: 1fr; }
  .bm-review-grid { grid-template-columns: 1fr; }
  .hero--home { padding: 48px 0 40px; }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* --- Tracker FAB mobile adjustment --- */
@media (max-width: 768px) {
  .tracker-btn { bottom: 76px; }
  .tracker-panel { bottom: 124px; }
}


/* ============================================================
   GLOSSARY STYLES
   ============================================================ */
.glossary-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--surface-2);
  border-radius: 8px;
}
.glossary-alpha-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.glossary-alpha-nav a:hover,
.glossary-alpha-nav a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.glossary-letter-group { margin-bottom: 2.5rem; }
.glossary-letter-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.glossary-term-card {
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.15s;
}
.glossary-term-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.glossary-term-card dt {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.glossary-term-card dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================================
   ACCA BUILDER IMPROVEMENTS
   ============================================================ */
.acca-matches-grid {
  display: grid;
  gap: 0.75rem;
}
.acca-match-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s;
}
.acca-match-card:hover {
  border-color: var(--accent);
}
.acca-match-teams {
  font-weight: 600;
  font-size: 0.9375rem;
}
.acca-match-odds {
  display: flex;
  gap: 6px;
}
.acca-odd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.acca-odd-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light, #EEF2FF);
}
.acca-odd-btn.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.acca-slip {
  position: sticky;
  top: 72px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 1.25rem;
}
.acca-slip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.acca-slip-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.acca-slip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
}
.acca-slip-selections { list-style: none; padding: 0; margin: 0 0 1rem; }
.acca-slip-selections li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.acca-slip-selections li:last-child { border-bottom: none; }
.acca-slip-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 2px solid var(--border);
  font-weight: 700;
  font-size: 1rem;
}
.acca-slip-return {
  color: var(--accent);
  font-size: 1.25rem;
}

/* ============================================================
   BOOKMAKERS COMPARISON TABLE (above reviews)
   ============================================================ */
.bookie-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}
.bookie-comparison-table thead th {
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
}
.bookie-comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.bookie-comparison-table tr:hover td {
  background: var(--accent-light, #EEF2FF);
}
.bookie-comparison-table .bookie-name {
  font-weight: 700;
  color: var(--text-primary);
}
.bookie-comparison-table .bookie-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.bookie-comparison-table .bookie-cta {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.bookie-comparison-table .bookie-cta:hover {
  background: var(--accent-hover, #1233A0);
}

/* ============================================================
   MY ACCAS FAB — better positioning, no content overlap
   ============================================================ */
.tracker-btn {
  z-index: 1000;
}

/* ============================================================
   IMPROVED SIDEBAR STYLING FOR TIP PAGES
   ============================================================ */
.tip-sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.tip-sidebar-box h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.tip-sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tip-sidebar-box li {
  padding: 0.375rem 0;
}
.tip-sidebar-box li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s;
}
.tip-sidebar-box li a:hover {
  color: var(--accent);
}

/* ============================================================
   BETTER EMPTY STATE FOR ACCA SLIP
   ============================================================ */
.acca-empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}
.acca-empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}
.acca-empty-state p {
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================================
   RESPONSIVE IMPROVEMENTS
   ============================================================ */
@media (max-width: 768px) {
  .bookie-comparison-table { font-size: 0.8125rem; }
  .bookie-comparison-table td,
  .bookie-comparison-table th { padding: 0.625rem 0.5rem; }
  .glossary-alpha-nav a { width: 32px; height: 32px; font-size: 0.75rem; }
  .acca-slip { position: static; margin-top: 1.5rem; }
}

/* ============================================================
   DARK MODE ADDITIONS
   ============================================================ */
[data-theme="dark"] .glossary-alpha-nav { background: var(--surface); }
[data-theme="dark"] .glossary-term-card { background: var(--surface-2, #1a1a2e); }
[data-theme="dark"] .acca-match-card { background: var(--surface-2, #1a1a2e); }
[data-theme="dark"] .acca-odd-btn:hover { background: rgba(22, 65, 180, 0.15); }
[data-theme="dark"] .bookie-comparison-table tr:hover td { background: rgba(22, 65, 180, 0.08); }
[data-theme="dark"] .tip-sidebar-box { background: var(--surface-2, #1a1a2e); }

/* ============================================================
   GLOSSARY — Letter Nav, Terms, Search
   ============================================================ */
.letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--surface-2);
  border-radius: 10px;
}
.letter-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.letter-nav-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.glossary-letter {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin: 2rem 0 1rem;
}
.glossary-letter:first-child { margin-top: 0; }

.glossary-term {
  padding: 1rem 1.25rem;
  margin-bottom: 0.625rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.15s;
}
.glossary-term:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.glossary-term dl { margin: 0; }
.glossary-term dt {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.glossary-term dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.glossary-term dd a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.glossary-content {
  margin-top: 1.5rem;
}

/* Search input */
.search-wrapper { position: relative; max-width: 400px; }
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color 0.15s;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 65, 180, 0.1);
}
.search-wrapper::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

/* mt utility */
.mt-16 { margin-top: 1rem; }
.mt-24 { margin-top: 1.5rem; }

/* Dark mode glossary */
[data-theme="dark"] .glossary-term { background: var(--surface-2, #1a1a2e); border-color: var(--border); }
[data-theme="dark"] .letter-nav { background: var(--surface); }
[data-theme="dark"] .search-input { background: var(--surface-2, #1a1a2e); border-color: var(--border); color: var(--text-primary); }

/* Responsive glossary */
@media (max-width: 768px) {
  .letter-nav-item { width: 30px; height: 30px; font-size: 0.75rem; }
  .glossary-term { padding: 0.75rem 1rem; }
  .glossary-term dt { font-size: 0.9375rem; }
  .glossary-term dd { font-size: 0.875rem; }
}

/* ============================================================
   LIVE TIP CARDS
   ============================================================ */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tip-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.tip-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tip-card-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.tip-card-title { display: flex; align-items: center; gap: 0.5rem; }
.tip-card-title svg { color: var(--accent); flex-shrink: 0; }
.tip-card-header h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.tip-card-badges { display: flex; align-items: center; gap: 0.5rem; }
.tip-legs-count { font-size: 0.8125rem; color: var(--text-muted); font-weight: 600; }
.conf-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.conf-high { background: #dcfce7; color: #166534; }
.conf-mid { background: #fef9c3; color: #854d0e; }
.conf-low { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .conf-high { background: rgba(22,163,74,0.15); color: #4ade80; }
[data-theme="dark"] .conf-mid { background: rgba(202,138,4,0.15); color: #facc15; }
[data-theme="dark"] .conf-low { background: rgba(239,68,68,0.15); color: #f87171; }

.tip-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tip-table th { padding: 0.5rem 0.75rem; text-align: left; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); background: var(--surface-2); }
.tip-table td { padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--border); }
.tip-table tbody tr:last-child td { border-bottom: none; }
.match-col { display: flex; flex-direction: column; gap: 2px; }
.match-teams { font-weight: 500; }
.match-ko { font-size: 0.75rem; color: var(--text-muted); }
.league-badge { display: inline-block; padding: 2px 8px; background: var(--accent-light, #EEF2FF); color: var(--accent); border-radius: 4px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.odds-cell { font-weight: 700; font-variant-numeric: tabular-nums; }
.tip-bk-link { font-size: 0.75rem; color: var(--accent); text-decoration: none; margin-left: 4px; }
.tip-card-footer { display: flex; justify-content: space-between; padding: 0.875rem 1.25rem; background: var(--surface-2); }
.tip-card-footer .label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; }
.tip-card-footer .value { font-size: 1.125rem; font-weight: 700; }
.tip-card-footer .accent { color: var(--accent); }

/* ODDS FORMAT SWITCHER */
.odds-format-switcher { display: flex; gap: 4px; }
.odds-fmt-btn { padding: 6px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); border-radius: 6px; font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.odds-fmt-btn:hover { border-color: var(--accent); color: var(--accent); }
.odds-fmt-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ODDS COMPARISON TABLE */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.odds-comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; min-width: 720px; }
.odds-comparison-table th { padding: 0.75rem 0.5rem; text-align: center; font-weight: 600; font-size: 0.8125rem; background: var(--surface-2); border-bottom: 2px solid var(--border); white-space: nowrap; }
.odds-comparison-table th:first-child { text-align: left; min-width: 240px; }
.odds-comparison-table td { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.odds-comparison-table td:first-child { text-align: left; }
.match-name strong { font-size: 0.9375rem; }
.match-meta { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.odds-trio { display: flex; gap: 4px; justify-content: center; }
.odd-val { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 4px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; transition: all 0.15s; cursor: pointer; }
.odd-val:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light, #EEF2FF); }
.odd-val.best-odds { border-color: #16a34a; color: #16a34a; font-weight: 700; }
.no-odds { color: var(--text-muted); }
.match-odds-row:hover td { background: var(--accent-light, #EEF2FF); }

/* LIVE SCORES */
.live-section { background: var(--surface-2); }
.live-pulse { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: #ef4444; color: #fff; border-radius: 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; animation: pulse-live 2s infinite; }
@keyframes pulse-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.live-scores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.live-match-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; position: relative; overflow: hidden; }
.live-match-card.is-live { border-left: 3px solid #ef4444; }
.live-match-card.is-live::before { content: 'LIVE'; position: absolute; top: 8px; right: 8px; padding: 2px 8px; background: #ef4444; color: #fff; border-radius: 4px; font-size: 0.6875rem; font-weight: 700; }
.live-match-league { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.live-match-score { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.live-match-team { font-weight: 600; font-size: 0.9375rem; flex: 1; }
.live-match-team:last-child { text-align: right; }
.live-score-display { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; padding: 4px 8px; background: var(--surface-2); border-radius: 6px; }
.live-match-minute { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.live-placeholder { text-align: center; padding: 2rem; color: var(--text-muted); grid-column: 1 / -1; }
.live-placeholder svg { margin: 0 auto 0.5rem; display: block; opacity: 0.5; }
.live-placeholder p { margin: 0; font-size: 0.875rem; }

/* DROPPING ODDS */
.dropping-odds-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.dropping-heading { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem; }
.dropping-heading::before { content: ''; display: inline-block; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; animation: pulse-live 1.5s infinite; }
.dropping-list { display: flex; flex-direction: column; gap: 0.5rem; }
.dropping-item { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.dropping-match { flex: 1; font-weight: 600; font-size: 0.875rem; }
.dropping-market { font-size: 0.8125rem; color: var(--text-secondary); }
.dropping-movement { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 700; }
.dropping-movement.down { color: #ef4444; }
.dropping-movement.up { color: #16a34a; }
.dropping-arrow { font-size: 1rem; }

/* TIP MATCH CARDS (detail pages) */
.tip-match-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; margin-bottom: 0.75rem; transition: box-shadow 0.2s; }
.tip-match-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.tip-match-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.tip-match-type { font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); }
.tip-match-ko { font-size: 0.8125rem; font-weight: 600; }
.tip-match-teams { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.tip-match-meta { display: flex; justify-content: space-between; align-items: center; }
.tip-match-odds { font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.tip-match-bottom { display: flex; justify-content: space-between; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); font-size: 0.875rem; }

/* SELECTION BADGE */
.selection-badge { display: inline-block; padding: 3px 10px; background: var(--accent); color: #fff; border-radius: 4px; font-size: 0.8125rem; font-weight: 600; }

/* SECTION HEADER */
.section-header { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-header h2 { margin: 0; }
.section-link { font-size: 0.875rem; color: var(--accent); text-decoration: none; font-weight: 600; margin-left: auto; }
.updated-badge { font-size: 0.8125rem; color: var(--text-muted); }

/* DARK MODE OVERRIDES */
[data-theme="dark"] .tip-card { background: var(--surface); }
[data-theme="dark"] .tip-table th { background: var(--surface-2); }
[data-theme="dark"] .tip-card-footer { background: var(--surface-2); }
[data-theme="dark"] .odd-val { background: var(--surface-2); }
[data-theme="dark"] .odd-val:hover { background: rgba(22, 65, 180, 0.15); }
[data-theme="dark"] .league-badge { background: rgba(22, 65, 180, 0.15); }
[data-theme="dark"] .match-odds-row:hover td { background: rgba(22, 65, 180, 0.08); }
[data-theme="dark"] .tip-match-card { background: var(--surface); }
[data-theme="dark"] .live-match-card { background: var(--surface); }
[data-theme="dark"] .live-score-display { background: var(--surface-2); }
[data-theme="dark"] .dropping-item { background: var(--surface); }
[data-theme="dark"] .odds-fmt-btn { background: var(--surface-2); border-color: var(--border); }
[data-theme="dark"] .odds-fmt-btn.active { background: var(--accent); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .tips-grid { grid-template-columns: 1fr; }
  .live-scores-grid { grid-template-columns: 1fr; }
  .odds-comparison-table { font-size: 0.75rem; }
  .odd-val { min-width: 36px; padding: 3px 4px; font-size: 0.75rem; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .section-link { margin-left: 0; }
  .odds-format-switcher { width: 100%; }
  .odds-fmt-btn { flex: 1; text-align: center; padding: 8px 10px; }
  .tip-card-header { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}
