:root {
  --bg: #0b0d17;
  --bg-alt: #121528;
  --card: #181c34;
  --text: #e9ecf5;
  --muted: #a3a9c2;
  --accent: #2f7bff;
  --accent-2: #ffb020;
  --border: #2a2f50;
  --radius: 14px;
}

* { 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;
  line-height: 1.6;
}

a { color: var(--accent-2); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo {
  font-family: "Press Start 2P", "Inter", sans-serif;
  font-size: 14px; letter-spacing: 1px;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.logo span { color: var(--accent-2); }
nav a {
  color: var(--muted); text-decoration: none; margin-left: 20px; font-weight: 500; font-size: 15px;
}
nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 123, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255, 140, 32, 0.18), transparent 50%);
  text-align: center;
}
.hero h1 {
  font-family: "Press Start 2P", "Inter", sans-serif;
  font-size: clamp(26px, 5vw, 48px);
  line-height: 1.3; margin: 0 0 20px;
}
.hero h1 span { color: var(--accent-2); }
.hero p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto 32px; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  margin: 6px;
}
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn:hover { filter: brightness(1.1); }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 30px; margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 36px; max-width: 680px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { color: var(--muted); margin: 0; }
.icon { font-size: 30px; margin-bottom: 12px; }

/* Game feature */
.game {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.game-art {
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: "Press Start 2P", sans-serif; font-size: 18px; color: #0b0d17; text-align: center; padding: 20px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.tag {
  font-size: 13px; padding: 4px 12px; border-radius: 999px;
  background: rgba(47, 123, 255, 0.15); border: 1px solid var(--border); color: var(--text);
}

/* Contact */
.contact-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; max-width: 560px;
}
.contact-box p { margin: 6px 0; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: 34px; margin-bottom: 4px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: #cfd3e3; }
.updated { color: var(--muted); font-size: 14px; }

/* Footer */
footer {
  border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); margin-right: 16px; }

@media (max-width: 720px) {
  nav a { margin-left: 12px; font-size: 14px; }
  nav a.hide-sm { display: none; }
  .game { grid-template-columns: 1fr; }
  .logo { font-size: 11px; }
}

.logo small { display: block; font-family: "Inter", sans-serif; font-size: 11px; letter-spacing: 0.5px; color: var(--muted); margin-top: 4px; }
.game-art { background: #2f7bff; padding: 0; overflow: hidden; }
.game-art img { width: 60%; height: auto; border-radius: 22%; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.features { color: var(--muted); padding-left: 20px; margin: 0 0 24px; }
.features li { margin-bottom: 6px; }
.box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 22px; margin: 16px 0; }
