/* Star Lab Games: the games label's own look (night sky, candy-neon accents). No external fonts or scripts. */
:root {
  --night: #120c24;
  --night-2: #1d1438;
  --card: #241a45;
  --line: #3a2d66;
  --text: #f3eefe;
  --muted: #b6a9da;
  --pink: #ff6cb5;
  --mint: #2bd69b;
  --sun: #ffc53d;
  --sky: #39a7ff;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 108, 181, .18), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(57, 167, 255, .16), transparent 60%),
    var(--night);
}
a { color: var(--sun); }
a:hover { color: #ffd76e; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* hero */
.hero { padding: 48px 0 28px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.08; margin: 0 0 14px; font-weight: 900; letter-spacing: -.01em; }
.hero h1 span { background: linear-gradient(90deg, var(--pink), var(--sun), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0; }

/* sections */
section { padding: 28px 0; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 16px; font-weight: 800; }
h3 { font-size: 1.2rem; margin: 0 0 6px; }
.muted { color: var(--muted); }

/* game cards */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.game { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.game .head { display: flex; gap: 16px; align-items: center; }
.game .head img { width: 76px; height: 76px; border-radius: 18px; flex: none; }
.game p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; background: rgba(43, 214, 155, .14); color: var(--mint); }
.tag.soon { background: rgba(255, 197, 61, .14); color: var(--sun); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* buttons: decline-style and action-style are the same size (studio rule) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 14px; font-weight: 800; text-decoration: none; border: 2px solid var(--line); color: var(--text); background: var(--night-2); }
.btn:hover { color: var(--text); border-color: var(--muted); }
.btn.go { background: var(--mint); border-color: var(--mint); color: #10221b; }
.btn.go:hover { background: #4be3ad; color: #10221b; }

/* promise list */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.promise div { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.promise p { margin: 0; color: var(--muted); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.shots img { border-radius: 16px; border: 1px solid var(--line); width: 100%; height: auto; }

/* long text pages */
.doc { max-width: 760px; }
.doc h1 { font-size: 2.2rem; line-height: 1.15; margin: 24px 0 6px; }
.doc h2 { font-size: 1.3rem; margin: 30px 0 8px; }
.doc p, .doc li { color: #ddd5f5; }
.doc dt { font-weight: 800; margin-top: 18px; }
.doc dd { margin: 4px 0 0; color: #ddd5f5; }
code { background: var(--night-2); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: .92rem; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
