/* Braincells2Pixels — shared styles. Dark stage + gold, matching Lughoree's intro. */
@font-face {
  font-family: "Xolonium";
  src: url("/assets/Xolonium-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #14141f;
  --panel: #1d1d2b;
  --line: #2c2c3e;
  --text: #e9e7f0;
  --muted: #a3a1b3;
  --gold: #ffd91a;
  --gold-dim: #c9a800;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }

h1, h2, h3, .brand {
  font-family: "Xolonium", -apple-system, sans-serif;
  font-weight: normal;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--gold); margin: 0 0 .3em; }
h2 { font-size: 1.45rem; color: var(--gold); margin: 2.2em 0 .6em; }
h3 { font-size: 1.1rem; margin: 1.6em 0 .4em; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 700px; }

/* Header / footer */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { color: var(--text); text-decoration: none; font-size: 1.05rem; }
.brand span { color: var(--gold); }
.site-header nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: .95rem; }
.site-header nav a:hover { color: var(--text); }

.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--muted); }

main.wrap { padding-top: 48px; }

.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 1.4em; }
.muted { color: var(--muted); }

/* Game card on the studio page */
.game-card {
  display: flex; gap: 22px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: var(--text);
  transition: border-color .15s, transform .15s;
}
.game-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); color: var(--text); }
.game-card img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.game-card h3 { margin: 0 0 .2em; color: var(--gold); font-size: 1.4rem; }
.game-card p { margin: 0; color: var(--muted); }

/* Game page hero */
.hero { display: flex; gap: 28px; align-items: center; margin-bottom: 36px; }
.hero img { width: 132px; height: 132px; border-radius: 30px; flex: none; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.hero h1 { margin-bottom: .1em; }
.hero .lead { margin: 0 0 .8em; }
.badge {
  display: inline-block; border: 1px solid var(--gold-dim); color: var(--gold);
  border-radius: 999px; padding: 4px 14px; font-size: .9rem;
}

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 10px; }
.shots img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); display: block; }
.shots img:first-child { grid-column: 1 / -1; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.features li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.features strong { display: block; color: var(--text); margin-bottom: 2px; }
.features span { color: var(--muted); font-size: .95rem; }

.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.button {
  display: inline-block; padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none;
}
.button:hover { border-color: var(--gold-dim); color: var(--text); }

/* Long-form pages (privacy, support) */
.doc h2 { font-size: 1.2rem; }
.doc li { margin: .25em 0; }
.doc dt { font-weight: 600; margin-top: 1.1em; }
.doc dd { margin: .2em 0 0; color: var(--muted); }

@media (max-width: 600px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .shots { grid-template-columns: 1fr; }
  .site-header nav a { margin-left: 12px; }
}
