/* ═══════════════════════════════════════════
   SUPAPICKS — style.css  (complete)
   Merged: base styles + mega menu + all
   market categories + responsive filter pills
═══════════════════════════════════════════ */


/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════════ */
:root {
  --purple:        #6C3BD5;
  --purple-lt:     #8B5CF6;
  --purple-dim:    #F7F5FF;
  --purple-mid:    #C4B5FD;
  --navy:          #0D0F1A;
  --navy-mid:      #161929;
  --navy-soft:     #1E2140;
  --white:         #FFFFFF;
  --surface:       #FFFFFF;
  --surface-2:     #F4F4F6;
  --card:          #FFFFFF;
  --text:          #1A1C2E;
  --text-2:        #4B5068;
  --text-3:        #5E6381;
  --border:        rgba(0,0,0,0.07);
  --border-2:      rgba(0,0,0,0.14);
  --green:         #10B981;
  --green-bg:      #D1FAE5;
  --green-text:    #065F46;
  --red:           #EF4444;
  --red-bg:        #FEE2E2;
  --red-text:      #991B1B;
  --amber:         #F59E0B;
  --amber-bg:      #FEF3C7;
  --amber-text:    #92400E;
  --ff-display:    'Playfair Display', Georgia, serif;
  --ff-body:       'DM Sans', system-ui, sans-serif;
  --ff-mono:       'DM Mono', 'Courier New', monospace;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     14px;
  --radius-xl:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --nav-h:         58px;
  --bar-h:         40px;
  --transition:    0.22s ease;
}

[data-theme="dark"] {
  --surface:    #0D0F1A;
  --surface-2:  #111426;
  --card:       #161929;
  --text:       #EEECff;
  --text-2:     #9CA3BB;
  --text-3:     #6B7194;
  --border:     rgba(139,92,246,0.16);
  --border-2:   rgba(139,92,246,0.3);
  --purple-dim: rgba(108,59,213,0.18);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.5);
}


/* ═══════════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); border: none; background: none; }

.content-grid > *,
.stats-strip > *,
.blog-grid > *,
.footer-grid > *,
.primary-col > * {
  min-width: 0;
}


/* ═══════════════════════════════════════════
   SKIP LINK
═══════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 12px;
  background: var(--purple);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  z-index: 9999;
}
.skip-link:focus { top: 12px; }


/* ═══════════════════════════════════════════
   SITE WRAPPER
═══════════════════════════════════════════ */
.site-wrap { display: flex; flex-direction: column; min-height: 100vh; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }


/* ═══════════════════════════════════════════
   TOP TICKER BAR
═══════════════════════════════════════════ */
.ticker-bar {
  background: #0D0F1A;           /* explicit hex fallback — prevents transparency bleed */
  background-color: #0D0F1A;
  padding: 7px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  isolation: isolate;
}
.ticker-inner {
  display: flex;
  gap: 0;
  align-items: center;
  overflow: hidden;
}
.ticker-label {
  background: var(--purple);
  color: white;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0 4px 4px 0;
  margin-right: 16px;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  padding: 0 24px 0 0;
}
.ticker-item strong { color: white; font-weight: 500; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--purple-lt); flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--purple);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span { color: var(--text); }
.nav-logo-icon { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  margin-left: 24px;
  flex: 1;
  gap: 0;
  min-width: 0;
}
.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  padding: 0 14px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--purple); border-bottom-color: var(--purple); }
.nav-link .badge {
  display: inline-block;
  background: var(--purple);
  color: white;
  font-size: 9px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.btn-icon:hover { background: var(--purple); color: white; }
[data-theme="dark"] .btn-icon { background: var(--purple-dim); color: var(--purple-lt); }
.btn-theme { font-size: 16px; }
.btn-search-trigger { font-size: 15px; }
.btn-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
}
.btn-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.btn-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.btn-hamburger.open span:nth-child(2) { opacity: 0; }
.btn-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav chevron (mega trigger arrow) */
.nav-chevron {
  display: inline-block;
  margin-left: 3px;
  vertical-align: middle;
  color: var(--text-3);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-mega-wrap:hover .nav-chevron,
.nav-mega-wrap.open .nav-chevron {
  transform: rotate(180deg);
}


/* ═══════════════════════════════════════════
   MEGA MENU
═══════════════════════════════════════════ */
.nav-mega-wrap {
  position: relative;
}
.nav-mega-wrap:hover .mega-menu,
.nav-mega-wrap:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: -20px;
  width: 860px;
  max-width: calc(100vw - 40px);
  background: var(--card);
  border: 1px solid var(--border-2);
  border-top: 2px solid var(--purple);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}

