:root {
  color-scheme: dark;
  --bg: #0b0d14;
  --surface: #121524;
  --surface-2: #171b2e;
  --line: rgba(255, 255, 255, 0.08);
  --fg: #eef0f8;
  --muted: #a0a6c0;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(60rem 32rem at 75% -10%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(40rem 26rem at 0% 30%, rgba(34, 211, 238, 0.1), transparent 70%),
    var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--accent), #5b3fd0 60%, #3b2a9a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); color: #fff; font-size: 13px; font-weight: 800;
}
.site-nav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--fg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; padding: 48px 0 72px; }
.eyebrow { margin: 0 0 14px; color: var(--accent-2); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(38px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, #c4b5fd, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin: 20px 0 0; max-width: 32rem; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none; letter-spacing: 0.01em;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: translateY(2px); }
.btn-primary { background: linear-gradient(135deg, #a78bfa, var(--accent) 55%, #6d4ae0); color: #fff; box-shadow: 0 3px 0 rgba(0,0,0,0.35), 0 10px 30px rgba(139,92,246,0.35); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.age { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Hero art: a phone showing a lobby of game tiles */
.art { position: relative; justify-self: center; width: 100%; max-width: 420px; aspect-ratio: 1 / 1.08; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb.o1 { width: 38%; aspect-ratio: 1; left: 2%; top: 10%; background: radial-gradient(circle at 35% 30%, #c4b5fd, #7c3aed 60%, transparent 72%); opacity: 0.55; }
.orb.o2 { width: 26%; aspect-ratio: 1; right: 4%; bottom: 8%; background: radial-gradient(circle at 35% 30%, #a5f3fc, #0891b2 60%, transparent 72%); opacity: 0.5; }
.phone {
  position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 9 / 18.5; transform: translate(-50%, -50%) rotate(-6deg);
  padding: 10px; border-radius: 34px; background: linear-gradient(160deg, #2a2f45, #141726);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.screen {
  position: relative; height: 100%; border-radius: 26px; overflow: hidden; padding: 14px 10px;
  background: linear-gradient(180deg, #151a30, #0d1020);
  display: flex; flex-direction: column; gap: 10px;
}
.screen .bar { display: flex; align-items: center; justify-content: space-between; }
.screen .bar b { width: 34%; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.75); }
.screen .bar i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(150deg, var(--accent), var(--accent-2)); }
.screen .live { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; color: #a5f3fc; text-transform: uppercase; }
.screen .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.25); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.tile svg { width: 42%; height: 42%; fill: rgba(255,255,255,0.92); }
.t1 { background: linear-gradient(145deg, #8b5cf6, #4c1d95); }
.t2 { background: linear-gradient(145deg, #22d3ee, #0e7490); }
.t3 { background: linear-gradient(145deg, #f472b6, #9d174d); }
.t4 { background: linear-gradient(145deg, #fbbf24, #b45309); }
.wide { height: 38px; border-radius: 12px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.wide i { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(145deg, #34d399, #047857); }
.wide b { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.35); }
.play { margin-top: auto; height: 34px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: #fff; background: linear-gradient(135deg, #a78bfa, var(--accent)); }

/* Feature cards */
.features { padding: 8px 0 88px; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -0.02em; }
.section-head p { margin: 10px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
}
.feature .icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(139, 92, 246, 0.16); color: #c4b5fd;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 13px; }
.site-foot .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--fg); }
.site-foot .note { margin: 14px 0 0; }

/* Legal pages */
.legal { max-width: 760px; padding: 32px 0 80px; }
.legal h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.025em; line-height: 1.1; }
.legal .updated { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 36px 0 10px; font-size: 20px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #d3d7e8; font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { color: #c4b5fd; }
.legal .box { margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 24px 0 56px; }
  .art { max-width: 360px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-nav { gap: 14px; }
  .grid { grid-template-columns: 1fr; }
  .hero .lead { font-size: 17px; }
}
