﻿/* =========================
   Theme Tokens
   ========================= */
:root {
  --bg-core: #05070f;
  --bg-deep: #0d1430;
  --bg-panel: rgba(10, 15, 30, 0.84);
  --bg-panel-soft: rgba(255, 255, 255, 0.05);
  --text-main: #fdf6d9;
  --text-muted: #c7cdbd;
  --neon-cyan: #39f7ff;
  --neon-orange: #ff7a2c;
  --neon-lime: #c9ff4b;
  --neon-pink: #ff4f82;
  --line: rgba(255, 255, 255, 0.2);
  --line-strong: rgba(57, 247, 255, 0.45);
  --radius: 18px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 0 1px rgba(57, 247, 255, 0.2), 0 0 30px rgba(57, 247, 255, 0.18);
}

/* =========================
   Base + Atmosphere
   ========================= */
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  background: #05070f;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: "Chakra Petch", "Segoe UI", sans-serif;
  background:
    radial-gradient(72rem 40rem at 95% -10%, rgba(255, 122, 44, 0.26), transparent 58%),
    radial-gradient(70rem 38rem at 4% 10%, rgba(57, 247, 255, 0.18), transparent 54%),
    radial-gradient(58rem 32rem at 50% 118%, rgba(201, 255, 75, 0.14), transparent 62%),
    linear-gradient(165deg, var(--bg-core), var(--bg-deep));
  background-size: 130% 130%, 130% 130%, 140% 140%, auto;
  animation: none;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: normal;
  opacity: 0.35;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.48));
  z-index: 0;
}

.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(57, 247, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 247, 255, 0.14) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 18%, #000 34%, transparent 86%);
  opacity: 0.25;
}

.bg-glow {
  background:
    radial-gradient(28rem 18rem at 15% 35%, rgba(255, 79, 130, 0.16), transparent 72%),
    radial-gradient(34rem 22rem at 82% 28%, rgba(201, 255, 75, 0.13), transparent 70%);
  animation: none;
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* =========================
   Navigation + Hero
   ========================= */
.site-hero {
  padding: 0.9rem 0 2.5rem;
}

.main-nav {
  position: sticky;
  top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.92rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(8, 14, 30, 0.93), rgba(7, 12, 23, 0.78));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.main-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(57, 247, 255, 0.15), transparent);
  transform: translateX(0);
  opacity: 0.35;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 0.34rem;
  position: relative;
  z-index: 1;
}

.brand-title {
  color: #fff6d9;
  font: 400 clamp(0.72rem, 1vw, 0.9rem)/1.24 "Press Start 2P", monospace;
  text-transform: uppercase;
}

.site-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.36rem 0.74rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-muted);
  font: 700 0.66rem/1 "Space Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  border-color: var(--neon-cyan);
  background: rgba(57, 247, 255, 0.15);
  box-shadow: 0 0 20px rgba(57, 247, 255, 0.15);
}

.mode-toggle {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(255, 122, 44, 0.3), rgba(57, 247, 255, 0.2));
  color: var(--text-main);
  padding: 0.52rem 0.9rem;
  font: 700 0.68rem/1 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  position: relative;
  z-index: 1;
}

.mode-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 24px rgba(57, 247, 255, 0.18);
}

.hero-shell {
  margin-top: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(1.2rem, 3.6vw, 3rem);
  background:
    linear-gradient(155deg, rgba(14, 22, 44, 0.9), rgba(6, 11, 23, 0.82)),
    radial-gradient(circle at 8% 10%, rgba(57, 247, 255, 0.18), transparent 44%),
    radial-gradient(circle at 84% 12%, rgba(255, 122, 44, 0.24), transparent 48%);
  box-shadow: var(--shadow-soft), var(--shadow-neon);
  position: relative;
  overflow: hidden;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: auto -12% -60% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 130, 0.24), rgba(255, 79, 130, 0));
  transform: rotate(8deg);
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.07) 52%, transparent 84%);
  opacity: 0.4;
}

.hero-shell h1 {
  margin: 0;
  max-width: 15ch;
  color: #fff8de;
  font: 400 clamp(1.45rem, 3.9vw, 3rem)/1.26 "Press Start 2P", monospace;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 64ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.56rem 1.08rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 700 0.75rem/1 "Space Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(102deg, var(--neon-orange), #ffc83f);
  color: #2d1400;
  box-shadow: 0 0 24px rgba(255, 122, 44, 0.24);
}

.btn-ghost {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 24px rgba(57, 247, 255, 0.16);
}

/* =========================
   Shared Section Layout
   ========================= */
.section-block {
  padding: 2.4rem 0;
  position: relative;
}

