:root {
  --bg: #0f0d0b;
  --panel: #18140f;
  --line: #2c251c;
  --text: #eee5d3;
  --muted: #b3a78f;
  --accent: #d9a441;
  --accent-ink: #1a1306;
  --max: 1040px;
}

* { 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, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: #f0c46a; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 96px 0 72px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
}
.hero p.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  margin: 0 0 24px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1.2;
}

/* Game card */
.game-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.game-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.game-body { padding: 32px; }
.game-body h3 {
  margin: 0 0 4px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
}
.tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}
.game-body p { margin: 0 0 22px; color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.primary:hover { background: #f0c46a; color: var(--accent-ink); }
.button.ghost { color: var(--accent); }

/* About / contact */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.muted { color: var(--muted); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--muted); font-size: 0.85rem; }

/* Legal pages */
.legal { padding: 64px 0; max-width: 760px; }
.legal h1 {
  margin: 0 0 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
}
.legal h2 { margin: 36px 0 10px; font-size: 1.3rem; }
.legal p, .legal li { color: var(--muted); }

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

@media (max-width: 760px) {
  .hero { padding: 64px 0 48px; }
  .game-card, .two-col { grid-template-columns: 1fr; }
  .game-card img { min-height: 200px; max-height: 260px; }
  .game-body { padding: 24px; }
  .nav { gap: 12px; flex-wrap: nowrap; }
  .nav a { font-size: 0.85rem; }
  .nav a[href$="#games"] { display: none; }
  .brand { white-space: nowrap; font-size: 0.95rem; }
  .brand img { width: 26px; height: 26px; }
}
