:root {
  --bg: #05070d;
  --panel: #0b1220;
  --line: rgba(22, 230, 255, 0.18);
  --text: #e6f6fa;
  --muted: #8aa3ad;
  --cyan: #16e6ff;
  --orange: #ff7a1a;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* Faint Tron grid behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

a { color: var(--cyan); }

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

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
header.top .mark { height: 40px; display: block; }
header.top nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
header.top nav a:hover { color: var(--cyan); }

.hero { padding: 56px 0 72px; text-align: center; }
.hero .logo { width: min(640px, 100%); height: auto; }
.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  margin: 40px auto 16px;
  max-width: 760px;
  font-weight: 700;
}
.hero p { color: var(--muted); max-width: 620px; margin: 0 auto 32px; font-size: 19px; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  box-shadow: 0 0 18px rgba(22, 230, 255, 0.25), inset 0 0 12px rgba(22, 230, 255, 0.12);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--cyan); color: var(--bg); }

section { padding: 64px 0; border-top: 1px solid var(--line); }

.eyebrow {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 32px; line-height: 1.2; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card.featured { border-color: var(--cyan); box-shadow: 0 0 24px rgba(22, 230, 255, 0.15); }
.card .tag {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
}

ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
ol.steps li { counter-increment: s; padding-left: 64px; position: relative; margin-bottom: 28px; }
ol.steps li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--cyan);
  font: 700 24px/1 ui-monospace, Menlo, monospace;
}
ol.steps strong { display: block; font-size: 19px; }
ol.steps span { color: var(--muted); }

.games { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.games img { width: 52px; height: 52px; border-radius: 12px; display: block; }

.studio { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.studio .badge { width: 100%; max-width: 420px; height: auto; }
.studio p { color: var(--muted); }

.contact { text-align: center; }
.contact p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a { color: var(--muted); }

@media (max-width: 720px) {
  header.top nav a:not(:last-child) { display: none; }
  .studio { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
