:root {
  --bg: #070908;
  --bg-2: #0c110e;
  --surface: #101612;
  --surface-2: #161e18;
  --line: rgba(200, 255, 120, 0.12);
  --line-strong: rgba(232, 238, 233, 0.14);
  --text: #eef3ee;
  --muted: #8b978d;
  --faint: #5d675f;
  --lime: #c6ff3d;
  --lime-2: #9ae02a;
  --lime-dim: rgba(198, 255, 61, 0.12);
  --danger: #ff6b6b;
  --ok: #7cffb2;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --max: 1120px;
  --sans: "Sora", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--text); font-family: var(--sans); }
body { min-height: 100vh; line-height: 1.5; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 8, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; height: auto; padding: 10px 0;
  gap: 12px;
}
.site-header {
  padding-top: env(safe-area-inset-top);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; object-position: center 18%;
  border: 1px solid rgba(198,255,61,0.35);
  background: #050505;
}
.brand span { font-size: 15px; }
.hero-logo {
  width: min(220px, 58vw); height: auto; display: block;
  margin-bottom: 10px; filter: drop-shadow(0 12px 40px rgba(198,255,61,0.18));
}
.auth-logo { width: 150px; height: auto; display: block; margin: 0 auto 10px; }
.nav-desk { display: flex; gap: 22px; align-items: center; }
.nav-desk a { color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-desk a:hover, .nav-desk a.active { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.odds-toggle { display: flex; gap: 4px; }
.odds-toggle .tab { height: 32px; padding: 0 10px; font-size: 11px; }
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
}
.mobile-nav {
  display: none; border-top: 1px solid var(--line); padding: 12px 20px 18px;
  background: #070908;
}
.mobile-nav.open { display: grid; gap: 8px; }
.mobile-nav a { padding: 10px 4px; color: var(--muted); font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-lime { background: var(--lime); color: #10140c; }
.btn-lime:hover { background: #d6ff6a; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); }
.btn-lg { height: 46px; padding: 0 20px; }

/* Hero */
.hero {
  position: relative; padding: 72px 0 28px;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(198,255,61,0.08), transparent 55%),
    linear-gradient(180deg, #0b120d 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.kicker {
  color: var(--lime); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 700; }
h1 em { font-style: normal; color: var(--lime); }
.lede { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 520px; }
.hero-cta { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(16,22,18,0.7);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* Board card */
.board {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden;
}
.board-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.board-head strong { color: var(--text); font-weight: 600; }
.fx { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fx:last-child { border-bottom: 0; }
.fx:hover { background: rgba(198,255,61,0.03); }
.kick { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.teams { display: flex; flex-direction: column; gap: 2px; }
.teams b { font-size: 14px; font-weight: 600; }
.teams span { font-size: 12px; color: var(--muted); }
.pills { display: flex; gap: 6px; }
.pill {
  min-width: 58px; text-align: center; border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 7px; font-size: 11px; color: var(--muted);
}
.pill b { display: block; color: var(--text); font-size: 12px; }

/* Sections */
section { padding: 72px 0; }
.section-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.04em; line-height: 1.05; }
.sub { color: var(--muted); margin-top: 10px; max-width: 620px; }

.tabs { display: flex; gap: 8px; margin: 28px 0 16px; flex-wrap: wrap; }
.tab {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; height: 36px; padding: 0 14px; cursor: pointer; font-size: 13px;
}
.tab.active { background: var(--lime-dim); color: var(--lime); border-color: rgba(198,255,61,0.28); }

.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: auto; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 12px 14px; border-bottom: 1px solid var(--line); }
td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(255,255,255,0.015); }
.club { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.crest {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #fff; flex: none;
}
.live { color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.muted { color: var(--muted); }
.lock { color: var(--faint); font-size: 12px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3 { font-size: 18px; letter-spacing: -0.03em; margin: 8px 0 8px; }
.card p { color: var(--muted); font-size: 14px; }
.num {
  width: 32px; height: 32px; border-radius: 10px; background: var(--lime-dim); color: var(--lime);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

.proof { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; }
.stat-big { font-size: 64px; letter-spacing: -0.06em; font-weight: 700; line-height: 1; }
.stat-big span { color: var(--lime); }
.ledger { display: grid; gap: 8px; }
.hit, .miss {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px;
}
.badge-hit { color: var(--ok); font-weight: 700; }
.badge-miss { color: var(--danger); font-weight: 700; }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.price {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--surface);
}
.price.featured { border-color: rgba(198,255,61,0.35); box-shadow: 0 0 0 1px rgba(198,255,61,0.12); }
.price h3 { font-size: 22px; }
.amount { font-size: 42px; letter-spacing: -0.05em; margin: 10px 0 6px; }
.amount small { font-size: 16px; color: var(--muted); }
.price ul { margin: 18px 0 22px; display: grid; gap: 8px; color: var(--muted); font-size: 14px; list-style: none; }
.price li::before { content: "→ "; color: var(--lime); }

.page-hero { padding: 56px 0 20px; }
.disclaimer {
  margin-top: 20px; color: var(--faint); font-size: 12px;
}

footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: 13px;
}
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

/* Auth */
.auth-shell { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card {
  width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px;
}
.auth-card h1 { font-size: 28px; }
label { display: block; font-size: 12px; color: var(--muted); margin: 14px 0 6px; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #0b0f0c; color: var(--text); padding: 0 12px;
}
.note { margin-top: 14px; font-size: 12px; color: var(--faint); }

/* Match page */
.match-hero { padding: 36px 0 10px; }
.scoreline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; }
.side { text-align: center; flex: 1; }
.side .crest { width: 56px; height: 56px; font-size: 16px; margin: 0 auto 8px; }
.vs { color: var(--faint); font-family: var(--mono); }
.model { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 22px; }
.model div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.model b { display: block; font-size: 22px; letter-spacing: -0.04em; }
.style-pill {
  display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.style-lenient { background: rgba(124,255,178,0.15); color: var(--ok); }
.style-balanced { background: var(--lime-dim); color: var(--lime); }
.style-strict { background: rgba(255,107,107,0.15); color: var(--danger); }
.style-unknown, .style-ungraded { background: rgba(255,255,255,0.06); color: var(--muted); }
.analysis p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 8px; }
.analysis h3 { margin-bottom: 4px; }
.call-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.call-grid div { background: var(--surface-2); border-radius: 12px; padding: 14px; }
.call-grid b { display: block; font-size: 18px; margin-top: 4px; }
.form-pips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.pip-w, .pip-d, .pip-l {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.pip-w { background: rgba(124,255,178,0.2); color: var(--ok); }
.pip-d { background: rgba(255,255,255,0.08); color: var(--muted); }
.pip-l { background: rgba(255,107,107,0.2); color: var(--danger); }
.brief { color: var(--text); font-size: 16px; line-height: 1.7; }
.brief + .brief { margin-top: 10px; }
.history { display: grid; gap: 8px; margin-top: 12px; }
.history div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px;
}

.locked-panel {
  margin-top: 22px; border: 1px dashed rgba(198,255,61,0.25); border-radius: 16px;
  padding: 22px; background: linear-gradient(180deg, rgba(198,255,61,0.05), transparent);
}
.live-bar { display: grid; gap: 8px; padding: 12px 0 0; }
.live-chip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid rgba(198,255,61,0.28);
  border-radius: 12px; background: rgba(198,255,61,0.06);
}
.live-chip .threat { color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.live-chip.hot { border-color: #ff6b6b; background: rgba(255,107,107,0.12); }
.live-chip.hot .threat { color: #ff8a8a; }
.live-toast {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80; padding: 14px 16px; border-radius: 14px;
  background: #111; color: var(--text); border: 1px solid var(--lime);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
}

@media (max-width: 860px) {
  .nav-desk { display: none; }
  .header-actions .btn { display: none; }
  .menu-btn { display: grid; place-items: center; flex: none; }
  .header-inner { min-height: 56px; padding: 8px 0; gap: 8px; }
  .brand span { font-size: 13px; }
  .brand-logo { width: 36px; height: 36px; }
  .hero { padding: 28px 0 20px; }
  .hero-logo { width: min(140px, 42vw); margin-bottom: 8px; }
  h1 { font-size: clamp(30px, 11vw, 44px); line-height: 1.05; }
  .model, .call-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .proof, .price-grid, .grid-3, .model { grid-template-columns: 1fr; }
  .pills { display: flex; flex-wrap: wrap; justify-content: flex-end; }
  .pill { min-width: 46px; padding: 4px 5px; }
  .fx { grid-template-columns: 52px 1fr; }
  section { padding: 52px 0; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .fx { grid-template-columns: 52px 1fr; }
}
