/* OptimaPoker — brand system. Dark felt, one emerald accent, reserved gold. Restraint is the luxury. */
:root {
  --bg: #06090a;
  --bg-2: #0a0f0e;
  --panel: #0d1413;
  --line: #1c2523;
  --ink: #e9eeec;
  --muted: #8fa09a;
  --accent: #16c58a;
  --accent-dim: rgba(22, 197, 138, 0.14);
  --gold: #d9b45b;
  --radius: 14px;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16.5px;
}
::selection { background: var(--accent-dim); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .poker { color: var(--muted); font-weight: 500; }
.nav-cta {
  background: var(--accent); color: #04150e; font-weight: 700; font-size: 14.5px;
  padding: 9px 18px; border-radius: 10px; transition: transform 0.12s ease, filter 0.12s ease;
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────── */
.hero { text-align: center; padding: 72px 0 24px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800;
}
.hero h1 .opt { color: var(--accent); }
.hero .sub {
  margin: 22px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(17px, 2vw, 20px);
}
.hero .sub strong { color: var(--ink); font-weight: 600; }
.cta-row { margin-top: 34px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #04150e; font-weight: 800; font-size: 17px;
  padding: 15px 30px; border-radius: 13px;
  box-shadow: 0 8px 32px rgba(22, 197, 138, 0.28);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { color: var(--muted); font-size: 15px; }
.microcopy { margin-top: 14px; color: var(--muted); font-size: 13px; }
.microcopy a { color: var(--muted); text-decoration: underline; }

.hero-shot { margin: 54px auto 0; position: relative; }
.hero-shot img {
  width: 100%; border-radius: 16px; border: 1px solid var(--line); display: block;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 120px rgba(22, 197, 138, 0.06);
}

/* ── Receipts strip ──────────────────────────────────── */
.receipts {
  margin: 70px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.receipts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 34px; padding-bottom: 34px; }
.receipt { text-align: center; }
.receipt .num { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.receipt .num .u { color: var(--accent); }
.receipt .lbl { margin-top: 4px; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .receipts .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ── Sections ────────────────────────────────────────── */
section.block { padding: 88px 0 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.12em; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.12; margin-top: 10px; font-weight: 800; }
.lede { color: var(--muted); max-width: 640px; margin-top: 14px; font-size: 17.5px; }

.moment { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 46px; }
.moment.flip .shot { order: 2; }
.moment .shot img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: block; }
.moment h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.moment p { color: var(--muted); }
.moment p strong { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .moment { grid-template-columns: 1fr; } .moment.flip .shot { order: 0; } }

/* The reads mock (CSS-built, matches the app's read chips) */
.reads-mock {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.reads-mock .title { font-size: 12px; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.reads-mock .row { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.reads-mock .seat { color: var(--muted); font-size: 14px; min-width: 52px; }
.chip {
  border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
}
.chip.on { border-color: rgba(22,197,138,0.6); color: var(--accent); background: var(--accent-dim); font-weight: 600; }
.reads-mock .shift {
  margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px;
  font-size: 14.5px; color: var(--muted);
}
.reads-mock .shift .badge {
  display: inline-block; background: rgba(217,180,91,0.12); color: var(--gold); border-radius: 6px;
  font-size: 11.5px; font-weight: 700; padding: 2px 8px; letter-spacing: 0.06em; margin-right: 8px;
}
.reads-mock .shift strong { color: var(--ink); }

/* ── Feature grid ────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px;
}
.card .ico { font-size: 20px; }
.card h4 { margin-top: 10px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }

/* ── Private strip ───────────────────────────────────── */
.private {
  margin-top: 88px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.private .wrap { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.private h2 { margin-top: 8px; }
.private .lede { margin-left: auto; margin-right: auto; }

/* ── Download ────────────────────────────────────────── */
.download { text-align: center; padding: 96px 0 40px; }
.dl-panel {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: 20px; padding: 56px 32px;
}
.download h2 .op { color: var(--gold); }
.sysreq { margin-top: 16px; color: var(--muted); font-size: 13.5px; }

.install-guide { margin: 34px auto 0; max-width: 720px; text-align: left; }
.ig-head { text-align: center; font-size: 13.5px; color: var(--muted); }
.ig-flow {
  margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.ig-step {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 16px 14px; position: relative;
}
.ig-num {
  width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); color: var(--accent); font-size: 12px; font-weight: 800;
}
.ig-title { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.ig-title em { font-style: normal; color: var(--accent); }
.ig-detail { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ig-detail em { font-style: normal; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .ig-flow { grid-template-columns: 1fr; } }

/* ── Footer ──────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); margin-top: 60px; }
footer .wrap {
  padding-top: 30px; padding-bottom: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
footer .fine { color: var(--muted); font-size: 13px; }
footer .links { display: flex; gap: 22px; font-size: 13.5px; }
footer .links a { color: var(--muted); }
footer .links a:hover { color: var(--ink); }

/* ── Legal pages ─────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h1 { font-size: 34px; letter-spacing: -0.03em; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: #c3cdc8; font-size: 15.5px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal .note { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: 14.5px; color: var(--muted); }
