:root {
  --bg: #07080f;
  --bg-raised: #0e1020;
  --line: #1d2140;
  --text: #e8eaf6;
  --muted: #9aa0c3;
  --cyan: #5ee7ff;
  --violet: #a970ff;
  --gold: #ffc861;
  --radius: 18px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #9ef1ff; }

h1, h2, h3 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 8, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font: 700 18px/1 "Sora", sans-serif; letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 9px;
  background: conic-gradient(from 200deg, var(--cyan), var(--violet), var(--cyan));
  box-shadow: 0 0 18px rgba(94, 231, 255, 0.35);
}
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 88px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 120%;
  background:
    radial-gradient(40% 40% at 35% 40%, rgba(169, 112, 255, 0.22), transparent 70%),
    radial-gradient(35% 35% at 65% 45%, rgba(94, 231, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 7vw, 68px); }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 19px; }

/* ---------- game card ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-title { font-size: 30px; margin-bottom: 28px; }

.game {
  display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center;
  background: linear-gradient(160deg, var(--bg-raised), #0a0b17);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
}
.game-icon {
  width: 100%; height: auto; aspect-ratio: 1; align-self: center; border-radius: 22%;
  box-shadow: 0 20px 60px rgba(120, 90, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: block;
}
.game h3 { font-size: 34px; margin-bottom: 6px; }
.game .tagline { color: var(--gold); font-weight: 600; margin: 0 0 16px; }
.game p { color: var(--muted); margin: 0 0 14px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--text); font-size: 14px; font-weight: 500;
}
.badge small { color: var(--muted); font-size: 12px; }

/* ---------- info grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal .meta { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal h3 { font-size: 18px; margin-top: 28px; }
.legal p, .legal li { color: #c9cde6; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td {
  text-align: left; vertical-align: top;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.legal th { color: var(--text); font-weight: 600; }
.legal td { color: #c9cde6; }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted); font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .site-nav { gap: 16px; }
  .hero { padding: 64px 0 56px; }
  .hero p { font-size: 17px; }
  .section { padding: 52px 0; }
  .game { grid-template-columns: 1fr; gap: 28px; padding: 24px; text-align: center; }
  .game-icon { max-width: 200px; margin: 0 auto; }
  .badges { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-direction: column; }
}

@media (max-width: 400px) {
  .brand span { display: none; }
}
