:root {
  --bg: #0b0a12;
  --panel: #14121f;
  --panel-2: #1b1830;
  --line: #2a2640;
  --text: #f1eef9;
  --muted: #a19db3;
  --brand: #7c5cff;
  --mint: #3ddc97;
  --gold: #ffc857;
  --red: #ff5c7a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
a { color: var(--mint); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: rgba(11, 10, 18, .9); position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 8px 16px; min-height: 64px; padding-block: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-style: italic; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 560px) {
  .top { position: static; }
  .top nav { margin-left: 0; width: 100%; gap: 14px; }
  .top nav a { font-size: .9rem; }
}
.logo img { width: 34px; height: 34px; border-radius: 50%; }
.top nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); }

/* hero */
.hero { padding: 56px 0 24px; }
.hero img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.eyebrow { color: var(--mint); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin: 0 0 8px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; margin: 0 0 12px; font-style: italic; font-weight: 900; }
h2 { font-size: 1.5rem; margin: 0 0 12px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-primary { background: #6a48ff; color: #fff; }
.btn-primary:hover { background: #5a38ef; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-danger { background: transparent; color: var(--red); border: 1px solid rgba(255, 92, 122, .4); }
.btn-riot { background: #d10024; color: #fff; }
.btn-riot:hover { background: #b0001e; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* sections & cards */
section { padding: 40px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.pill-mint { background: rgba(61, 220, 151, .14); color: var(--mint); }
.pill-gold { background: rgba(255, 200, 87, .14); color: var(--gold); }
.pill-muted { background: rgba(255, 255, 255, .07); color: var(--muted); }
.note { border-left: 3px solid var(--gold); background: rgba(255, 200, 87, .06); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--text); }

/* demo */
.steps { display: flex; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 700; }
.steps li.on { color: #fff; border-color: var(--brand); background: rgba(124, 92, 255, .18); }
.steps li.done { color: var(--mint); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 720px; }
.consent { display: grid; gap: 12px; margin: 18px 0; }
.consent label { display: flex; gap: 12px; align-items: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.consent small { display: block; color: var(--muted); }
.fake-riot { max-width: 420px; margin: 0 auto; background: #fff; color: #111; border-radius: 12px; padding: 28px; text-align: center; }
.fake-riot .fr-head { font-weight: 900; letter-spacing: .06em; color: #eb0029; margin-bottom: 8px; }
.fake-riot p { color: #444; font-size: .95rem; }
.fake-riot ul { text-align: left; color: #333; font-size: .92rem; }

.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--mint)); display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; color: #0b0a12; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 20px 0; }
.stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat b { display: block; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.win { color: var(--mint); font-weight: 700; }
.loss { color: var(--red); font-weight: 700; }
.hidden { display: none !important; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { margin-top: 28px; font-size: 1.2rem; }
.legal li { margin: 6px 0; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: .88rem; }
footer .wrap { display: grid; gap: 10px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
