:root {
  --bg: #07080c;
  --bg-2: #0d0f16;
  --bg-3: #141722;
  --panel: rgba(18, 20, 28, 0.72);
  --line: rgba(212, 175, 55, 0.18);
  --line-strong: rgba(212, 175, 55, 0.42);
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --gold-3: #9a7b24;
  --ink: #f4efe4;
  --muted: #9a937f;
  --dim: #6c6658;
  --teal: #3dccb4;
  --danger: #e35d6a;
  --ok: #3dcc8a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1180px;
  --nav-h: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 12px;
}
h1, h2, .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(42px, 6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 22px; margin: 0 0 8px; font-weight: 560; }
.lede { color: var(--muted); font-size: 18px; max-width: 640px; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #000; padding: 8px 12px; z-index: 80; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 12, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand span { font-size: 15px; }
.brand b { color: var(--gold-2); font-weight: 600; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 560; cursor: pointer; transition: 0.2s ease;
}
.btn-gold {
  background: linear-gradient(180deg, #f0d78c, #c49a2a);
  color: #1a1406;
  box-shadow: 0 8px 24px rgba(212,175,55,0.22);
}
.btn-gold:hover { transform: translateY(-1px); color: #1a1406; filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; }
.btn-wide { width: 100%; }

/* HERO */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% 10% auto;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(212,175,55,0.06);
  color: var(--gold-2); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero p.lede { margin: 22px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.stat b { display: block; font-family: var(--display); font-size: 32px; color: var(--gold-2); line-height: 1; }
.stat span { color: var(--dim); font-size: 13px; }
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.hero-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(7,8,12,0.78); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 10px 14px; border-radius: 12px; font-size: 13px;
}

/* SECTIONS */
section { padding: 88px 0; }
.section-head { margin-bottom: 36px; }
.section-head .lede { margin-top: 14px; }

.notice {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #0b0d13;
  padding: 14px 0;
  color: var(--muted);
  font-size: 13px;
}
.notice .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* CARDS / GAMES */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.game-card, .card, .price-card, .doc-card {
  background: linear-gradient(180deg, rgba(22,24,34,0.9), rgba(12,13,18,0.92));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}
.game-card { position: relative; }
.game-card img { width: 100%; height: 168px; object-fit: cover; }
.game-card .body, .card .body { padding: 16px; }
.game-card h3 { font-size: 17px; }
.game-card p, .muted { color: var(--muted); font-size: 13px; margin: 0; }
.tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--gold-2); padding: 3px 8px; border-radius: 999px;
}
.tag.soon { color: var(--muted); border-color: rgba(255,255,255,0.1); }
.game-card .tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* PLATFORM */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.arch {
  display: grid; gap: 10px;
}
.arch-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.arch-node {
  border: 1px solid var(--line);
  background: var(--bg-3);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
}
.arch-node b { display: block; color: var(--gold-2); font-size: 13px; margin-bottom: 4px; }
.arch-node span { color: var(--dim); font-size: 11px; }
.list { list-style: none; padding: 0; margin: 18px 0 0; }
.list li {
  position: relative; padding: 8px 0 8px 22px; color: var(--muted); font-size: 15px;
}
.list li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
}

/* PRICING */
.price-card { padding: 26px 24px 24px; display: flex; flex-direction: column; min-height: 100%; }
.price-card.featured {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.18), var(--shadow);
  transform: translateY(-6px);
}
.price-card .amount {
  font-family: var(--display); font-size: 46px; color: var(--gold-2); line-height: 1; margin: 10px 0 4px;
}
.price-card .amount small { font-size: 16px; color: var(--muted); }
.price-card ul { list-style: none; padding: 16px 0 20px; margin: 0; flex: 1; }
.price-card li { padding: 7px 0; color: var(--muted); font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.price-card li strong { color: var(--ink); font-weight: 540; }

.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }
.compare th { color: var(--gold-2); font-weight: 540; }
.compare td { color: var(--muted); }
.compare td.y { color: var(--ok); }
.table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; }

/* DOCS / CODE */
.code {
  background: #0a0c12;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 16px 18px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #d7d0bf;
  line-height: 1.55;
}
.code .k { color: #d4af37; }
.code .s { color: #3dccb4; }
.code .c { color: #6c6658; }

/* FORM */
form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  background: #10131b;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--dim); font-size: 12px; }
.form-ok, .form-err { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.form-ok { background: rgba(61,204,138,0.1); color: var(--ok); border: 1px solid rgba(61,204,138,0.3); }
.form-err { background: rgba(227,93,106,0.1); color: var(--danger); border: 1px solid rgba(227,93,106,0.3); }

/* FOOTER */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 42px 0 28px;
  color: var(--dim);
  font-size: 13px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
footer a { color: var(--muted); }
footer h4 { margin: 0 0 12px; color: var(--ink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 18px; }

.page-hero { padding: 56px 0 20px; }
.crumbs { color: var(--dim); font-size: 13px; margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

.disclaimer {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(212,175,55,0.05);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .hero-grid, .split, .grid-3, .grid-4, .arch-row, .foot-grid, .form-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #0b0d13; padding: 18px 22px 22px; border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .hero-visual img { min-height: 260px; }
  section { padding: 64px 0; }
}