.section-block::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.75;
}

.section-heading h2 {
  margin: 0.58rem 0 0;
  color: #fff5d8;
  font: 400 clamp(1rem, 2vw, 1.7rem)/1.34 "Press Start 2P", monospace;
  text-transform: uppercase;
}

.section-note {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* =========================
   Console Vault
   ========================= */
.filter-panel {
  margin-top: 1.05rem;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: end;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field span {
  color: var(--text-muted);
  font: 700 0.67rem/1 "Space Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.dice-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(8, 13, 25, 0.9);
  color: var(--text-main);
  font: 600 0.89rem/1 "Chakra Petch", sans-serif;
  padding: 0.54rem 0.72rem;
}

.field input::placeholder {
  color: color-mix(in srgb, var(--text-muted), transparent 26%);
}

.dice-btn {
  cursor: pointer;
  font: 700 0.73rem/1 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(255, 122, 44, 0.3), rgba(255, 79, 130, 0.26));
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.dice-btn:hover {
  transform: translateY(-2px);
  border-color: var(--neon-orange);
  box-shadow: 0 0 22px rgba(255, 122, 44, 0.2);
}

.filter-hint {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font: 700 0.71rem/1.4 "Space Mono", monospace;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.filter-hint kbd {
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff7e0;
  display: inline-block;
  min-width: 1.3rem;
  text-align: center;
  padding: 0.06rem 0.3rem;
  font: 700 0.66rem/1 "Space Mono", monospace;
}

.result-count,
.empty-state {
  margin: 0.86rem 0 0;
  font: 700 0.78rem/1 "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-count {
  color: var(--neon-cyan);
}

.empty-state {
  color: var(--neon-pink);
}

.vault-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.console-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(57, 247, 255, 0.18), transparent 40%),
    linear-gradient(170deg, var(--bg-panel), rgba(8, 12, 22, 0.9));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  contain: layout paint;
}

.console-card::before,
.console-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(57, 247, 255, 0.45);
  pointer-events: none;
  z-index: 3;
}

.console-card::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}

.console-card::after {
  right: 8px;
  bottom: 8px;
  border-top: 0;
  border-left: 0;
}

.console-card:hover {
  transform: translateY(-2px);
  border-color: var(--neon-cyan);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), 0 0 26px rgba(57, 247, 255, 0.18);
}

.console-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 0.8rem;
  background:
    linear-gradient(185deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 8px, transparent 8px, transparent 16px);
}

.card-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.3;
}

.card-sub {
  margin: 0;
  color: var(--neon-cyan);
  font: 700 0.74rem/1.35 "Space Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-body > p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.mini-specs {
  margin: 0.16rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.42rem;
}

.mini-specs li {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg-panel-soft);
  padding: 0.42rem;
  display: grid;
  gap: 0.2rem;
}

.mini-specs span {
  color: var(--text-muted);
  font: 700 0.56rem/1 "Space Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-specs strong {
  color: #fff8df;
  font-size: 0.75rem;
}

.dossier-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-main);
  font: 700 0.66rem/1 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.dossier-link:hover {
  transform: translateY(-2px);
  border-color: var(--neon-lime);
  color: var(--neon-lime);
}

.console-card.is-spotlight {
  border-color: var(--neon-lime);
  box-shadow: 0 0 0 2px rgba(201, 255, 75, 0.18), 0 18px 42px rgba(0, 0, 0, 0.5);
  animation: spotlightPulse 900ms ease-in-out 2;
}

@keyframes spotlightPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

/* =========================
   Time Warp Timeline
   ========================= */
.timeline-track {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  position: relative;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(57, 247, 255, 0), rgba(57, 247, 255, 0.9), rgba(57, 247, 255, 0));
  opacity: 0.65;
}

.timeline-stop {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.92rem 0.9rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline-stop::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 44, 0.23), 0 0 20px rgba(255, 122, 44, 0.45);
}

.timeline-stop:hover,
.timeline-stop.is-hot {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.38), 0 0 20px rgba(57, 247, 255, 0.14);
}

.stamp {
  margin: 0;
  color: var(--neon-cyan);
  font: 700 0.73rem/1 "Space Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-stop h3 {
  margin: 0.58rem 0 0;
  font-size: 1rem;
}

.timeline-stop p {
  margin: 0.54rem 0 0;
  color: var(--text-muted);
  line-height: 1.46;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  padding: 0.7rem 0 2rem;
}

.site-footer p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.94rem;
  color: color-mix(in srgb, var(--text-muted), white 15%);
  font-size: 0.92rem;
}

.footer-signature {
  margin-top: 0.68rem;
}

