:root {
  --bg: #0d0e1a;
  --bg-2: #151729;
  --line: #262942;
  --text: #f3f2f7;
  --muted: #a3a5bd;
  --accent: #ff6a4d;
  --accent-2: #e8366b;
  --radius: 18px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

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

/* Header */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgb(13 14 26 / 0.75);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand b { font-family: "Space Grotesk", sans-serif; font-size: 21px; letter-spacing: -0.01em; }
.brand span { color: var(--muted); font-weight: 400; }
.top nav { display: flex; gap: 26px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 110px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgb(255 106 77 / 0.28), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgb(232 54 107 / 0.18), transparent); pointer-events: none; }
.eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 14px; margin-bottom: 26px; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 820px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 26px 0 38px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 600;
  text-decoration: none; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); margin-left: 10px; }

/* Sections */
section { padding: 90px 0; border-top: 1px solid var(--line); }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4.5vw, 44px); max-width: 720px; }
.sub { color: var(--muted); max-width: 680px; margin: 18px 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgb(255 106 77 / 0.12); color: var(--accent); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

.game { margin-top: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.game .art { min-height: 300px; position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgb(255 122 69 / 0.55), transparent 55%),
    radial-gradient(circle at 75% 70%, rgb(232 54 107 / 0.5), transparent 55%),
    #1b1d33; }
.game .art span { position: absolute; left: 24px; bottom: 22px; font-family: "Space Grotesk", sans-serif;
  font-size: 15px; color: rgb(255 255 255 / 0.8); letter-spacing: 0.12em; text-transform: uppercase; }
.game .info { padding: 40px; }
.tag { display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px;
  background: rgb(255 106 77 / 0.14); color: var(--accent); font-weight: 600; }
.game h3 { font-size: 28px; margin-bottom: 12px; }
.game p { color: var(--muted); margin: 0 0 12px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.platforms li { list-style: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
  font-size: 14px; color: var(--muted); }
.platforms { padding: 0; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.contact .card a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.doc { padding: 80px 0 100px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 10px; }
.doc .meta { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 23px; margin: 40px 0 12px; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc [id] { scroll-margin-top: 90px; }
.doc p, .doc li { color: #cfd0de; }
.doc a { color: var(--accent); }

@media (max-width: 860px) {
  .grid, .contact { grid-template-columns: 1fr; }
  .game { grid-template-columns: 1fr; }
  .game .art { min-height: 200px; }
  .game .info { padding: 28px; }
}
@media (max-width: 560px) {
  .top nav { gap: 16px; font-size: 14px; }
  .top nav .hide-sm { display: none; }
  .brand span { display: none; }
  .hero { padding: 80px 0 70px; }
  section { padding: 64px 0; }
  .btn.ghost { margin: 12px 0 0; }
}
