:root {
  --bg: #0b0910;
  --bg-2: #141020;
  --card: #1a1528;
  --line: #2e2742;
  --text: #f2ead9;
  --muted: #b5abc4;
  --gold: #eaa93a;
  --gold-2: #f6c768;
  --green: #84dc5a;
  --green-deep: #134b25;
  --purple: #6d4bb8;
  --radius: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--gold); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 9, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand span { font-family: "Cinzel", serif; font-weight: 700; font-size: 1.05rem; color: var(--gold); white-space: nowrap; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1b1206; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* hero */
.hero {
  padding: 64px 0 80px;
  background:
    radial-gradient(closest-side at 72% 45%, rgba(109, 75, 184, 0.30), transparent),
    radial-gradient(closest-side at 62% 75%, rgba(132, 220, 90, 0.10), transparent),
    var(--bg);
}
.hero .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.hero-art {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(132, 220, 90, 0.12);
}
.hero-art img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 35% 40%; }

/* game cards */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.game-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.game-card:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; }
.game-card .shot { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.game-card .body { padding: 22px 24px 26px; }
.game-card p { color: var(--muted); margin: 0; }
.tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(132, 220, 90, 0.12); color: var(--green);
  margin-bottom: 10px;
}

/* split */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); border: 1px solid var(--line); }
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.points li { padding-left: 30px; position: relative; color: var(--muted); }
.points li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.points strong { color: var(--text); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; color: var(--text);
}
a.tile:hover { border-color: var(--gold); text-decoration: none; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.tile .go { display: inline-block; margin-top: 14px; color: var(--gold-2); font-weight: 800; font-size: 0.92rem; }

.tiles.four { grid-template-columns: repeat(4, 1fr); }
.split img.portrait { max-height: 560px; width: auto; margin: 0 auto; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.gallery.tall { grid-template-columns: repeat(5, 1fr); }
.gallery.tall img { aspect-ratio: 9 / 16; }
.gallery.tall.four-up { grid-template-columns: repeat(4, 1fr); }

/* signup */
.signup {
  background: linear-gradient(135deg, #1f1636 0%, #13301c 100%);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.signup img { width: 150px; border-radius: 50%; }
.note { font-size: 0.85rem; color: var(--muted); }

/* game page hero */
.page-hero { position: relative; padding: 120px 0 72px; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,9,16,0.92) 0%, rgba(11,9,16,0.7) 55%, rgba(11,9,16,0.35) 100%), linear-gradient(180deg, rgba(11,9,16,0) 60%, rgba(11,9,16,1) 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .game-logo { width: min(420px, 80%); margin-bottom: 18px; }

.page-hero.busy::after { background: linear-gradient(90deg, rgba(11,9,16,0.95) 0%, rgba(11,9,16,0.82) 60%, rgba(11,9,16,0.55) 100%), linear-gradient(180deg, rgba(11,9,16,0) 60%, rgba(11,9,16,1) 100%); }

/* tools */
.tool-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.tool h3 { color: var(--gold-2); }
.tool p { color: var(--muted); font-size: 0.97rem; }
.disclosure { border-left: 3px solid var(--gold); padding: 12px 18px; background: var(--card); border-radius: 0 10px 10px 0; color: var(--muted); font-size: 0.95rem; margin-top: 24px; }

/* press */
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; margin: 0; }
.facts dt { color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; }
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.downloads a { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: var(--text); font-weight: 700; font-size: 0.9rem; text-align: center; }
.downloads a:hover { border-color: var(--gold); text-decoration: none; }
.downloads img { aspect-ratio: 1; object-fit: contain; background: #000; border-radius: 8px; margin-bottom: 10px; width: 100%; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 0.93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: "Cinzel", serif; color: var(--text); margin: 0 0 10px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.footer-logo:hover { text-decoration: none; }
.footer-logo img { width: 64px; height: 64px; }
.footer-logo span { font-family: "Cinzel", serif; font-weight: 700; font-size: 1.15rem; color: var(--gold); }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
  .games, .split, .tiles, .tiles.four, .tool-list, .signup, .site-footer .wrap { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.tall, .gallery.tall.four-up { grid-template-columns: repeat(2, 1fr); }
  .downloads { grid-template-columns: repeat(2, 1fr); }
  .signup { padding: 28px; }
  .signup img { width: 110px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
  .hero { padding: 32px 0 56px; }
  .page-hero.busy::after { background: rgba(11,9,16,0.86); }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
}
