/* PTP Gaming. Colors and fonts come straight from Glasshaus Must Fall's own interface. */
@font-face { font-family: "Orbitron"; font-weight: 700; font-display: swap; src: url("/assets/fonts/orbitron-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Orbitron"; font-weight: 900; font-display: swap; src: url("/assets/fonts/orbitron-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url("/assets/fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("/assets/fonts/rajdhani-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Share Tech Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/share-tech-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --bg: #07060f; --panel: #100c20; --panel-2: #181233; --line: #2d2653;
  --text: #e9e6ff; --dim: #aaa3cc;
  --cyan: #35e6ff; --magenta: #ff2bd6; --yellow: #ffd84a; --green: #3dff9e; --red: #ff3f6c; --violet: #b56bff; --orange: #ff9d2e;
  --display: "Orbitron", "Arial Black", sans-serif;
  --body: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 clamp(1.125rem, 1.05rem + .3vw, 1.25rem)/1.5 var(--body); overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #9df2ff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 1.1rem + 2vw, 2.6rem); }
h3 { font-size: 1.05rem; letter-spacing: .01em; }
p { margin: 0; }
p + p { margin-top: .85em; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 8px 14px; background: var(--yellow); color: #111; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 10px; color: #111; }

/* Labels that read like the game's data readouts */
.tag { font: 400 .92rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.lede { font-size: clamp(1.2rem, 1.1rem + .55vw, 1.5rem); line-height: 1.4; color: var(--text); max-width: 34em; }
.dim { color: var(--dim); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(7, 6, 15, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-family: var(--display); }
.logo:hover { color: var(--text); }
.logo-ptp { font-weight: 900; font-size: 1.12rem; letter-spacing: .03em; }
.logo-gaming { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-left: -2px; }
.mark { flex: none; }
.mark-hex { fill: #10091f; stroke: var(--magenta); stroke-width: 2.4; stroke-linejoin: round; }
.mark-p { fill: none; stroke: var(--cyan); stroke-width: 2.8; stroke-linejoin: round; stroke-linecap: round; }
.site-head nav { display: flex; gap: clamp(4px, 2vw, 18px); }
.site-head nav a { display: block; padding: 10px 8px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.site-head nav a:hover { color: var(--cyan); }
.site-head nav a[aria-current] { color: var(--cyan); border-bottom-color: var(--cyan); }
@media (max-width: 520px) {
  .logo { gap: 7px; }
  .logo-ptp { font-size: 1rem; }
  .logo-gaming { font-size: .66rem; letter-spacing: .1em; }
  .site-head nav { gap: 0; }
  .site-head nav a { padding-inline: 6px; font-size: .9rem; letter-spacing: .02em; }
}
@media (max-width: 359px) { .logo-gaming { display: none; } }

/* Buttons and status */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 26px; border-radius: 9px; font: 700 1rem/1.15 var(--display); letter-spacing: .03em; text-align: center; text-decoration: none; border: 2px solid var(--cyan); color: var(--cyan); background: rgba(53, 230, 255, .1); transition: background .15s, box-shadow .15s; }
.btn:hover { color: #fff; background: rgba(53, 230, 255, .24); box-shadow: 0 0 22px rgba(53, 230, 255, .35); }
.btn-go { border-color: var(--green); color: #a6ffd4; background: #114a38; box-shadow: 0 0 20px rgba(61, 255, 158, .22); }
.btn-go:hover { color: #fff; background: #17664c; box-shadow: 0 0 28px rgba(61, 255, 158, .42); }
.status { display: inline-flex; align-items: center; gap: 10px; font: 400 .95rem/1.25 var(--mono); color: var(--yellow); }
.status i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); animation: blink 2.4s ease-in-out infinite; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* The big game title, styled like the in-game logo */
.title { font: 900 clamp(2.05rem, 10.6vw, 3.6rem)/1.04 var(--display); color: #f4f1ff; text-transform: uppercase; letter-spacing: .005em; text-shadow: 2px 2px 0 rgba(53, 230, 255, .55), -1px -1px 0 rgba(255, 43, 214, .75), 0 0 28px rgba(255, 43, 214, .45); }
.title span { display: block; }
@media (min-width: 760px) { .title { font-size: clamp(2.4rem, 5.1vw, 3.95rem); } .title span { display: inline; } }

/* Home: a live street scene, laid out like the game itself with the fight above and the controls below */
.stage { --h: min(94svh, 860px); --floor: .55; --w: max(min(100vw, 1920px), calc(var(--h) * .6667)); position: relative; height: var(--h); overflow: hidden; isolation: isolate; background: var(--bg); }
.stage-bg { position: absolute; z-index: -2; left: 50%; top: calc(var(--h) * var(--floor) - var(--w) * .9675); width: var(--w); max-width: none; transform: translateX(-50%); }
.actors { position: absolute; inset: 0; z-index: -1; }
.actor { position: absolute; bottom: calc(var(--h) * (1 - var(--floor)) - var(--h) * .012); }
.actor .sprite img { width: auto; height: var(--size); max-width: none; }
.a-vex { --size: calc(var(--h) * .26); left: max(13vw, calc(50% - 470px)); }
.a-byte { --size: calc(var(--h) * .085); left: calc(max(13vw, calc(50% - 470px)) - var(--h) * .045); bottom: calc(var(--h) * (1 - var(--floor)) - var(--h) * .02); }
.walker { left: 100%; animation: walk var(--t) linear var(--d) infinite both; }
.a-riot { --size: calc(var(--h) * .22); --t: 15s; --d: 0s; }
.a-crawler { --size: calc(var(--h) * .105); --t: 8.5s; --d: 3.2s; bottom: calc(var(--h) * (1 - var(--floor)) - var(--h) * .03); }
.a-hound { --size: calc(var(--h) * .14); --t: 11s; --d: 6.5s; bottom: calc(var(--h) * (1 - var(--floor)) - var(--h) * .024); }
.a-drone { --size: calc(var(--h) * .12); --t: 13s; --d: 1.5s; bottom: calc(var(--h) * (1 - var(--floor) + .17)); }
.tracer { position: absolute; left: calc(max(13vw, calc(50% - 470px)) + var(--h) * .19); bottom: calc(var(--h) * (1 - var(--floor) + .178)); width: 54px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 216, 74, 0), #ffe680 70%, #fff); animation: shot .62s linear infinite; opacity: 0; }
.tracer + .tracer { animation-delay: .31s; bottom: calc(var(--h) * (1 - var(--floor) + .172)); }
.stage-copy { position: absolute; inset: auto 0 0; padding-block: 60px clamp(18px, 3.2vh, 34px); background: linear-gradient(180deg, rgba(7, 6, 15, 0), rgba(7, 6, 15, .78) 32%, var(--bg) 96%); }
.stage-copy .tag { margin-bottom: 8px; color: var(--cyan); text-shadow: 0 1px 6px #000; }
.stage-copy .lede { margin: 12px 0 18px; }
@media (min-width: 760px) { .stage { --floor: .6; } .a-vex { --size: calc(var(--h) * .3); } }

/* Page sections */
.band { padding-block: clamp(52px, 8vw, 96px); }
.band-tight { padding-block: clamp(36px, 5vw, 60px); }
.head-block { margin-bottom: clamp(24px, 4vw, 40px); }
.head-block .tag { display: block; margin-bottom: 10px; }
.head-block p { margin-top: 12px; max-width: 38em; color: var(--dim); }
.alt-bg { background: linear-gradient(180deg, #0d0a1c, var(--bg)); border-top: 1px solid rgba(255, 255, 255, .05); }

/* How a run goes */
.steps { display: grid; gap: clamp(26px, 3.5vw, 40px); counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: minmax(104px, 30%) 1fr; gap: 16px; align-items: start; align-content: start; counter-increment: step; }
.step img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step h3::before { content: "0" counter(step); display: block; margin-bottom: 6px; font: 400 .95rem var(--mono); color: var(--magenta); }
.step p { color: var(--dim); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { grid-template-columns: 1fr; } .step img { aspect-ratio: 9 / 13; object-fit: cover; object-position: top; } .s-bottom img { object-position: bottom; } }

/* The promise */
.promise { position: relative; padding-block: clamp(46px, 7vw, 84px); background: linear-gradient(115deg, #260a3f, #120a2c 48%, #042b3d); border-block: 1px solid rgba(255, 255, 255, .08); }
.promise h2 { font-size: clamp(1.8rem, 1rem + 4vw, 3.5rem); font-weight: 900; }
.promise h2 span { display: block; }
.promise h2 span:nth-child(1) { color: var(--magenta); }
.promise h2 span:nth-child(2) { color: var(--text); }
.promise h2 span:nth-child(3) { color: var(--cyan); }
.promise p { margin-top: 18px; max-width: 34em; }

/* The five districts, as a strip of city */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(205px, 1fr); gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.slice { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4.6; scroll-snap-align: center; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); color: var(--text); text-decoration: none; background: var(--panel); }
.slice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.slice:hover { color: var(--text); border-color: var(--tint); }
.slice:hover img { transform: scale(1.05); }
.slice div { position: relative; width: 100%; padding: 56px 14px 14px; background: linear-gradient(180deg, rgba(7, 6, 15, 0), rgba(7, 6, 15, .92) 52%); }
.slice .tag { color: var(--tint); }
.slice h3 { margin: 4px 0 6px; font-size: 1rem; }
.slice p { color: var(--dim); font-size: 1rem; line-height: 1.25; }
.t-rainline { --tint: #ff2bd6; } .t-docks { --tint: #25e6c8; } .t-transit { --tint: #ff9d2e; } .t-glasshaus { --tint: #6cc8ff; } .t-core { --tint: #ff3355; }

/* Studio note */
.studio { display: grid; gap: 22px; align-items: center; }
@media (min-width: 760px) { .studio { grid-template-columns: 1.6fr auto; gap: 40px; } }

/* Game page hero: the key art, with the title on its wet street */
.feature { position: relative; background: var(--bg); }
.feature > img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.feature-copy { padding-block: 22px 8px; }
.feature-copy .tag { color: var(--cyan); margin-bottom: 8px; text-shadow: 0 1px 6px #000; }
.feature-copy .lede { margin: 12px 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { padding: 4px 11px; border: 1px solid var(--line); border-radius: 6px; font: 400 .9rem/1.3 var(--mono); color: var(--green); background: rgba(61, 255, 158, .07); }
@media (min-width: 900px) {
  .feature > img { max-height: 800px; }
  .feature-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 90px 34px; background: linear-gradient(180deg, rgba(7, 6, 15, 0), rgba(7, 6, 15, .72) 42%, var(--bg)); }
  .feature-copy .wrap-inner { max-width: 880px; }
  .feature-copy .lede { margin: 10px 0 14px; }
  .feature-copy .chips { margin-bottom: 14px; }
}

/* Screenshots */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 44vw); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.shot { display: block; scroll-snap-align: start; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); transition: transform .15s, border-color .15s; }
.shot:hover { transform: translateY(-3px); border-color: var(--cyan); }
.shot img { width: 100%; }
@media (min-width: 760px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 3, 10, .95); color: var(--text); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: rgba(16, 12, 32, .9); color: var(--text); font: 700 1.5rem/1 var(--display); cursor: pointer; }
.lightbox button:hover { border-color: var(--cyan); color: var(--cyan); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* Enemies */
.foes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.foe { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, #120d26, #0b0818); }
.foe-art { display: flex; align-items: flex-end; justify-content: center; height: clamp(110px, 24vw, 164px); margin-bottom: 12px; border-bottom: 1px solid rgba(53, 230, 255, .35); }
.foe-art .sprite img { width: auto; max-width: 100%; height: auto; max-height: clamp(102px, 22vw, 152px); }
.foe h3 { font-size: .92rem; margin-bottom: 5px; color: var(--text); }
.foe p { color: var(--dim); font-size: 1rem; line-height: 1.25; }
@media (min-width: 860px) { .foes { grid-template-columns: repeat(4, 1fr); gap: 14px; } .foe { padding: 16px; } }

/* Districts in full, each with its boss standing in it */
.districts { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.district { position: relative; min-height: 310px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.district > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.district::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 15, .94), rgba(7, 6, 15, .76) 46%, rgba(7, 6, 15, 0) 78%); }
.d-text { width: min(68%, 440px); padding: clamp(16px, 2.6vw, 26px); }
.d-text .tag { color: var(--tint); }
.d-text h3 { margin: 6px 0 4px; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); }
.d-blurb { color: var(--text); margin-bottom: 12px; }
.d-rule { padding-left: 11px; border-left: 3px solid var(--tint); font-size: 1rem; line-height: 1.3; color: var(--text); }
.d-rule b { display: block; font-family: var(--body); color: var(--tint); }
.d-boss { margin-top: 12px; font: 400 .9rem/1.25 var(--mono); color: var(--dim); }
.d-boss b { color: var(--text); font-weight: 400; }
.boss-art { position: absolute; right: 0; bottom: 6px; width: 46%; display: flex; justify-content: flex-end; pointer-events: none; }
.boss-art .sprite img { width: auto; max-width: 100%; height: auto; max-height: 250px; }
@media (min-width: 860px) { .district { min-height: 330px; } .boss-art .sprite img { max-height: 290px; } }
/* On phones the boss stands under the text instead of behind it */
@media (max-width: 699px) {
  .district { display: flex; flex-direction: column; min-height: 0; }
  .district::before { background: linear-gradient(180deg, rgba(7, 6, 15, .93), rgba(7, 6, 15, .8) 55%, rgba(7, 6, 15, .2)); }
  .d-text { width: 100%; }
  .boss-art { position: static; width: 100%; padding: 0 12px 8px; margin-top: -8px; }
  .boss-art .sprite img { max-height: 190px; }
}

/* Systems */
.systems { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.system { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.system img { width: 62px; height: 62px; object-fit: contain; }
.system h3 { margin-bottom: 6px; }
.system p { color: var(--dim); font-size: 1.05rem; line-height: 1.3; }
@media (min-width: 760px) { .systems { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1040px) { .systems { grid-template-columns: repeat(3, 1fr); } }

/* Gear ladder */
.gear { display: grid; gap: 22px; margin-bottom: 26px; padding: clamp(16px, 2.6vw, 26px); border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(120deg, #150f2c, #0b0818); }
.gear-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.gear-slots img { width: 100%; max-width: 76px; margin-inline: auto; aspect-ratio: 1; object-fit: contain; }
.ladder { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ladder li { flex: 1 1 auto; padding: 7px 10px; border: 1px solid var(--g); border-radius: 6px; color: var(--g); font: 400 .95rem/1.2 var(--mono); text-align: center; background: color-mix(in srgb, var(--g) 9%, transparent); }
.g1 { --g: #9aa4b8; } .g2 { --g: #3dff9e; } .g3 { --g: #3db8ff; } .g4 { --g: #c56bff; } .g5 { --g: #ffae2b; } .g6 { --g: #ff2bd6; }
@media (min-width: 860px) { .gear { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 32px; } }

/* Numbers */
.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.counts div { padding: 16px 14px; background: var(--panel); }
.counts dt { font: 400 .95rem/1.2 var(--mono); color: var(--dim); }
.counts dd { margin: 0 0 4px; font: 900 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.1 var(--display); color: var(--cyan); }
.counts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
@media (min-width: 620px) { .counts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .counts { grid-template-columns: repeat(6, 1fr); } }

/* Constructs */
.crew { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mate { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.mate-art { display: flex; align-items: flex-end; height: 92px; margin-bottom: 10px; }
.mate-art .sprite img { width: auto; height: auto; max-width: 100%; max-height: 90px; }
.mate h3 { margin-bottom: 4px; color: var(--yellow); }
.mate p { color: var(--dim); font-size: 1rem; line-height: 1.25; }
@media (min-width: 760px) { .crew { grid-template-columns: repeat(4, 1fr); gap: 14px; } }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 500; }
.facts th { width: 40%; padding-right: 14px; font: 400 .95rem/1.5 var(--mono); color: var(--dim); }
.split { display: grid; gap: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Long text pages */
.page-head { padding-block: clamp(36px, 6vw, 64px) clamp(20px, 3vw, 30px); background: radial-gradient(ellipse 70% 120% at 10% 0, rgba(255, 43, 214, .14), transparent 60%), radial-gradient(ellipse 60% 120% at 90% 0, rgba(53, 230, 255, .11), transparent 60%); }
.page-head h1 { font-size: clamp(1.8rem, 1.2rem + 3vw, 3.2rem); font-weight: 900; }
.page-head .tag { display: block; margin-bottom: 10px; }
.page-head p { margin-top: 12px; color: var(--dim); max-width: 36em; }
.prose { max-width: 720px; }
.prose h2 { margin: 34px 0 10px; font-size: 1.25rem; color: var(--cyan); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: .6em 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: .35em; }

/* Support */
.contact { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--cyan); border-radius: 12px; background: rgba(53, 230, 255, .07); }
.contact .big { font: 700 clamp(1.05rem, .85rem + 1.4vw, 1.5rem)/1.2 var(--display); overflow-wrap: anywhere; }
.faq-group { margin-top: 36px; }
.faq-group h2 { font-size: 1.15rem; margin-bottom: 12px; color: var(--magenta); }
details { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
details + details { margin-top: 8px; }
summary { padding: 14px 16px; font-weight: 700; cursor: pointer; }
summary:hover { color: var(--cyan); }
details p { padding: 0 16px 14px; color: var(--dim); }
details p + p { margin-top: 0; }

/* Games list */
.game-card { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); text-decoration: none; }
.game-card:hover { color: var(--text); border-color: var(--cyan); }
.game-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.game-card div { padding: clamp(18px, 3vw, 30px); }
.game-card h2 { font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); margin: 8px 0 10px; }
.game-card p { color: var(--dim); margin-bottom: 16px; }
@media (min-width: 860px) { .game-card { grid-template-columns: 1.25fr 1fr; align-items: center; } .game-card img { height: 100%; aspect-ratio: auto; } }

/* Not found */
.lost { display: grid; justify-items: start; gap: 14px; padding-block: clamp(56px, 10vw, 110px); }
.lost h1 { font: 900 clamp(2rem, 1.2rem + 5vw, 4.4rem)/1.05 var(--display); color: var(--red); }
.lost .sprite img { height: 150px; width: auto; }

/* Footer */
.site-foot { margin-top: clamp(30px, 5vw, 60px); padding-block: 40px 22px; background: #0a0816; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.foot-brand { grid-column: 1 / -1; }
@media (max-width: 759px) { .foot-grid nav[aria-label="Help"] { grid-column: 1 / -1; order: 3; } .foot-grid nav[aria-label="Legal"] { order: 2; } }
.foot-brand p { margin-top: 10px; color: var(--dim); }
.site-foot h2 { margin-bottom: 8px; font: 400 .9rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.site-foot nav a { display: block; padding: 4px 0; overflow-wrap: anywhere; color: var(--text); text-decoration: none; }
.site-foot nav a:hover { color: var(--cyan); }
.foot-small { margin-top: 26px; color: var(--dim); font-size: 1rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; } .foot-brand { grid-column: auto; } }

@keyframes walk { 0% { transform: translateX(0); opacity: 0; } 5% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(-62vw); opacity: 0; } }
@keyframes shot { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateX(62vw); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .walker { animation: none; left: auto; }
  .a-riot { right: 8vw; } .a-crawler { right: 26vw; } .a-hound { display: none; } .a-drone { right: 16vw; }
  .tracer { display: none; }
  .status i { animation: none; }
  .slice img, .shot { transition: none; }
}