.mega-col {
  padding: 18px 16px 20px;
  border-right: 1px solid var(--border);
}
.mega-col:last-child { border-right: none; }

.mega-col-special {
  background: var(--purple-dim);
}
[data-theme="dark"] .mega-col-special {
  background: rgba(108,59,213,0.08);
}

.mega-col-head {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--text-3);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-col-icon { font-size: 13px; line-height: 1; }

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 1px;
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}
.mega-link:hover { background: var(--surface-2); }
[data-theme="dark"] .mega-link:hover { background: rgba(255,255,255,0.05); }

.mega-link-premium:hover { background: rgba(108,59,213,0.08); }
[data-theme="dark"] .mega-link-premium:hover { background: rgba(108,59,213,0.16); }

.mega-link-tag {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--text-3);
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid var(--border);
}
.mega-link-tag-gold {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
}
[data-theme="dark"] .mega-link-tag-gold {
  background: rgba(245,158,11,0.2);
  color: #FCD34D;
  border-color: rgba(245,158,11,0.3);
}
.mega-link-tag-pro {
  background: var(--purple-dim);
  color: var(--purple);
  border-color: rgba(108,59,213,0.25);
}
.mega-link-tag-vip {
  background: linear-gradient(135deg, #6C3BD5, #8B5CF6);
  color: white;
  border-color: transparent;
}
.mega-link-tag-bank {
  background: var(--green-bg);
  color: var(--green-text);
  border-color: rgba(16,185,129,0.25);
}
.mega-link-tag-risk {
  background: var(--red-bg);
  color: var(--red-text);
  border-color: rgba(239,68,68,0.25);
}

.mega-link-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.mega-link-desc {
  display: block;
  font-size: 10px;
  color: var(--text-3);
  line-height: 1.4;
  margin-top: 1px;
}
.mega-link:hover .mega-link-name { color: var(--purple); }

@media (max-width: 900px) {
  .mega-menu { display: none !important; }
}
@media (min-width: 901px) {
  .mega-menu { max-width: min(860px, calc(100vw - 40px)); }
}


/* ═══════════════════════════════════════════
   MOBILE NAV DRAWER
═══════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--card);
  z-index: 199;
  overflow-y: auto;
  padding: 16px 20px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }

/* Sectioned mobile nav */
.mobile-nav-section {
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-section:last-child { border-bottom: none; }

.mobile-nav-heading {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  padding: 8px 0 6px;
}

.mobile-nav-link {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--purple); }

.mobile-nav-link-premium {
  color: var(--purple) !important;
  font-weight: 500;
}


/* ═══════════════════════════════════════════
   SEARCH OVERLAY
═══════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,15,26,0.85);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  background: var(--card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  margin: 0 20px;
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}
.search-input-wrap svg { color: var(--purple); flex-shrink: 0; }
.search-input {
  flex: 1;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  background: none;
  border: none;
  outline: none;
  min-width: 0;
}
.search-input::placeholder { color: var(--text-3); }
.search-close {
  background: var(--surface-2);
  border: none;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.search-hint {
  font-size: 12px;
  color: var(--text-2);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.search-hint:hover { background: var(--purple); color: white; border-color: var(--purple); }
[data-theme="dark"] .search-hint { color: var(--purple-lt); background: var(--purple-dim); border-color: transparent; }


/* ═══════════════════════════════════════════
   MARKET STRIP (below nav)
═══════════════════════════════════════════ */
.market-strip {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.market-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: var(--bar-h);
}
.market-strip-inner::-webkit-scrollbar { display: none; }
.market-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  padding: 0 14px;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.market-chip:hover,
.market-chip.active { color: var(--purple); border-bottom-color: var(--purple); }

.market-divider {
  width: 1px;
  height: 16px;
  background: var(--border-2);
  flex-shrink: 0;
  margin: 0 4px;
  align-self: center;
}

/* Special chip variants */
.market-chip-gold {
  color: #92400E !important;
  background: #FEF3C7;
}
.market-chip-gold:hover,
.market-chip-gold.active {
  background: #F59E0B !important;
  color: white !important;
  border-bottom-color: #F59E0B !important;
}
[data-theme="dark"] .market-chip-gold {
  color: #FCD34D !important;
  background: rgba(245,158,11,0.12);
}
.market-chip-pro { color: var(--purple) !important; }
.market-chip-pro:hover,
.market-chip-pro.active { background: var(--purple-dim); }
.market-chip-vip {
  color: white !important;
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-lt) 100%);
  font-weight: 500;
}
.market-chip-vip:hover { opacity: 0.88; }
.market-chip-bank { color: var(--green-text) !important; }
[data-theme="dark"] .market-chip-bank { color: var(--green) !important; }


