/* SharpPicks — colors mirror app/SharpPicks/Utilities/Theme.swift */
:root {
  --bg: #0B0F0D;
  --surface: #141A16;
  --surface-2: #1B231E;
  --border: #243028;
  --mint: #00FF88;
  --mint-dim: rgba(0, 255, 136, 0.12);
  --purple: #7C4DFF;
  --coral: #FF4D4D;
  --text: #FFFFFF;
  --muted: #8A9A93;
  --radius: 16px;
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 13, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn { color: var(--bg); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mint); color: var(--bg);
  font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(0, 255, 136, 0.28); }
.btn-lg { font-size: 17px; padding: 15px 26px; }
.btn svg { width: 20px; height: 20px; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
.display { font-size: clamp(40px, 7vw, 76px); font-weight: 900; }
.display em, .h2 em { font-style: italic; color: var(--mint); }
.h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mint); margin-bottom: 16px;
}
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 34em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(0, 255, 136, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .lede { margin: 24px 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero-note { color: var(--muted); font-size: 14px; }
.rating { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.rating .stars { color: var(--mint); letter-spacing: 2px; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Game card (mirrors the in-app card) ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.game-card { max-width: 420px; margin-left: auto; width: 100%; }
@media (max-width: 900px) { .game-card { margin: 0 auto; } }
.gc-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 6px; background: var(--mint-dim); color: var(--mint); margin-right: 8px;
}
.gc-teams { margin: 18px 0; display: grid; gap: 6px; }
.gc-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 18px; }
.gc-row .odds { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.gc-row .meta { color: var(--muted); font-weight: 500; font-size: 14px; }
.gc-split { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 14px; }
.split-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.bar span:first-child { background: var(--mint); }
.bar span:last-child { background: var(--purple); }
.bar-nums { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.bar-nums .a { color: var(--mint); }
.bar-nums .b { color: #A68BFF; }
.gc-foot { font-size: 13px; color: var(--muted); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); margin-right: 6px; box-shadow: 0 0 0 0 rgba(0,255,136,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(0,255,136,0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,136,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .lede { margin-top: 18px; }
.alt { background: var(--surface); border-block: 1px solid var(--border); }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 900; letter-spacing: -0.03em; color: var(--mint); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* Bets vs money explainer */
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.explain ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.explain li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.explain li b { color: var(--text); }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 7px; }
.dot.mint { background: var(--mint); }
.dot.purple { background: var(--purple); }
.dot.grey { background: var(--muted); }
.callout { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--mint-dim); color: var(--text); font-size: 15px; }
.callout b { color: var(--mint); }
@media (max-width: 900px) { .explain { grid-template-columns: 1fr; gap: 40px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-dim); color: var(--mint); margin-bottom: 20px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* Screenshot gallery */
.gallery {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 20px; margin: 0 -20px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gallery img {
  flex: 0 0 auto; width: 260px; height: auto; aspect-ratio: 1260 / 2736;
  border-radius: 22px; border: 1px solid var(--border); scroll-snap-align: start;
  background: var(--surface);
}
.gallery .pair { display: flex; flex: 0 0 auto; scroll-snap-align: start; }
.gallery .pair img { border-radius: 0; border-inline: 0; }
.gallery .pair img:first-child { border-radius: 22px 0 0 22px; border-left: 1px solid var(--border); }
.gallery .pair img:last-child { border-radius: 0 22px 22px 0; border-right: 1px solid var(--border); }
@media (min-width: 1160px) { .gallery { justify-content: center; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; justify-content: center; }
.plan { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; }
.plan.featured { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), 0 20px 60px rgba(0, 255, 136, 0.12); }
.plan .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bg); background: var(--mint); padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 48px; font-weight: 900; letter-spacing: -0.03em; margin: 10px 0 4px; }
.plan .price small { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 15px; margin: 0; }
.fine { text-align: center; color: var(--muted); font-size: 13px; max-width: 640px; margin: 28px auto 0; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 400; color: var(--mint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; }

/* Final CTA */
.cta { text-align: center; }
.cta img { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 28px; box-shadow: 0 0 60px rgba(0, 255, 136, 0.25); }
.cta .lede { margin: 18px auto 34px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.disclaimer { font-size: 13px; line-height: 1.6; max-width: 820px; }
.disclaimer p { margin: 0 0 10px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 900; margin-bottom: 20px; }
.legal h2 { font-size: 20px; font-weight: 800; margin: 44px 0 12px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; letter-spacing: 0; }
.legal p, .legal li { color: #C3CFC9; font-size: 16px; overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .legal-meta { margin: 0; color: var(--muted); font-size: 15px; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 80px 20px; }
.notfound .lede { margin: 0 auto 12px; }
