:root {
  --bg: #120b1f;
  --surface: #1d1330;
  --surface-2: #281a42;
  --text: #f5eefc;
  --muted: #b3a5c8;
  --accent: #ff8a3d;
  --accent-2: #c86bfa;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 11, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.15rem; }
.brand-mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.nav a:hover { 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: 520px;
  background: radial-gradient(closest-side, rgba(255, 138, 61, 0.28), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(200, 107, 250, 0.25), transparent 70%);
  filter: blur(20px); z-index: -1;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 18px; font-weight: 900; letter-spacing: -0.02em; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff6a5b);
  color: #1a0f00; font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 138, 61, 0.3);
}
.btn:hover { transform: translateY(-1px); }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: 2rem; font-weight: 900; margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 36px; }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.game {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.game-head { display: flex; align-items: center; gap: 16px; }
.game-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.game h3 { margin: 0; font-size: 1.4rem; font-weight: 900; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 800; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.06em; }
.game p { margin: 0; color: var(--muted); }
.game ul { margin: 0; padding-left: 18px; color: var(--muted); }
.game-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 0.9rem; text-decoration: none;
  border: 1px solid var(--border); color: var(--text); background: var(--surface-2);
}
.pill.soon { color: var(--muted); cursor: default; }
.pill.play { background: linear-gradient(90deg, var(--accent), #ff6a5b); color: #1a0f00; border-color: transparent; }

.about { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about p { max-width: 680px; color: var(--muted); font-size: 1.05rem; }

.contact { text-align: center; }
.contact p { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }

/* Policy pages */
.policy { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.policy h1 { font-size: 2.2rem; font-weight: 900; margin: 0 0 4px; }
.policy .updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 28px; }
.policy h2 { font-size: 1.15rem; color: var(--accent); margin: 32px 0 8px; }
.policy p { color: #d9cfe7; }

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a.hide-sm { display: none; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
}

@media (max-width: 380px) {
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .nav { gap: 12px; }
  .nav a { font-size: 0.9rem; }
}