/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 48px 0 44px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,59,213,0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.hero-title em { color: var(--purple-lt); font-style: normal; }
.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  max-width: 420px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-stats { display: flex; gap: 0; flex-wrap: wrap; }
.hero-stat { padding: 0 28px 0 0; }
.hero-stat + .hero-stat {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-family: var(--ff-display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}
.hero-acca {
  background: linear-gradient(145deg, #3B1FA8 0%, #6C3BD5 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 0;
}
.hero-acca-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.hero-acca-title {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  color: white;
}
.hero-acca-badge {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}
.hero-acca-odds {
  font-family: var(--ff-mono);
  font-size: 34px;
  color: white;
  line-height: 1;
  margin: 8px 0 4px;
}
.hero-acca-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.acca-pick {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.07);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.acca-pick-tip { font-weight: 500; color: var(--purple-mid); }


/* ═══════════════════════════════════════════
   DATE TABS
═══════════════════════════════════════════ */
.date-tabs-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.date-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.date-tabs::-webkit-scrollbar { display: none; }
.date-tab {
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.date-tab:hover,
.date-tab.active { color: var(--purple); border-bottom-color: var(--purple); }


/* ═══════════════════════════════════════════
   MAIN CONTENT GRID
═══════════════════════════════════════════ */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 24px 0 40px;
  align-items: start;
}


/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition);
  min-width: 0;
}
.stat-card:hover { border-color: var(--purple); transform: translateY(-1px); }
.stat-card-num {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
}
.stat-card-label {
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}


/* ═══════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.section-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.section-link {
  font-size: 12px;
  color: var(--purple);
  font-weight: 500;
  flex-shrink: 0;
}
.section-link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════
   MARKET FILTER — GROUPED PILLS
   Fully responsive: wraps on desktop,
   horizontal-scrolls (tag-only) on mobile
═══════════════════════════════════════════ */

/* Outer wrapper */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

/* Each row: label + pills */
.filter-group {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

/* Row label */
.filter-group-label {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
  width: 58px;
  padding-top: 7px;
  padding-right: 6px;
}

/* Pills row */
.filter-group .filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0;
  min-width: 0;
  flex: 1;
}

/* Individual pill */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  cursor: pointer;
  color: var(--text-2);
  background: var(--card);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
  line-height: 1;
}
.filter-pill:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.filter-pill.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* Pill written name (shown on desktop) */
.pill-name {
  font-size: 11px;
  line-height: 1;
}

/* Pill tag badge */
.pill-tag {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  background: rgba(0,0,0,0.06);
  color: var(--text-3);
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.2px;
  line-height: 1.4;
  display: inline-block;
  transition: background var(--transition), color var(--transition);
}
.filter-pill.active .pill-tag,
.filter-pill:hover .pill-tag {
  background: rgba(255,255,255,0.22);
  color: white;
}
[data-theme="dark"] .pill-tag {
  background: rgba(255,255,255,0.08);
  color: var(--text-3);
}

