:root {
  --bg: #06080d;
  --bg-panel: #0b0e16;
  --bg-elev: #101521;
  --border: #1a1f2a;
  --border-strong: #222733;
  --text: #ededed;
  --text-muted: #8a8f98;
  --text-dim: #5a5f68;
  --green: #9dfbc1;
  --green-dim: #6fc292;
  --purple: #9214f1;
  --purple-dim: #6b0fb3;
  --purple-glow: rgba(146, 20, 241, 0.14);
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}
/* Kill iOS 300ms tap delay on interactive elements */
a, button, .btn, .stat, .user-card, .feed-row-v2, .sgp-row, summary, .tier-card, .stop {
  touch-action: manipulation;
}

body {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

.mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; font-feature-settings: "zero", "ss02"; }

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.panel-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(157, 251, 193, 0.12);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #06140a; }
.btn-primary:hover { background: #b2ffcf; }
.btn-gold, a.btn.btn-gold { background: #f5a742; color: #000; border: 1px solid #f5a742; font-weight: 600; }
.btn-gold:hover, a.btn.btn-gold:hover { background: #ffb85c; border-color: #ffb85c; color: #000; box-shadow: 0 0 18px rgba(245, 167, 66, 0.3); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: #2e3441; background: #0e121a; }
.btn-dark { background: #0e121a; color: var(--text); border: 1px solid var(--border-strong); }
.btn-disabled {
  background: rgba(146, 20, 241, 0.08) !important;
  color: var(--text-muted) !important;
  border: 1px dashed rgba(146, 20, 241, 0.4) !important;
  cursor: not-allowed !important;
  pointer-events: none;
}
.btn-signup {
  background: rgba(146, 20, 241, 0.08);
  color: var(--purple);
  border: 1px solid rgba(146, 20, 241, 0.45);
  font-weight: 600;
}
.btn-signup:hover {
  background: rgba(146, 20, 241, 0.18);
  border-color: var(--purple);
  color: #b94dff;
  box-shadow: 0 0 16px rgba(146, 20, 241, 0.25);
}

.ticker {
  background: #04060b;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: scroll 80s linear infinite;
  padding-left: 24px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--text-muted);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item .sport { color: var(--text-dim); margin-right: 8px; }
.ticker-item .label { color: var(--text); margin-right: 8px; }
.ticker-item .odd { color: var(--green); }

nav.top {
  border-bottom: 1px solid var(--border);
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
nav.top .wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.top a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
nav.top a:hover { color: var(--text); }
nav.top .links { display: flex; gap: 28px; }
nav.top .brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
nav.top .brand img { width: 22px; height: 20px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-signin { color: var(--text); font-size: 14px; text-decoration: none; padding: 8px 12px; }

.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
}
.hero-grid > * { min-width: 0; }

h1.hero {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 74px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 16px 0 20px;
  color: var(--text);
}
h1.hero em { font-style: normal; color: var(--green); }

.hero-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 460px;
  margin-bottom: 28px;
}

.cta-row { display: flex; gap: 10px; margin-bottom: 40px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 560px; }
.stat {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.stat:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.stat:hover .stat-arrow { opacity: 1; transform: translateY(2px); color: var(--green); }
.stat .label { font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; }
.stat-arrow { opacity: 0.5; transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease; font-size: 11px; }
.stat .value { font-family: "JetBrains Mono", monospace; font-size: 26px; margin-top: 8px; letter-spacing: -0.01em; color: var(--text); }
.stat .value.pos { color: var(--green); }
.stat svg.sparkline { position: absolute; bottom: 10px; right: 10px; opacity: 0.85; }

.feed-panel {
  min-height: 420px;
  overflow-x: hidden;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.feed-panel::-webkit-scrollbar { width: 6px; }
.feed-panel::-webkit-scrollbar-track { background: transparent; }
.feed-panel::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.feed-panel::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

.feed-panel .panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bg-panel);
}
.feed-row-v2 {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
  cursor: pointer;
}
.feed-row-v2:last-child { border-bottom: none; }
.feed-row-v2:hover { background: rgba(146, 20, 241, 0.04); }
.feed-row-v2:focus { outline: 1px solid var(--purple); outline-offset: -1px; }
.feed-row-v2.open { background: rgba(146, 20, 241, 0.06); }
.fr-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 16px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.fr-left { min-width: 0; max-width: 100%; }
.feed-row-v2, .sgp-row { max-width: 100%; overflow: hidden; }
.feed-panel > * { max-width: 100%; box-sizing: border-box; }
.fr-caret {
  color: var(--text-dim);
  font-size: 11px;
  margin-left: 8px;
  transition: transform 0.2s ease, color 0.15s ease;
  display: inline-block;
}
.feed-row-v2.open .fr-caret { transform: rotate(180deg); color: var(--purple); }
.fr-right { display: flex; align-items: center; gap: 10px; }
.fr-book-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 40px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #0e121a;
  flex-shrink: 0;
  overflow: hidden;
}
.fr-book-logo img {
  max-height: 28px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.fr-book-logo.book-chip-text {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.fr-left { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fr-bet { font-size: 13.5px; color: var(--text); font-weight: 500; line-height: 1.25; }
.fr-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
  flex-wrap: wrap;
}
.fr-meta .fr-book { color: var(--text-muted); }
.fr-metrics { display: flex; gap: 14px; margin-top: 4px; font-size: 11px; align-items: center; }
.fr-metric { color: var(--text-muted); display: inline-flex; gap: 5px; align-items: baseline; }
.fr-metric em {
  font-style: normal;
  color: var(--text-dim);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fr-metric.price { color: #e8c47a; font-weight: 600; }
.fr-metric.price em { color: rgba(232, 196, 122, 0.6); }

.book-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: #0e121a;
  padding: 2px 3px;
  overflow: hidden;
  flex-shrink: 0;
}
.book-chip img { max-height: 14px; max-width: 100%; object-fit: contain; filter: none; }
.book-chip-text { min-width: 36px; font-size: 9px; letter-spacing: 0.08em; color: var(--text-muted); }

.ev-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: var(--purple);
  color: #fff;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 68px;
  box-shadow: 0 0 16px rgba(146, 20, 241, 0.25);
}

.fr-expand {
  padding: 6px 12px 8px;
  border-top: 1px dashed var(--border);
  margin-top: -1px;
  background: rgba(0, 0, 0, 0.22);
  animation: fadeIn 0.15s ease;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}
.fr-expand::-webkit-scrollbar { width: 6px; }
.fr-expand::-webkit-scrollbar-track { background: transparent; }
.fr-expand::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }

.ls-loading {
  padding: 14px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ls-side {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid var(--border);
  min-width: 0;
  max-width: 100%;
}
.ls-side:first-of-type { border-top: none; padding-top: 2px; }
.ls-side-head {
  flex: 0 0 170px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 2px;
  min-width: 0;
}
.ls-side-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-right: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.ls-chip {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--bg-elev);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  line-height: 1.3;
  font-weight: 500;
}
.ls-chip.best {
  background: rgba(157, 251, 193, 0.14);
  color: var(--green);
  border-color: rgba(157, 251, 193, 0.45);
}

.ls-tiles {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.ls-tiles::-webkit-scrollbar { height: 5px; }
.ls-tiles::-webkit-scrollbar-track { background: transparent; }
.ls-tiles::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.ls-tiles::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

.ls-side:first-of-type .ls-tiles { scrollbar-width: none; }
.ls-side:first-of-type .ls-tiles::-webkit-scrollbar { height: 0; display: none; }

.ls-tile {
  flex: 0 0 62px;
  width: 62px;
  height: 74px;
  background: #0e121a;
  border: 1px solid var(--border);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 2px 4px;
  position: relative;
  transition: border-color 0.12s ease, transform 0.12s ease;
  box-sizing: border-box;
}
.ls-tile:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.ls-tile.best {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(157, 251, 193, 0.3) inset, 0 0 12px rgba(157, 251, 193, 0.15);
}
.ls-tile.empty {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--border);
  opacity: 0.3;
}

.ls-tile-limit {
  font-size: 8.5px;
  letter-spacing: 0.02em;
  color: var(--green);
  line-height: 1;
  height: 10px;
  display: block;
}
.ls-tile-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 28px;
  overflow: hidden;
  margin: 2px 0;
}
.ls-tile-logo {
  max-height: 24px;
  max-width: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}
.ls-tile-txt { font-size: 10px; color: var(--text); font-weight: 600; }
.ls-tile-odds {
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
  line-height: 1;
  margin-top: 1px;
}
.ls-tile.best .ls-tile-odds { color: var(--green); }
.ls-tile-bet {
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--green);
  text-decoration: none;
  line-height: 1;
  margin-top: 2px;
}
.ls-tile-bet span { margin-left: 1px; }
.ls-tile-bet.dim { color: var(--text-dim); }
.ls-tile-bet:hover { color: #b2ffcf; }

.ls-foot {
  padding: 8px 2px 0;
  color: var(--text-dim);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .ls-side, .ls-labels { grid-template-columns: 80px 90px 1fr; gap: 6px; }
  .ls-side-label { font-size: 11px; padding-left: 2px; }
}

.sgp-panel { margin-top: 14px; }
.sgp-panel .panel-head { color: var(--text); }
.sgp-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--purple-glow); color: var(--purple); border: 1px solid rgba(146,20,241,0.3); padding: 2px 8px; border-radius: 4px; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.1em; }
.sgp-pays { color: var(--green); font-family: "JetBrains Mono", monospace; }
.sgp-leg { display: grid; grid-template-columns: 1fr auto; padding: 11px 16px; border-bottom: 1px solid var(--border); align-items: center; font-size: 13.5px; }
.sgp-leg:last-child { border-bottom: none; }
.sgp-leg .meta { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.sgp-leg .odds { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--green); }

.section { max-width: 1280px; margin: 0 auto; padding: 80px 24px 24px; scroll-margin-top: 84px; }
.section-head { margin-bottom: 32px; max-width: 640px; }
.section-title { font-size: 42px; line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; margin: 10px 0 14px; color: var(--text); }
.section-sub { color: var(--text-muted); font-size: 15px; line-height: 1.55; max-width: 540px; }

/* Terminal-style markets reader */
.mkt-terminal {
  background: #0a0d14;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  max-width: 920px;
  margin: 0 auto;
}
.mkt-term-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #070a0f;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-muted);
}
.mkt-dots { display: inline-flex; gap: 5px; }
.mkt-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.mkt-dots i:nth-child(1) { background: #ff5f57; }
.mkt-dots i:nth-child(2) { background: #febc2e; }
.mkt-dots i:nth-child(3) { background: #28c840; }
.mkt-prompt { color: var(--text-muted); }
.mkt-prompt .mkt-flag { color: var(--purple); }
.mkt-term-total {
  margin-left: auto;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.mkt-term-tabs {
  display: flex;
  gap: 0;
  padding: 0 12px;
  background: #070a0f;
  border-bottom: 1px solid var(--border);
}
.mkt-tab {
  background: transparent;
  border: 0;
  padding: 10px 16px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(138, 143, 152, 0.45);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
  text-transform: uppercase;
}
.mkt-tab:hover { color: rgba(138, 143, 152, 0.8); }
.mkt-tab.active {
  color: rgba(146, 20, 241, 0.9);
  border-bottom-color: var(--purple);
}
.mkt-tab:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }

.mkt-term-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.7;
}
.mkt-term-loading { color: var(--text-dim); }

.mkt-line {
  display: grid;
  grid-template-columns: 44px 1fr auto auto auto auto auto;
  gap: 10px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px dotted transparent;
  transition: background 0.15s ease;
}
.mkt-line:hover { background: rgba(146, 20, 241, 0.04); }

.mkt-abbr {
  color: var(--purple);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-align: left;
}
.mkt-name {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: -0.005em;
}
.mkt-dots-fill {
  border-bottom: 1px dotted var(--border-strong);
  height: 1px;
  align-self: center;
  min-width: 20px;
}
.mkt-num {
  color: var(--green);
  font-weight: 600;
  text-align: right;
  min-width: 56px;
}
.mkt-num-sub { color: #e8c47a; min-width: 28px; }
.mkt-unit {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.mkt-term-foot {
  padding: 10px 16px;
  background: #070a0f;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.mkt-term-status { display: inline-flex; align-items: center; gap: 8px; }
.mkt-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(157, 251, 193, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
.mkt-cursor {
  color: var(--green);
  animation: blink 1s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 560px) {
  .mkt-line {
    grid-template-columns: 40px 1fr auto auto;
    gap: 8px;
  }
  .mkt-dots-fill { display: none; }
  .mkt-unit:nth-of-type(1) { display: none; }  /* hide "markets" label on mobile */
  .mkt-num { min-width: 0; }
  .mkt-num-sub::before { content: "/ "; color: var(--text-dim); }
  .mkt-term-body { font-size: 12px; }
  .mkt-prompt { display: none; }
}
@media (max-width: 400px) {
  .mkt-name { font-size: 12px; }
  .mkt-term-head { padding: 8px 12px; gap: 8px; }
  .mkt-term-body { padding: 10px 12px; }
}

.section-users { padding-bottom: 32px; scroll-margin-top: 84px; }

.section-how { scroll-margin-top: 84px; }
.how-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}
.how-step {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s ease;
  position: relative;
  min-height: 240px;
}
.how-step:hover { border-color: rgba(146, 20, 241, 0.35); }
.how-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--purple);
  margin-bottom: 4px;
}
.how-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.how-body {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 14px;
  min-height: 36px;
}
.how-arrow {
  align-self: center;
  color: var(--purple);
  font-size: 22px;
  letter-spacing: 0.05em;
  opacity: 0.5;
  font-weight: 300;
}

/* visual: watch — book chips with one pulsing */
.how-visual {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.how-visual-watch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.hv-book {
  width: 32px; height: 22px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #0e121a;
  display: flex; align-items: center; justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}
.hv-book img { max-height: 14px; max-width: 26px; object-fit: contain; }
.hv-book.hv-pulse {
  border-color: var(--purple);
  box-shadow: 0 0 0 0 rgba(146, 20, 241, 0.5);
  animation: hvPulse 2s ease-in-out infinite;
}
@keyframes hvPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(146, 20, 241, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(146, 20, 241, 0); }
}

/* visual: compare — odds card */
.how-visual-compare {
  display: flex; flex-direction: column; gap: 4px;
  font-family: "JetBrains Mono", monospace;
  width: 100%;
}
.hv-row { display: flex; justify-content: space-between; align-items: baseline; width: 100%; gap: 12px; }
.hv-row .hv-val { white-space: nowrap; flex-shrink: 0; }
.hv-label { font-size: 9px; letter-spacing: 0.14em; color: var(--text-dim); text-transform: uppercase; }
.hv-val { font-size: 14px; color: var(--text); font-weight: 600; }
.hv-gold { color: #e8c47a; }
.hv-edge {
  margin-top: 6px;
  padding: 4px 8px;
  background: var(--purple);
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.01em;
}

/* visual: catch — three channels */
.how-visual-catch {
  display: flex; flex-direction: column; gap: 6px;
}
.hv-channel {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px;
  background: rgba(146, 20, 241, 0.05);
  border: 1px solid rgba(146, 20, 241, 0.2);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.hv-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 6px rgba(157, 251, 193, 0.6);
}

/* visual: bet — link button */
.how-visual-bet {
  display: flex; align-items: center; justify-content: center;
}
.hv-betlink {
  padding: 8px 18px;
  background: rgba(157, 251, 193, 0.1);
  border: 1px solid rgba(157, 251, 193, 0.4);
  border-radius: 6px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hv-betlink span { display: inline-block; transition: transform 0.2s ease; }
.how-step:hover .hv-betlink span { transform: translate(2px, -2px); }

@media (max-width: 960px) {
  .how-flow { grid-template-columns: 1fr 1fr; }
  .how-arrow { display: none; }
}
@media (max-width: 560px) {
  .how-flow { grid-template-columns: 1fr; }
}

.section-faq { scroll-margin-top: 84px; padding-bottom: 60px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: rgba(146, 20, 241, 0.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { color: var(--text); font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; }
.faq-toggle {
  color: var(--purple);
  font-size: 16px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(146, 20, 241, 0.3);
  border-radius: 4px;
  background: rgba(146, 20, 241, 0.06);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.users-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 1100px) {
  .users-grid { grid-template-columns: repeat(4, 1fr); }
}
.user-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.user-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }

.user-card-img {
  padding: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
}
.user-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease, filter 0.2s ease;
  filter: saturate(0.95);
}
.user-card-img:hover { border-color: rgba(146, 20, 241, 0.4); }
.user-card-img:hover img { transform: scale(1.04); filter: saturate(1); }
.user-zoom {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  background: rgba(6, 8, 13, 0.85);
  border: 1px solid rgba(146, 20, 241, 0.5);
  color: var(--purple);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.user-card-img:hover .user-zoom { opacity: 1; }
.user-head { display: flex; justify-content: space-between; align-items: center; }
.user-stars {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #e8c47a;
}
.user-quote {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.005em;
  min-height: 60px;
}
.user-thumb {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.user-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 13, 0) 60%, rgba(6, 8, 13, 0.6) 100%);
  pointer-events: none;
}
.user-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95);
}
.user-card {
  cursor: pointer;
  position: relative;
}
.user-card:focus { outline: 2px solid var(--purple); outline-offset: 2px; }
.user-head-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-expand {
  background: rgba(232, 196, 122, 0.08);
  border: 1px solid rgba(232, 196, 122, 0.35);
  color: #e8c47a;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 500;
}
.user-card:hover .user-expand,
.user-expand:hover {
  background: rgba(232, 196, 122, 0.18);
  border-color: rgba(232, 196, 122, 0.6);
  color: #f5d994;
}
.users-footer { margin-top: 28px; display: flex; justify-content: center; }

.user-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.user-modal[hidden] { display: none !important; }
.user-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 11, 0.82);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.user-modal-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(146,20,241,0.14);
}
.user-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  width: 32px; height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.user-modal-close:hover { color: var(--text); background: var(--bg-elev); }
.user-modal-stars {
  font-size: 16px;
  letter-spacing: 0.2em;
  color: #e8c47a;
  margin-bottom: 14px;
}
.user-modal-quote {
  font-size: 18px;
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.user-modal-image {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}
.user-modal-image img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.user-modal-placeholder {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 24px;
  text-align: center;
}

.panel-sub-head {
  padding: 14px 16px 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(146, 20, 241, 0.025);
}
.sgp-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(146, 20, 241, 0.14);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

.sgp-row {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
  cursor: pointer;
}
.sgp-row:last-child { border-bottom: none; }
.sgp-row:hover { background: rgba(146, 20, 241, 0.05); }
.sgp-row:focus { outline: 1px solid var(--purple); outline-offset: -1px; }
.sgp-row.open { background: rgba(146, 20, 241, 0.08); }
.sgp-row.open .fr-caret { transform: rotate(180deg); color: var(--purple); }
.sgp-row-loading {
  padding: 16px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sgp-legcount {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--purple);
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(146, 20, 241, 0.1);
  border: 1px solid rgba(146, 20, 241, 0.3);
  margin-right: 6px;
  vertical-align: middle;
}
.sgp-league-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-right: 6px;
  vertical-align: middle;
}