.footer-signature a {
  color: var(--neon-cyan);
  text-decoration: none;
}

.footer-signature a:hover {
  text-decoration: underline;
}

/* =========================
   Reveal Motion
   ========================= */
[data-reveal] {
  opacity: 1;
  transform: none;
}

/* =========================
   Theme Shift Mode
   ========================= */
body.mode-shift {
  --neon-cyan: #00ffd4;
  --neon-orange: #ffd24e;
  --neon-lime: #90ff68;
  --neon-pink: #ff8f55;
  --line: rgba(0, 255, 212, 0.36);
  --bg-panel: rgba(10, 26, 21, 0.82);
  background:
    radial-gradient(72rem 40rem at 95% -10%, rgba(255, 210, 78, 0.28), transparent 58%),
    radial-gradient(70rem 38rem at 4% 10%, rgba(0, 255, 212, 0.2), transparent 54%),
    radial-gradient(58rem 32rem at 50% 118%, rgba(144, 255, 104, 0.15), transparent 62%),
    linear-gradient(170deg, #030b11, #112621);
}

body.mode-shift .hero-shell {
  border-color: rgba(0, 255, 212, 0.44);
  box-shadow: 0 30px 80px rgba(0, 255, 212, 0.16);
}

/* =========================
   Console Detail Pages
   ========================= */
.console-page {
  min-height: 100vh;
}

.console-back {
  padding-top: 1.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--neon-cyan);
  font: 700 0.67rem/1 "Space Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(8, 15, 27, 0.82);
}

.back-link:hover {
  border-color: var(--neon-lime);
  color: var(--neon-lime);
}

.console-main {
  padding: 0.9rem 0 2.6rem;
}

.video-panel {
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.video-panel h2 {
  margin: 0;
  font: 700 0.9rem/1.35 "Space Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-panel p {
  margin: 0.58rem 0 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.video-frame {
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.55);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.game-art-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.55rem;
}

@media (min-width: 1200px) {
  .game-art-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.game-art-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.game-art-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.game-art-card p {
  margin: 0;
  padding: 0.45rem 0.5rem;
  color: var(--text-muted);
  font: 700 0.66rem/1.4 "Space Mono", monospace;
}

.game-art-card.is-fallback {
  display: grid;
}

.game-art-fallback {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font: 700 0.7rem/1 "Space Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.console-banner {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(11, 20, 38, 0.85), rgba(7, 12, 22, 0.78)),
    radial-gradient(circle at 86% 15%, rgba(255, 122, 44, 0.16), transparent 52%);
}

.console-banner img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem;
}

.console-head h1 {
  margin: 0.8rem 0 0;
  color: #fff6dc;
  font: 400 clamp(1rem, 2.2vw, 1.5rem)/1.35 "Press Start 2P", monospace;
  text-transform: uppercase;
}

.console-subline {
  margin: 0.75rem 0 0;
  color: var(--neon-cyan);
  font: 700 0.8rem/1.35 "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.console-head > p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.chip-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.66rem;
  color: #fff3cf;
  font: 700 0.68rem/1 "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.04);
}

.console-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

.console-side-stack {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.console-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.console-panel h2 {
  margin: 0;
  font: 700 0.9rem/1.35 "Space Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-list {
  margin: 0.7rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  padding-bottom: 0.34rem;
}

.spec-list dt {
  margin: 0;
  color: var(--text-muted);
  font: 700 0.74rem/1.4 "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spec-list dd {
  margin: 0;
  text-align: right;
  color: #fff4d4;
  font-weight: 600;
}

.game-list {
  margin: 0.68rem 0 0;
  padding-left: 1.05rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.42rem;
}

.game-list li {
  line-height: 1.45;
}

.console-panel p,
.check-list {
  margin-top: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-list {
  padding-left: 1.05rem;
  display: grid;
  gap: 0.44rem;
}

.console-footer {
  padding-bottom: 1.7rem;
}

.console-footer p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================
   Anchors + Responsive
   ========================= */
#vault,
#timeline {
  scroll-margin-top: 4.2rem;
}

@media (max-width: 1024px) {
  .main-nav {
    flex-wrap: wrap;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
  }

  .mode-toggle {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .hero-shell h1 {
    max-width: 100%;
  }

  .timeline-track::before {
    display: none;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .console-banner {
    grid-template-columns: 1fr;
  }

  .console-banner img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .hero-shell h1 {
    font-size: 1.22rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .nav-link {
    font-size: 0.6rem;
    padding-inline: 0.58rem;
  }

  .mini-specs {
    grid-template-columns: 1fr;
  }

  .result-count,
  .empty-state,
  .filter-hint {
    letter-spacing: 0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
