:root {
  --bg: #06101d;
  --bg-2: #091827;
  --surface: #0d1c2d;
  --surface-2: #12263b;
  --surface-3: #17304a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f8fc;
  --muted: #9fb1c3;
  --soft: #c9d5e0;
  --cyan: #39e6c8;
  --cyan-dark: #18a993;
  --violet: #8a6cff;
  --gold: #ffc85a;
  --danger: #ff8090;
  --success: #73e6a9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(138, 108, 255, 0.13), transparent 32rem),
    radial-gradient(circle at 10% 18%, rgba(57, 230, 200, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

::selection { background: rgba(57, 230, 200, 0.24); color: white; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  background: white;
  color: #07111f;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-topline {
  border-bottom: 1px solid var(--line);
  background: rgba(4, 12, 22, 0.82);
  color: var(--muted);
  font-size: 0.78rem;
}
.site-topline .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topline-badge::before {
  content: "18+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.17);
  color: var(--soft);
  font-size: .68rem;
  font-weight: 900;
}
.topline-note { text-align: right; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 29, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  border: 1px solid rgba(57, 230, 200, .25);
  background: linear-gradient(145deg, rgba(57,230,200,.18), rgba(138,108,255,.16));
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(57,230,200,.06);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
}
.brand-mark::before { width: 7px; height: 7px; top: 8px; left: 15px; box-shadow: -8px 8px 0 -1px rgba(255,255,255,.75), 8px 8px 0 -1px rgba(255,255,255,.75), 0 16px 0 -1px rgba(255,255,255,.75); }
.brand-mark::after { width: 10px; height: 10px; left: 14px; bottom: 3px; background: var(--gold); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1rem; }
.brand-copy span { margin-top: 4px; font-size: .66rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 13px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; }
.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 10px);
  display: none;
  padding: 10px;
  background: #0b1929;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: grid; }
.site-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--soft);
  font-weight: 750;
  font-size: .95rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: rgba(57,230,200,.09); color: white; }

.hero {
  padding: 54px 0 26px;
  overflow: hidden;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .78rem;
}
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-hidden="true"] { opacity: .45; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.35rem, 10vw, 4.6rem); max-width: 870px; }
h2 { font-size: clamp(1.75rem, 6.5vw, 3rem); }
h3 { font-size: 1.12rem; }
.hero-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 1.04rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.button-primary { color: #06101d; background: var(--cyan); border-color: transparent; }
.button-primary:hover { background: #6ef2da; }
.button-secondary { background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: rgba(57,230,200,.35); background: rgba(57,230,200,.07); }
.button svg { width: 18px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: .78rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

.hero-grid { display: grid; gap: 26px; }
.hero-panel {
  position: relative;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(57,230,200,.09), transparent 46%),
    linear-gradient(330deg, rgba(138,108,255,.13), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -110px;
  top: -120px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 0 0 36px rgba(255,255,255,.02), 0 0 0 72px rgba(255,255,255,.015);
}
.hero-panel-kicker { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.hero-panel-number { margin-top: 8px; font-size: 3.15rem; font-weight: 950; letter-spacing: -.06em; }
.hero-panel-number small { font-size: 1rem; color: var(--cyan); letter-spacing: normal; }
.hero-panel-copy { max-width: 300px; color: var(--soft); margin: 8px 0 0; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 20px; }
.hero-stat { padding: 13px; border-radius: 15px; background: rgba(2, 9, 16, .42); border: 1px solid var(--line); }
.hero-stat strong { display:block; font-size: .92rem; }
.hero-stat span { display:block; margin-top: 2px; color: var(--muted); font-size: .72rem; }

.section { padding: 42px 0; }
.section-tight { padding: 26px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
.section-head p { margin: 12px 0 0; color: var(--muted); }
.section-label { display: block; margin-bottom: 10px; color: var(--cyan); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 900; }

.notice {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 200, 90, .18);
  background: rgba(255, 200, 90, .06);
  border-radius: 16px;
  color: #f8e5b8;
  font-size: .88rem;
}
.notice-icon { flex: 0 0 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,200,90,.12); font-weight: 900; }
.notice strong { color: white; }

.quick-grid,
.card-grid,
.cluster-grid,
.check-grid { display: grid; gap: 14px; }
.quick-card,
.info-card,
.cluster-card,
.check-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent), var(--surface);
  border-radius: var(--radius-md);
}
.quick-card { padding: 20px; }
.quick-card .num { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:11px; background: rgba(57,230,200,.09); color: var(--cyan); font-weight:900; font-size:.8rem; }
.quick-card h3 { margin-top: 16px; }
.quick-card p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }

.info-card { padding: 22px; }
.info-card p { margin: 10px 0 0; color: var(--muted); }
.info-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--soft); }
.info-card li + li { margin-top: 7px; }

.content-grid { display: grid; gap: 24px; }
.prose {
  color: var(--soft);
  font-size: .98rem;
}
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose strong { color: white; }
.prose a { color: var(--cyan); text-underline-offset: 3px; }
.prose h2 { margin: 34px 0 14px; color: white; }
.prose h3 { margin: 24px 0 10px; color: white; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }

.sidebar-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.sidebar-card + .sidebar-card { margin-top: 14px; }
.sidebar-card h3 { margin-bottom: 12px; }
.sidebar-card a { display: block; padding: 8px 0; color: var(--soft); text-decoration: none; border-bottom: 1px solid var(--line); }
.sidebar-card a:last-child { border-bottom: 0; }
.sidebar-card a:hover { color: var(--cyan); }

.demo-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #07111f;
  box-shadow: var(--shadow);
}
.demo-toolbar {
  padding: 13px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #0b1928;
}
.demo-toolbar strong { font-size: .9rem; }
.demo-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; }
.demo-status::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--success); box-shadow: 0 0 0 4px rgba(115,230,169,.08); }
.demo-area { padding: 14px; }
.plinko-board {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% -5%, rgba(57,230,200,.12), transparent 38%),
    radial-gradient(circle, rgba(240,249,255,.72) 0 2px, transparent 2.5px) 0 0 / 34px 34px,
    radial-gradient(circle, rgba(240,249,255,.42) 0 2px, transparent 2.5px) 17px 17px / 34px 34px,
    linear-gradient(180deg, #0d2134, #091725 84%);
  overflow: hidden;
}
.plinko-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,16,29,.84), transparent 11%, transparent 89%, rgba(6,16,29,.84));
  pointer-events: none;
}
.demo-ball {
  position: absolute;
  z-index: 3;
  left: calc(50% - 8px);
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255,200,90,.12), 0 0 22px rgba(255,200,90,.55);
  transform: translate3d(0,0,0);
}
.multiplier-row {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  z-index: 2;
}
.multiplier {
  min-width: 0;
  padding: 9px 2px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.07);
  color: #d8e6f3;
  font-size: .58rem;
  font-weight: 900;
}
.multiplier:nth-child(1), .multiplier:nth-child(9) { background: rgba(255,128,144,.14); color: #ffc2ca; }
.multiplier:nth-child(2), .multiplier:nth-child(8) { background: rgba(255,200,90,.12); color: #ffe0a0; }
.multiplier:nth-child(5) { background: rgba(57,230,200,.10); color: #a7f6e8; }
.demo-controls {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.demo-control-copy {
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.demo-control-copy span { display:block; color:var(--muted); font-size:.72rem; }
.demo-control-copy strong { display:block; margin-top:2px; font-size:.9rem; }
.demo-note { margin: 12px 0 0; color: var(--muted); font-size: .75rem; }

.step-list { counter-reset: steps; display: grid; gap: 12px; }
.step {
  counter-increment: steps;
  position: relative;
  padding: 20px 18px 20px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.step::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(138,108,255,.12);
  color: #bcb0ff;
  font-size: .72rem;
  font-weight: 900;
}
.step p { margin: 7px 0 0; color: var(--muted); }

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: .88rem;
}
.compare-table th,
.compare-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table th { color: white; background: rgba(255,255,255,.035); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.compare-table td { color: var(--soft); }
.compare-table tr:last-child td { border-bottom: 0; }
.table-good { color: var(--success); font-weight: 800; }
.table-warn { color: var(--gold); font-weight: 800; }

.risk-scale { display: grid; gap: 12px; }
.risk-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.risk-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.risk-pill { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.05); font-size:.68rem; font-weight:900; color: var(--muted); }
.risk-card p { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.risk-meter { height: 7px; margin-top: 14px; border-radius:999px; background: rgba(255,255,255,.06); overflow:hidden; }
.risk-meter span { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }

.cluster-card {
  display: block;
  padding: 21px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.cluster-card:hover { transform: translateY(-3px); border-color: rgba(57,230,200,.28); }
.cluster-card .mini-label { color: var(--cyan); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; font-weight:900; }
.cluster-card h3 { margin-top: 10px; }
.cluster-card p { margin: 8px 0 0; color: var(--muted); font-size:.88rem; }
.cluster-card .arrow { margin-top: 15px; display:inline-flex; align-items:center; gap:6px; color:var(--soft); font-weight:800; font-size:.8rem; }

.check-card { padding: 18px; }
.check-icon { width: 34px; height: 34px; display:grid; place-items:center; border-radius:11px; background: rgba(57,230,200,.09); color:var(--cyan); font-weight:900; }
.check-card h3 { margin-top: 14px; }
.check-card p { margin: 8px 0 0; color: var(--muted); font-size:.88rem; }

.redflag-list { display: grid; gap: 10px; }
.redflag { display:flex; gap:12px; padding: 15px; border:1px solid rgba(255,128,144,.13); border-radius:16px; background: rgba(255,128,144,.035); }
.redflag strong { display:block; }
.redflag p { margin:4px 0 0; color:var(--muted); font-size:.86rem; }
.redflag-icon { flex:0 0 30px; height:30px; display:grid; place-items:center; border-radius:10px; color:#ffb3bd; background:rgba(255,128,144,.09); font-weight:900; }

.faq-list { display: grid; gap: 10px; }
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 17px 48px 17px 17px;
  font-weight: 800;
}
summary::-webkit-details-marker { display:none; }
summary::after {
  content: "+";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:rgba(255,255,255,.05);
  color:var(--cyan);
}
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 17px 17px; color: var(--muted); }

.cta-band {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(57,230,200,.18);
  background:
    linear-gradient(135deg, rgba(57,230,200,.10), transparent 55%),
    linear-gradient(315deg, rgba(138,108,255,.09), transparent 55%),
    var(--surface);
}
.cta-band p { margin: 10px 0 0; color: var(--muted); }
.cta-band .hero-actions { margin-top: 18px; }

.site-footer {
  margin-top: 38px;
  padding: 34px 0 22px;
  border-top: 1px solid var(--line);
  background: rgba(2,8,15,.28);
}
.footer-grid { display:grid; gap:24px; }
.footer-copy p { max-width: 520px; margin: 12px 0 0; color: var(--muted); font-size: .84rem; }
.footer-nav { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; }
.footer-nav a { color: var(--soft); text-decoration:none; font-size:.86rem; }
.footer-nav a:hover { color:var(--cyan); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top:1px solid var(--line); color: var(--muted); font-size:.74rem; display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:space-between; }

.mobile-bar {
  position: fixed;
  z-index: 45;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px;
  border-radius: 17px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 20, 33, .94);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.mobile-bar a { padding: 9px 7px; border-radius: 11px; text-decoration:none; text-align:center; color:var(--muted); font-size:.68rem; font-weight:850; }
.mobile-bar a[aria-current="page"] { background: rgba(57,230,200,.10); color:white; }
body { padding-bottom: 78px; }

@media (min-width: 560px) {
  .quick-grid, .card-grid, .check-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .demo-controls { grid-template-columns: 1fr auto; align-items:stretch; }
  .demo-controls .button { min-width: 170px; }
  .cluster-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 760px) {
  .container { width: min(100% - 48px, var(--container)); }
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav a { padding: 9px 13px; }
  .hero { padding: 72px 0 34px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items:center; }
  .hero-panel { min-height: 390px; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .content-grid { grid-template-columns: minmax(0, 1fr) 280px; align-items:start; }
  .content-sidebar { position:sticky; top:94px; }
  .step-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .risk-scale { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cluster-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .check-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.3fr .7fr; align-items:start; }
  .mobile-bar { display:none; }
  body { padding-bottom:0; }
}

@media (min-width: 1000px) {
  .section { padding: 58px 0; }
  .demo-area { padding: 18px; }
  .plinko-board { min-height: 470px; }
  .multiplier { font-size:.7rem; padding:11px 4px; }
  .hero-panel { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
