/* Shared styling for the individual game pages.
   Palette and type are lifted from jaded.css so these read as the same site, but the file is
   standalone: a game page can never break the home page's layout, and the home page's classes
   can be reworked without silently reflowing these. */

:root{
  --ink:#0b0d0c; --ink-2:#111413; --ink-3:#161a18;
  --mint:#cfe8da; --jade:#2f9e6f; --jade-bright:#4ec18a;
  --line:rgba(120,160,140,.16); --line-2:rgba(120,160,140,.28);
  --text:#c3cec8; --dim:#8a978f; --warn:#e0b862;
  --serif:'Yeseva One',Georgia,serif;
  --body:'Hanken Grotesk',system-ui,sans-serif;
  --mono:'Space Mono',monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--ink);color:var(--text);font-family:var(--body);line-height:1.7;-webkit-font-smoothing:antialiased}
a{color:var(--jade-bright);text-decoration:none;transition:color .25s}
a:hover{color:var(--mint)}
img{max-width:100%;display:block}

.wrap{max-width:980px;margin:0 auto;padding:0 24px}

/* Header */
header.site{border-bottom:1px solid var(--line);background:rgba(11,13,12,.9);backdrop-filter:blur(8px);position:sticky;top:0;z-index:10}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px;max-width:980px;margin:0 auto;padding:0 24px}
.brand{display:flex;align-items:center;gap:11px;font-family:var(--serif);font-size:19px;color:var(--mint)}
.brand img{width:30px;height:auto}
.back{font-family:var(--mono);font-size:12px;letter-spacing:.05em;color:var(--dim);text-transform:uppercase}
.back:hover{color:var(--jade-bright)}
.navlinks{display:flex;align-items:center;gap:22px}
.navlinks a{font-family:var(--mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.navlinks a:hover{color:var(--jade-bright)}
.navlinks a.here{color:var(--mint)}
@media(max-width:640px){
  .navlinks{gap:13px}
  .navlinks a{font-size:10px;letter-spacing:.03em}
  .brand span{display:none}
}

/* Logo-only hero. Photographic key art fills its panel; a logo on transparency does not,
   so it gets padded and capped instead of being letterboxed inside a fixed-ratio box. */
.keyart.logo-hero{display:flex;align-items:center;justify-content:center;
  padding:clamp(24px,5vw,56px) clamp(20px,5vw,64px)}
.keyart.logo-hero img{width:min(100%,720px);height:auto}

/* All-games index */
.glist{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px}
.gtile{display:flex;flex-direction:column;background:var(--ink-2);border:1px solid var(--line);
  border-radius:12px;overflow:hidden;color:inherit;transition:transform .3s,border-color .3s}
.gtile:hover{transform:translateY(-5px);border-color:var(--line-2)}
.gtile .art{aspect-ratio:16/10;background:var(--ink-3);overflow:hidden}
.gtile .art img{width:100%;height:100%;object-fit:cover}
.gtile .meat{padding:22px 22px 24px;display:flex;flex-direction:column;gap:11px;flex:1}
.gtile h3{font-family:var(--serif);font-size:24px;font-weight:400;color:var(--mint)}
.gtile .plat{font-family:var(--mono);font-size:11px;letter-spacing:.05em;color:var(--jade)}
.gtile p{font-size:15px;color:var(--dim);margin:0;flex:1}
.gtile .foot{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-top:14px;border-top:1px solid var(--line);font-family:var(--mono);font-size:11.5px}
.gtile .foot .st{color:var(--dim);display:inline-flex;align-items:center;gap:7px}
.gtile .foot .st .dot{width:6px;height:6px;border-radius:50%;background:var(--jade-bright)}
.gtile .foot .go{color:var(--dim);transition:color .3s,transform .3s}
.gtile:hover .foot .go{color:var(--mint);transform:translateX(3px)}
.lede{font-size:18px;color:var(--dim);max-width:64ch;margin-bottom:34px}

/* Hero */
.hero{padding:56px 0 44px}
.keyart{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--ink-2);margin-bottom:34px}
.eyebrow{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--jade);margin-bottom:16px}
h1{font-family:var(--serif);font-size:clamp(34px,6vw,56px);line-height:1.05;color:var(--mint);font-weight:400;margin-bottom:16px}
.tagline{font-size:19px;color:var(--dim);max-width:62ch}

.status-row{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 0}
.pill{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--text);border:1px solid var(--line-2);background:var(--ink-2);
  padding:7px 13px;border-radius:100px}
.pill .dot{width:6px;height:6px;border-radius:50%;background:var(--jade-bright)}

/* Sections */
main{padding:8px 0 96px}
section{margin-bottom:56px}
h2{font-family:var(--serif);font-size:26px;font-weight:400;color:var(--mint);margin-bottom:18px}
p{margin-bottom:15px;font-size:16.5px;max-width:70ch}
p:last-child{margin-bottom:0}

/* Feature grid */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.feature{background:var(--ink-2);border:1px solid var(--line);border-radius:10px;padding:22px}
.feature h3{font-family:var(--serif);font-size:19px;font-weight:400;color:var(--mint);margin-bottom:9px}
.feature p{font-size:15px;color:var(--dim);margin:0}

/* Screenshot grid. Placeholders until real captures land. */
/* 320px min keeps this at two columns on desktop, so four tiles land as a tidy 2x2
   instead of 3 + 1 with a hole in the corner. */
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.shot{aspect-ratio:16/10;background:var(--ink-2);border:1px solid var(--line);border-radius:10px;
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.shot img{width:100%;height:100%;object-fit:cover}
.shot.placeholder{border-style:dashed;border-color:var(--line-2)}
.shot.placeholder span{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--dim)}

/* Spec table */
.specs{background:var(--ink-2);border:1px solid var(--line);border-radius:10px;padding:6px 22px}
.row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:none}
.row .k{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);white-space:nowrap}
.row .v{font-size:15px;color:var(--text);text-align:right}

/* Buttons */
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:15px;
  padding:14px 22px;border-radius:8px;transition:background .25s,transform .2s,border-color .25s}
.btn-primary{background:var(--jade);color:#06120c}
.btn-primary:hover{background:var(--jade-bright);color:#06120c;transform:translateY(-1px)}
.btn-ghost{border:1px solid var(--line-2);color:var(--text)}
.btn-ghost:hover{border-color:var(--jade-bright);color:var(--mint)}

footer{border-top:1px solid var(--line);padding:32px 0;font-size:14px;color:var(--dim)}
footer .wrap{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between}
