:root {
  --bg: #11141c;
  --panel: #1a1f2b;
  --line: #2c3343;
  --text: #f1ece0;
  --soft: #c9c4b6;
  --muted: #8e94a3;
  --gold: #e3a93e;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--gold); }
a:hover { color: #f4c56a; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* Header bar on inner pages */
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand span { font-family: Georgia, "Times New Roman", serif; letter-spacing: .12em; font-size: 1.05rem; }
.bar nav a { color: var(--soft); text-decoration: none; margin-left: 18px; font-size: .95rem; }
.bar nav a:hover { color: var(--gold); }

/* Front page hero: the banner image already carries the wordmark */
.hero { position: relative; background: #0c0f16; }
.hero img { width: 100%; max-height: 78vh; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { margin: 4px 0 0; text-align: center; color: var(--soft); font-size: 1.05rem; }

h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 2rem; line-height: 1.2; margin: 40px 0 6px; }
h2 { font-size: 1.15rem; margin: 36px 0 8px; color: var(--gold); }
p, li { color: var(--soft); }
.muted { color: var(--muted); font-size: .9rem; }

section.games { padding: 24px 0 8px; }
.games h2 { color: var(--text); font-family: Georgia, serif; font-weight: 400; font-size: 1.5rem; }
.card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; margin: 16px 0; transition: border-color .15s; }
.card:hover { border-color: var(--gold); }
.card img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; image-rendering: pixelated; }
.card .body { padding: 16px 18px 18px; }
.card h3 { margin: 0 0 4px; font-size: 1.2rem; color: var(--text); }
.card p { margin: 0; }
.card .go { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 600; }
.card.plain { padding: 16px 18px 18px; }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.btn { display: inline-block; padding: 10px 16px; border: 1px solid var(--gold); border-radius: 8px; text-decoration: none; font-weight: 600; }
.btn.solid { background: var(--gold); color: #1a1408; }
.btn.off { border-color: var(--line); color: var(--muted); }

.feature { border-radius: 10px; image-rendering: pixelated; margin-top: 24px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
footer { border-top: 1px solid var(--line); margin-top: 56px; }
footer .wrap { padding-top: 20px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); }

@media (max-width: 480px) {
  .bar nav a { margin-left: 12px; }
  .brand span { display: none; }
}