/* "All Markets" — plain text pill (no children spans) */
.filter-pill:not(:has(.pill-name)) {
  font-size: 11px;
}

/* ── Special pill variants ──────────────────── */

/* Genius Gold */
.filter-pill-gold {
  border-color: #FCD34D;
  color: #92400E;
  background: #FEF3C7;
}
.filter-pill-gold:hover,
.filter-pill-gold.active {
  background: #F59E0B;
  color: white;
  border-color: #F59E0B;
}
.filter-pill-gold .pill-tag {
  background: rgba(146,64,14,0.12);
  color: #92400E;
}
.filter-pill-gold:hover .pill-tag,
.filter-pill-gold.active .pill-tag {
  background: rgba(255,255,255,0.25);
  color: white;
}
[data-theme="dark"] .filter-pill-gold {
  color: #FCD34D;
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.3);
}

/* Pro Tips */
.filter-pill-pro {
  border-color: rgba(108,59,213,0.35);
  color: var(--purple);
}
.filter-pill-pro .pill-tag {
  background: rgba(108,59,213,0.1);
  color: var(--purple);
}
.filter-pill-pro:hover,
.filter-pill-pro.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* Daily VIP */
.filter-pill-vip {
  background: linear-gradient(90deg, rgba(108,59,213,0.1) 0%, rgba(139,92,246,0.1) 100%);
  border-color: rgba(108,59,213,0.4);
  color: var(--purple);
}
.filter-pill-vip:hover,
.filter-pill-vip.active {
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-lt) 100%);
  color: white;
  border-color: var(--purple);
}
.filter-pill-vip .pill-tag {
  background: rgba(108,59,213,0.12);
  color: var(--purple);
}

/* Banker Tips */
.filter-pill-bank {
  border-color: rgba(16,185,129,0.35);
  color: var(--green-text);
}
.filter-pill-bank:hover,
.filter-pill-bank.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
[data-theme="dark"] .filter-pill-bank { color: var(--green); }