.sgp-legs-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sgp-leg-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 3px 8px 3px 12px;
  font-size: 12px;
  line-height: 1.25;
  border-left: 2px solid rgba(146, 20, 241, 0.4);
}
.sgp-leg-subj {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sgp-leg-mkt {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sgp-leg-line {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  justify-self: end;
}

.books-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 84px;
}
.books-head {
  margin-bottom: 18px;
}
.books-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.books-track {
  display: flex;
  gap: 20px;
  align-items: center;
  animation: booksScroll 80s linear infinite;
  width: max-content;
  padding: 4px 0;
}
.books-marquee:hover .books-track { animation-play-state: paused; }
@keyframes booksScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.book-tile {
  flex-shrink: 0;
  height: 78px;
  min-width: 180px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(146, 20, 241, 0.18) 0%, rgba(146, 20, 241, 0.08) 70%, rgba(146, 20, 241, 0.04) 100%);
  border: 1px solid rgba(146, 20, 241, 0.3);
  box-shadow: 0 0 28px rgba(146, 20, 241, 0.22), inset 0 0 18px rgba(146, 20, 241, 0.08);
  transition: all 0.2s ease;
  position: relative;
}
.book-tile:hover {
  background: radial-gradient(ellipse at center, rgba(146, 20, 241, 0.3) 0%, rgba(146, 20, 241, 0.14) 70%, rgba(146, 20, 241, 0.06) 100%);
  border-color: rgba(146, 20, 241, 0.5);
  box-shadow: 0 0 40px rgba(146, 20, 241, 0.4), inset 0 0 24px rgba(146, 20, 241, 0.15);
  transform: translateY(-1px);
}
.book-logo {
  height: 42px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(0.9) brightness(1.15);
  opacity: 0.9;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.book-tile:hover .book-logo {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.sparkline { display: block; }

/* Mobile nav burger + drawer + sticky CTA */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 0.15s ease;
}
.nav-burger:hover { border-color: var(--purple); }
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(6, 8, 13, 0.97);
  backdrop-filter: blur(8px);
  z-index: 49;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: drawerIn 0.18s ease;
}
.nav-drawer[hidden] { display: none !important; }
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-drawer a {
  color: var(--text);
  font-size: 18px;
  text-decoration: none;
  padding: 16px 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.nav-drawer a.btn { margin-top: 18px; border: 1px solid var(--purple); padding: 14px 16px; text-align: center; font-size: 15px; }
body.no-scroll { overflow: hidden; }

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 48;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 13, 0.96) 30%);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.mobile-cta-bar .btn {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  text-align: center;
  display: block;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  h1.hero { font-size: 48px; line-height: 1; }
  .hero-sub { font-size: 15px; }
  nav.top .links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .users-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 20px 12px; }
  .section-title { font-size: 30px; line-height: 1.05; }
  .main { padding: 28px 20px 60px; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat .value { font-size: 22px; }
  .stat svg.sparkline { display: none; }
  .stat .label { font-size: 9px; letter-spacing: 0.1em; }
  .feed-panel { min-height: 380px; }
  .fr-main { padding: 12px 14px; gap: 10px; }
  .fr-bet { font-size: 12.5px; }
  .fr-meta { font-size: 9.5px; }
  .fr-metrics { gap: 10px; font-size: 10.5px; }
  .fr-book-logo { width: 44px; height: 32px; padding: 3px 6px; }
  .fr-book-logo img { max-height: 22px; }
  .ev-chip { padding: 5px 9px; min-width: 56px; font-size: 11px; }
  .sgp-leg-row { font-size: 11px; grid-template-columns: 1fr auto; gap: 6px; padding: 2px 6px 2px 10px; }
  .sgp-leg-mkt { display: none; }
  .books-section { padding: 32px 20px 20px; margin-top: 32px; }
  .book-tile { height: 60px; min-width: 140px; padding: 10px 18px; }
  .book-logo { height: 32px; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 76px; }
  .pricing-section .slider-card { padding: 18px 16px 22px; }
  .sc-head .right { width: 100%; align-items: flex-start; }
  .sc-head .right .price-display { font-size: 36px; }
  .tier-summary-grid { grid-template-columns: repeat(3, 1fr); padding: 0 20px; }
  .tick-labels { font-size: 9.5px; }
  .feat-cat-grid { grid-template-columns: 1fr; }
  .feat-cat-card.full-width { grid-column: 1; }
  .ticker { font-size: 10px; }
  .users-modal-card { padding: 16px; }
}
@media (max-width: 560px) {
  h1.hero { font-size: 40px; }
  .section-title { font-size: 26px; }
  .users-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .user-card-img { aspect-ratio: 4 / 3; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row .stat:last-child { grid-column: 1 / -1; }
  .tier-summary-grid { grid-template-columns: 1fr 1fr; }
  .tick-labels { font-size: 8.5px; }
  .sc-head .plan-name { font-size: 28px; }
  .sgp-event { font-size: 13px; }
  .ticker { display: none; }
  .panel-head, .panel-sub-head { font-size: 10px; }
  .nav-drawer { padding: 28px 22px; }
  .nav-drawer a { font-size: 17px; padding: 14px 6px; }
  /* cta buttons stay side-by-side on mobile, each takes 50% */
  .cta-row { flex-direction: row; gap: 8px; }
  .cta-row .btn { flex: 1 1 0; justify-content: center; padding: 14px 10px; min-height: 48px; font-size: 14px; min-width: 0; }
  .btn { min-height: 44px; }
  .feat-cat-card { padding: 18px 16px; }
}

@media (max-width: 400px) {
  h1.hero { font-size: 36px; }
  .section-title { font-size: 22px; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stat { padding: 10px 12px; }
  .stat .value { font-size: 18px; }
  .stat .label { font-size: 8.5px; }
  .users-grid { grid-template-columns: 1fr; gap: 8px; }
  .tier-summary-grid { grid-template-columns: 1fr; }
  .sc-head .plan-name { font-size: 24px; }
  .price-display { font-size: 30px !important; }
  .how-step { min-height: auto; padding: 18px 16px; }
  .main { padding: 24px 14px 60px; }
  /* feed + SGP rows: fit inside narrow viewport, hide caret, tighten gap */
  .fr-main { padding: 10px 12px; gap: 6px; }
  .fr-right { gap: 6px; }
  .fr-caret { display: none; }
  .fr-book-logo { width: 34px; height: 26px; padding: 2px 3px; }
  .fr-book-logo img { max-height: 16px; }
  .ev-chip { min-width: 44px; font-size: 10px; padding: 4px 6px; letter-spacing: -0.02em; }
  .book-tile { height: 52px; min-width: 118px; padding: 8px 14px; }
  .book-logo { height: 26px; }
  /* kill any rogue horizontal overflow at the page level */
  html, body { overflow-x: hidden; }
}

/* Respect reduced motion for users who need it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .books-track, .ticker-track { animation: none !important; }
}
