:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --border: #2a2418;
  --gold: #d4af37;
  --gold-soft: #c9a635;
  --gold-dim: #8a7327;
  --text: #ececec;
  --muted: #9a9a9a;
  --max-width: 1040px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: #f0c850; }

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

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.nav-brand-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}

@media (max-width: 560px) {
  .nav { flex-direction: column; gap: 14px; }
  .nav-links { gap: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}
.hero-logo {
  width: 220px;
  height: 220px;
  border-radius: 24px;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f1d27a 0%, #d4af37 60%, #9b7b1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-tagline {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .hero { padding: 50px 0 40px; }
  .hero-logo { width: 160px; height: 160px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-tagline { font-size: 1.05rem; }
}

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.page-header h1 {
  font-size: 2.2rem;
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 600;
}
.page-header p {
  color: var(--muted);
  margin: 0;
}

/* ---------- Sections ---------- */
main { flex: 1; }

section {
  padding: 28px 0;
}

h2 {
  color: var(--gold);
  font-size: 1.5rem;
  margin: 32px 0 12px;
  font-weight: 600;
}
h3 {
  color: var(--text);
  font-size: 1.15rem;
  margin: 20px 0 8px;
  font-weight: 600;
}

p { margin: 0 0 14px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}
.card h3 {
  margin-top: 0;
  color: var(--gold);
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Game entry ---------- */
.game {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
}
.game-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.game-title {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}
.game-status {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 4px 12px;
}
.game-platforms {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.game-features {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}
.game-features li { margin: 4px 0; }

/* ---------- Lists & content ---------- */
.content ul {
  color: var(--muted);
  padding-left: 22px;
}
.content li { margin: 6px 0; }

.callout {
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--text);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