/* Take the Risk */
.filter-pill-risk {
  border-color: rgba(239,68,68,0.3);
  color: var(--red-text);
}
.filter-pill-risk:hover,
.filter-pill-risk.active {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
[data-theme="dark"] .filter-pill-risk { color: var(--red); }

/* ── Blog / article link pills ──────────── */
a.filter-pill {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}


/* ═══════════════════════════════════════════
   PREDICTION CARDS
═══════════════════════════════════════════ */
.pred-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pred-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pred-head {
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  background: var(--surface-2);
}
[data-theme="dark"] .pred-head { background: transparent; }
.pred-league {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--purple);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pred-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pred-time {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--text-3);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.badge-pending { background: var(--surface-2); color: var(--text-2); }
[data-theme="dark"] .badge-pending { background: var(--purple-dim); color: var(--purple-lt); }
.badge-won     { background: var(--green-bg);   color: var(--green-text); }
.badge-lost    { background: var(--red-bg);     color: var(--red-text); }
.badge-live {
  background: var(--red);
  color: white;
  animation: pulse-badge 1.5s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Match layout */
.pred-match {
  padding: 14px 14px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.team-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.team-col-left  { align-items: flex-start; }
.team-col-right { align-items: flex-end; }
.team-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.team-form { display: flex; gap: 2px; flex-wrap: wrap; }
.form-pip {
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: 9px;
  font-family: var(--ff-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  flex-shrink: 0;
}
.form-pip.w { background: var(--green-bg);   color: var(--green-text); }
.form-pip.d { background: var(--amber-bg);   color: var(--amber-text); }
.form-pip.l { background: var(--red-bg);     color: var(--red-text); }
.match-mid  { text-align: center; flex-shrink: 0; }
.match-vs   { font-family: var(--ff-mono); font-size: 11px; color: var(--text-3); }
.match-score {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  white-space: nowrap;
}

/* Odds row */
.odds-row {
  padding: 8px 14px;
  display: flex;
  gap: 6px;
  border-top: 1px solid var(--border);
}
.odds-pill {
  flex: 1;
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 4px;
  font-size: 10px;
  color: var(--text-2);
  transition: border-color var(--transition);
  min-width: 0;
  overflow: hidden;
}
.odds-pill.highlight {
  background: var(--purple-dim);
  border-color: rgba(108,59,213,0.25);
  color: var(--purple);
}
[data-theme="dark"] .odds-pill { background: var(--surface); }
.odds-val {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: block;
}
.odds-pill.highlight .odds-val { color: var(--purple); }

/* Prediction footer */
.pred-foot {
  padding: 9px 14px 11px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
[data-theme="dark"] .pred-foot { background: var(--purple-dim); border-color: transparent; }
.pred-pick-label { font-size: 10px; color: var(--text-3); }
.pred-pick-val   { font-size: 13px; font-weight: 500; color: var(--purple); }
.conf-row { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.conf-label { font-size: 10px; color: var(--text-3); }
.conf-pips  { display: flex; gap: 2px; }
.conf-pip   { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.conf-pip.on { background: var(--purple); }
.conf-word { font-size: 10px; font-weight: 500; color: var(--purple); }
.conf-word.won { color: var(--green); }


/* ═══════════════════════════════════════════
   TABLE WRAPPER
═══════════════════════════════════════════ */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border-radius: var(--radius-sm);
}


/* ═══════════════════════════════════════════
   SIDEBAR WIDGETS
═══════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.perf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.perf-box { text-align: center; padding: 10px; border-radius: var(--radius-sm); }
.perf-box.purple { background: var(--purple-dim); }
.perf-box.green  { background: var(--green-bg); }
.perf-box-num {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.perf-box.purple .perf-box-num { color: var(--purple); }
.perf-box.green  .perf-box-num { color: var(--green-text); }
.perf-box-label { font-size: 10px; margin-top: 2px; }
.perf-box.purple .perf-box-label { color: var(--text-3); }
.perf-box.green  .perf-box-label { color: var(--green-text); opacity: 0.7; }
.market-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.market-row:last-child { border-bottom: none; }
.market-row-name { color: var(--text-2); }
.market-row-val  { font-weight: 500; color: var(--text); }
.result-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.result-row:last-child { border-bottom: none; }
.result-match { flex: 1; color: var(--text-2); min-width: 0; }
.result-match strong { color: var(--text); font-weight: 500; }
.tg-cta {
  background: linear-gradient(135deg, #1a1f3a 0%, #2d1f6e 100%);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}
.tg-icon { font-size: 28px; margin-bottom: 8px; }
.tg-title { font-family: var(--ff-display); font-size: 14px; color: white; font-weight: 700; margin-bottom: 4px; }
.tg-sub   { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.tg-btn {
  display: block;
  background: #229ED9;
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  transition: opacity var(--transition);
}
.tg-btn:hover { opacity: 0.88; }
.rg-widget { border: 1px solid var(--amber-bg); background: var(--amber-bg); }
.rg-text { font-size: 11px; color: var(--amber-text); line-height: 1.5; }
.rg-text strong { display: block; margin-bottom: 3px; }


/* ═══════════════════════════════════════════
   BLOG & ARTICLES
═══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
}
a.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-width: 0;
}
a.blog-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
a.blog-card .blog-title { transition: color 0.2s ease; }
a.blog-card:hover .blog-title { color: var(--purple); }
.blog-tag {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 7px;
}
.blog-title {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-excerpt {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.blog-meta-dot { width: 3px; height: 3px; background: var(--border-2); border-radius: 50%; }
.blog-reading-time { color: var(--purple); font-weight: 500; }

/* Featured article */
.article-featured {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.article-featured-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  padding: 28px 28px 20px;
  position: relative;
  overflow: hidden;
}
.article-featured-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(108,59,213,0.22) 0%, transparent 70%);
  border-radius: 50%;
}
.article-rank-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,59,213,0.3);
  border: 1px solid rgba(139,92,246,0.4);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 500;
  color: var(--purple-mid);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.article-rank-dot { width: 6px; height: 6px; background: var(--purple-lt); border-radius: 50%; }
.article-featured-title {
  font-family: var(--ff-display);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.article-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.article-author { display: flex; align-items: center; gap: 7px; }
.author-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  color: white;
  flex-shrink: 0;
}
.author-name  { font-size: 12px; color: rgba(255,255,255,0.7); }
.article-date { font-size: 11px; color: rgba(255,255,255,0.4); }
.article-read { font-size: 11px; color: var(--purple-mid); font-weight: 500; }
.article-body { padding: 24px 28px 28px; }
.article-intro {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
  border-left: 3px solid var(--purple);
  padding-left: 16px;
}
.article-toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.article-toc-title {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 10px;
}
.article-toc ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.article-toc li { font-size: 12px; color: var(--purple); }
.article-toc li a { color: inherit; }
.article-toc li a:hover { text-decoration: underline; }
.article-h2 {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.article-p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.article-highlight {
  background: var(--surface-2);
  border-left: 3px solid var(--purple);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}
[data-theme="dark"] .article-highlight { background: var(--purple-dim); }
.article-highlight p { font-size: 13px; color: var(--text-2); font-weight: 400; margin: 0; }
[data-theme="dark"] .article-highlight p { color: var(--purple-lt); }

/* Ranking table */
.ranking-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ranking-table th {
  background: var(--surface-2);
  padding: 8px 10px;
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.ranking-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  white-space: nowrap;
}
.ranking-table tr:last-child td { border-bottom: none; }
.ranking-table tr:hover td { background: var(--surface-2); }
.rank-num  { font-family: var(--ff-mono); font-size: 13px; font-weight: 500; color: var(--purple); }
.rank-team { font-weight: 500; color: var(--text); }
.rank-badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.rank-badge.hot  { background: var(--red-bg);   color: var(--red-text); }
.rank-badge.cool { background: var(--green-bg); color: var(--green-text); }

/* FAQ */
.article-faq { margin-top: 20px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: var(--card);
  user-select: none;
  width: 100%;
  text-align: left;
  border: none;
}
.faq-q:hover { color: var(--purple); }
.faq-q:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.faq-icon { font-size: 18px; color: var(--purple); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
[data-theme="dark"] .faq-a { background: var(--surface); }
.faq-item.open .faq-a { display: block; }


/* ═══════════════════════════════════════════
   FOOTER — IMPROVED COLUMN LAYOUT
   5 columns: Brand | Outcome | Goals | Stats+Special | Site
   All columns roughly equal height — no long orphan lists
═══════════════════════════════════════════ */
.site-footer {
  background: #0D0F1A;
  background-color: #0D0F1A;
  padding: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Main grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 0.9fr;
  gap: 0;
  padding: 36px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Dividers between columns */
.footer-col {
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child  { padding-right: 0; border-right: none; }

/* Brand column */
.footer-logo {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--purple-lt);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.footer-brand-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.36);
  line-height: 1.7;
  margin-bottom: 18px;
}
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--purple); color: white; }

/* Column heading */
.footer-col-title {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Column sub-heading (for multi-section columns) */
.footer-col-subtitle {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,0.18);
  margin: 14px 0 8px;
}

/* Links */
.footer-links { display: flex; flex-direction: column; }
.footer-link {
  font-size: 12px;
  color: rgba(255,255,255,0.46);
  padding: 4px 0;
  transition: color var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.footer-link:hover { color: rgba(255,255,255,0.88); }

/* Special/premium links — subtle purple tint */
.footer-link-special {
  color: var(--purple-mid);
}
.footer-link-special:hover { color: white; }

/* Legal bar */
.footer-bottom {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }
  .footer-col {
    padding: 0 20px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .footer-col:first-child { padding-left: 0; }
  .footer-col:nth-child(3n) { padding-right: 0; }
  .footer-col:last-child { border-bottom: none; }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col {
    padding: 0 16px 20px;
  }
  .footer-col:first-child,
  .footer-col:nth-child(odd) { padding-left: 0; }
  .footer-col:nth-child(even) { padding-right: 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col  { padding: 0 0 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal  { gap: 12px; }
}

/* Pill-row footer styles (kept for backward compat) */
.footer-brand-bar,
.footer-markets,
.footer-market-row,
.footer-market-links,
.footer-market-link,
.footer-market-link-special,
.footer-site-row,
.footer-site-links,
.footer-site-link { display: none; }


/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(108,59,213,0.4);
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }


/* ═══════════════════════════════════════════
   PAGE LOAD ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.5s ease both 0.1s; }
.hero-title   { animation: fadeUp 0.6s ease both 0.2s; }
.hero-desc    { animation: fadeUp 0.6s ease both 0.3s; }
.hero-stats   { animation: fadeUp 0.6s ease both 0.4s; }
.hero-acca    { animation: fadeUp 0.6s ease both 0.35s; }


/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-acca  { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar    { display: none; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .blog-grid  { grid-template-columns: repeat(2, 1fr); }
  .nav-links  { display: none; }
  .btn-hamburger { display: flex; }
  .mobile-nav { display: block; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤700px)
   Filter pills: horizontal scroll, tag-only
═══════════════════════════════════════════ */
@media (max-width: 700px) {

  .filter-group {
    align-items: center;
    position: relative;
  }

  /* Fade mask — hints at scrollable overflow */
  .filter-group::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(to right, transparent, var(--surface));
    pointer-events: none;
    z-index: 1;
  }
  [data-theme="dark"] .filter-group::after {
    background: linear-gradient(to right, transparent, var(--surface));
  }

  .filter-group-label {
    width: 48px;
    font-size: 8px;
    letter-spacing: 1px;
    padding-top: 0;
    padding-right: 4px;
  }

  /* Single-row, scrollable */
  .filter-group .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    padding-right: 28px; /* clear the fade mask */
  }
  .filter-group .filter-pills::-webkit-scrollbar { display: none; }

  /* Compact pill */
  .filter-pill {
    padding: 5px 10px;
    font-size: 10px;
    gap: 3px;
  }

  /* Hide long name — show tag code only */
  .pill-name { display: none; }

  /* Tag becomes the full label */
  .pill-tag {
    font-size: 10px;
    font-weight: 500;
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    letter-spacing: 0;
  }
  .filter-pill.active .pill-tag,
  .filter-pill:hover .pill-tag {
    background: transparent;
    color: inherit;
  }

  /* "All Markets" pill — no span children */
  .filter-pill:not(:has(.pill-name)) {
    font-size: 10px;
    padding: 5px 10px;
  }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero { padding: 32px 0 30px; }
  .hero-title { font-size: 28px; letter-spacing: -1px; }
  .hero-desc  { font-size: 13px; }
  .hero-stat + .hero-stat { padding-left: 16px; }
  .hero-stat-num { font-size: 24px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .blog-grid   { grid-template-columns: 1fr; }
  .article-body { padding: 16px 18px 20px; }
  .article-featured-banner { padding: 20px 18px 16px; }
  .ticker-bar  { display: none; }
  .back-top    { bottom: 16px; right: 16px; width: 36px; height: 36px; }
  .container   { padding: 0 16px; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — NARROW MOBILE (≤400px)
═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-title { font-size: 24px; }
  .hero-stats { flex-direction: column; gap: 10px; }
  .hero-stat + .hero-stat {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
  }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .market-chip { font-size: 11px; padding: 0 10px; }
  .nav-logo    { font-size: 20px; }
  .pred-match  { gap: 4px; }
  .article-featured-title { font-size: 18px; }
  .container   { padding: 0 12px; }
  .section-title { font-size: 19px; }
}


/* ═══════════════════════════════════════════
   FOLDABLE / DUAL SCREEN
═══════════════════════════════════════════ */
@media (horizontal-viewport-segments: 2) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-columns: env(viewport-segment-width 0 0) env(viewport-segment-width 1 0);
    gap: env(viewport-segment-left 1 0);
  }
  .sidebar { display: flex; }
}