:root {
  color-scheme: dark;
  --void: #020408;
  --void-2: #050912;
  --panel: #071019;
  --panel-2: #0a141e;
  --cyan: #35d7ff;
  --cyan-soft: rgba(53, 215, 255, .18);
  --cyan-faint: rgba(53, 215, 255, .08);
  --magenta: #ee4cff;
  --magenta-soft: rgba(238, 76, 255, .14);
  --gold: #d8bd72;
  --gold-bright: #f4e3ae;
  --white: #f5f8fa;
  --muted: #8d9aa6;
  --danger: #ff5f78;
  --success: #84f7bc;
  --line: rgba(53, 215, 255, .34);
  --line-soft: rgba(143, 215, 236, .13);
  --line-faint: rgba(255, 255, 255, .055);
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1240px, calc(100vw - 56px));
  --clip: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--void);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 76% 10%, rgba(53, 215, 255, .055), transparent 24%),
    radial-gradient(circle at 12% 48%, rgba(238, 76, 255, .04), transparent 26%),
    linear-gradient(180deg, #020408 0%, #03070d 46%, #020408 100%);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: #000; background: var(--cyan); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--cyan);
  color: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* Boot */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 32px;
  background: #010307;
  color: var(--cyan);
  font-family: var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: opacity .45s ease, visibility .45s ease;
}
.boot-screen.is-hidden { opacity: 0; visibility: hidden; }
.boot-screen__grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background:
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(53, 215, 255, .18) 60px),
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(53, 215, 255, .12) 60px);
}
.boot-screen p,
.boot-screen small,
.boot-screen__bar { position: relative; z-index: 1; }
.boot-screen p { margin: 0; font-size: clamp(12px, 2vw, 18px); }
.boot-screen small { color: rgba(255, 255, 255, .55); font-size: 8px; }
.boot-screen__bar {
  width: min(420px, 74vw);
  height: 5px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.boot-screen__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform-origin: left;
  animation: boot-load .8s var(--ease) both;
}
@keyframes boot-load { from { transform: scaleX(0); } }

/* Header */
.game-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  min-height: 76px;
  padding-inline: max(24px, calc((100vw - 1460px) / 2));
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  border-bottom: 1px solid transparent;
  transition: min-height .3s ease, border-color .3s ease;
}
.game-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(2, 5, 9, .91);
  opacity: 0;
  backdrop-filter: blur(18px);
  transition: opacity .3s ease;
}
.game-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), transparent);
  transition: width .55s var(--ease);
}
.game-header.is-scrolled { min-height: 64px; border-color: var(--line-soft); }
.game-header.is-scrolled::before { opacity: 1; }
.game-header.is-scrolled::after { width: 38%; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand__sigil {
  width: 34px;
  aspect-ratio: 1;
  position: relative;
  border: 1px solid rgba(244, 227, 174, .72);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 255, 255, .16);
}
.brand__sigil::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #010203;
  box-shadow: 0 0 6px 2px #fff;
}
.brand__sigil::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(244, 227, 174, .24);
  border-radius: 50%;
}
.brand__name {
  color: var(--gold-bright);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  line-height: .88;
  letter-spacing: .32em;
}

.header-readout {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: .16em;
  white-space: nowrap;
}
.header-readout i { width: 44px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.header-readout strong { color: var(--success); font-weight: 500; }

.game-nav {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
}
.game-nav a {
  position: relative;
  padding-block: 12px;
  color: rgba(245, 248, 250, .62);
  font: 9px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.game-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: left .25s ease, width .25s ease;
}
.game-nav a:hover,
.game-nav a:focus-visible,
.game-nav a.is-active { color: var(--white); }
.game-nav a:hover::before,
.game-nav a:focus-visible::before,
.game-nav a.is-active::before { left: 0; width: 100%; }

.header-cta {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cyan);
  background: rgba(53, 215, 255, .06);
  color: var(--cyan);
  clip-path: var(--clip);
  font: 9px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease, box-shadow .22s ease;
}
.header-cta:hover { color: #001018; background: var(--cyan); box-shadow: 0 0 28px rgba(53, 215, 255, .22); }
.header-cta b { font-size: 14px; font-weight: 400; }
.menu-toggle { display: none; }

/* Hero */
.game-hero {
  min-height: max(760px, 100svh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding: 110px max(28px, calc((100vw - 1240px) / 2)) 76px;
  border-bottom: 1px solid var(--line);
}
.game-hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(53, 215, 255, .16);
  clip-path: var(--clip);
}
.game-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: -2;
  background: linear-gradient(transparent, #020408);
}
.game-hero__media {
  position: absolute;
  inset: -3%;
  z-index: -6;
  background:
    linear-gradient(90deg, rgba(2, 4, 8, .98) 0%, rgba(2, 4, 8, .78) 42%, rgba(2, 4, 8, .2) 74%, rgba(2, 4, 8, .76) 100%),
    linear-gradient(0deg, #020408 0%, transparent 38%, rgba(2, 4, 8, .18) 70%, #020408 100%),
    url("assets/game1/steam-background.jpg") 72% 48% / cover no-repeat;
  filter: contrast(1.28) brightness(.72);
  transform: scale(1.05);
}
.crt-layer {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .018) 4px),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(53, 215, 255, .04) 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(53, 215, 255, .025) 120px);
  mix-blend-mode: screen;
}
.crt-layer::after {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 22%;
  background: linear-gradient(transparent, rgba(53, 215, 255, .06), transparent);
  animation: hero-scan 7s linear infinite;
}
@keyframes hero-scan { to { transform: translateY(720%); } }

.hero-reticle {
  position: absolute;
  right: 25%;
  top: 48%;
  z-index: -1;
  width: clamp(150px, 16vw, 250px);
  aspect-ratio: 1;
  border: 1px solid rgba(53, 215, 255, .32);
  border-radius: 50%;
  transform: translate3d(var(--reticle-x, 0), var(--reticle-y, 0), 0);
  transition: transform .18s ease-out;
}
.hero-reticle::before,
.hero-reticle::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(53, 215, 255, .28);
  border-radius: 50%;
  animation: rotate-reticle 22s linear infinite;
}
.hero-reticle::after { inset: 37%; animation-direction: reverse; animation-duration: 13s; }
.hero-reticle span { position: absolute; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero-reticle span:nth-child(1),
.hero-reticle span:nth-child(2) { width: 28px; height: 1px; top: 50%; }
.hero-reticle span:nth-child(1) { left: -14px; }
.hero-reticle span:nth-child(2) { right: -14px; }
.hero-reticle span:nth-child(3),
.hero-reticle span:nth-child(4) { width: 1px; height: 28px; left: 50%; }
.hero-reticle span:nth-child(3) { top: -14px; }
.hero-reticle span:nth-child(4) { bottom: -14px; }
@keyframes rotate-reticle { to { transform: rotate(360deg); } }

.hud {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: rgba(255, 255, 255, .42);
  font: 7px var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hud strong { color: var(--cyan); font-size: 8px; font-weight: 500; }
.hud::after { content: ""; width: 90px; height: 1px; margin-top: 6px; background: linear-gradient(90deg, var(--cyan), transparent); }
.hud--top-left { top: 100px; left: max(42px, calc((100vw - 1420px) / 2)); }
.hud--top-right { top: 100px; right: max(42px, calc((100vw - 1420px) / 2)); text-align: right; align-items: flex-end; }
.hud--top-right::after,
.hud--bottom-right::after { background: linear-gradient(270deg, var(--cyan), transparent); }
.hud--bottom-left { bottom: 42px; left: max(42px, calc((100vw - 1420px) / 2)); }
.hud--bottom-right { bottom: 42px; right: max(42px, calc((100vw - 1420px) / 2)); text-align: right; align-items: flex-end; }

.game-hero__content { position: relative; z-index: 3; min-width: 0; }
.system-line {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .18em;
}
.system-line span { color: var(--cyan); }
.system-line i { width: 70px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.system-line b { color: var(--danger); font-weight: 500; }

.game-logo {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding-block: 6px 14px;
  text-transform: uppercase;
  filter: drop-shadow(0 18px 40px #000);
}
.game-logo::before,
.game-logo::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.game-logo::before { top: 0; }
.game-logo::after { bottom: 0; }
.game-logo span,
.game-logo strong { display: block; white-space: nowrap; font-family: var(--display); font-weight: 800; line-height: .78; }
.game-logo span {
  font-size: clamp(84px, 11vw, 162px);
  letter-spacing: -.045em;
  color: var(--white);
}
.game-logo strong {
  position: relative;
  margin-left: clamp(14px, 2.5vw, 38px);
  color: var(--gold-bright);
  font-size: clamp(54px, 7vw, 106px);
  letter-spacing: .07em;
}
.game-logo strong::after {
  content: "";
  display: inline-block;
  width: .24em;
  aspect-ratio: 1;
  margin-left: .08em;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .86), 0 0 18px 4px #fff;
  vertical-align: .08em;
}
.game-logo.is-glitching::before { animation: logo-shift .18s steps(2) 2; }
.game-logo.is-glitching span { animation: glitch-text .18s steps(2) 2; }
@keyframes logo-shift { 50% { transform: translateX(18px); background: var(--magenta); } }
@keyframes glitch-text { 35% { transform: translateX(-4px); text-shadow: 5px 0 var(--cyan), -5px 0 var(--magenta); } }

.game-hero__lead {
  max-width: 700px;
  margin: 34px 0 28px;
  color: rgba(245, 248, 250, .84);
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: .01em;
}
.game-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid;
  clip-path: var(--clip);
  font: 9px var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button b { font-size: 15px; font-weight: 400; }
.button--primary {
  color: #001018;
  border-color: var(--cyan);
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(53, 215, 255, .13);
}
.button--primary:hover { background: #b8f2ff; box-shadow: 0 0 40px rgba(53, 215, 255, .28); }
.button--ghost { color: var(--white); border-color: rgba(245, 248, 250, .26); background: rgba(4, 8, 14, .58); }
.button--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.button--large { min-height: 60px; padding-inline: 30px; }

.game-hero__status {
  max-width: 770px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  background: rgba(2, 7, 12, .68);
  clip-path: var(--clip);
}
.game-hero__status div { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--line-soft); }
.game-hero__status div:last-child { border-right: 0; }
.game-hero__status span,
.game-hero__status strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-hero__status span { color: var(--muted); font: 7px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.game-hero__status strong { margin-top: 4px; color: var(--white); font: 10px var(--mono); font-weight: 500; }
.game-hero__status div:first-child strong { color: var(--success); }

.hero-telemetry {
  position: relative;
  z-index: 3;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(53, 215, 255, .07), transparent 44%),
    rgba(2, 8, 14, .82);
  clip-path: var(--clip);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}
.hero-telemetry::before,
.hero-telemetry::after { content: ""; position: absolute; width: 40px; height: 40px; border-color: var(--cyan); opacity: .72; }
.hero-telemetry::before { top: 8px; left: 8px; border-top: 1px solid; border-left: 1px solid; }
.hero-telemetry::after { right: 8px; bottom: 8px; border-right: 1px solid; border-bottom: 1px solid; }
.hero-telemetry__title { display: flex; justify-content: space-between; gap: 12px; color: var(--cyan); font: 8px var(--mono); letter-spacing: .15em; }
.hero-telemetry__title b { color: var(--danger); font-weight: 500; }
.telemetry-orb {
  width: min(230px, 76%);
  aspect-ratio: 1;
  position: relative;
  margin: 30px auto;
  border: 1px solid rgba(53, 215, 255, .46);
  border-radius: 50%;
  background:
    radial-gradient(circle, #020407 0 35%, rgba(53, 215, 255, .2) 36% 37%, transparent 38%),
    conic-gradient(from 40deg, transparent, rgba(53, 215, 255, .12), transparent 30%, rgba(238, 76, 255, .1), transparent 65%);
  box-shadow: inset 0 0 50px rgba(53, 215, 255, .08), 0 0 35px rgba(53, 215, 255, .08);
}
.telemetry-orb::before,
.telemetry-orb::after { content: ""; position: absolute; border-radius: 50%; }
.telemetry-orb::before { inset: 14%; border: 1px dashed rgba(53, 215, 255, .48); animation: rotate-reticle 18s linear infinite; }
.telemetry-orb::after { inset: 31%; background: #000; box-shadow: 0 0 13px 5px #fff, 0 0 40px 12px rgba(255, 255, 255, .28); }
.telemetry-orb span,
.telemetry-orb i { position: absolute; left: 50%; top: 50%; transform-origin: 0 0; width: 46%; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.telemetry-orb span { animation: radar 4.4s linear infinite; }
.telemetry-orb i { animation: radar 8s linear infinite reverse; opacity: .42; }
@keyframes radar { to { transform: rotate(360deg); } }
.hero-telemetry dl { margin: 0; }
.hero-telemetry dl div { padding: 10px 0; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-soft); }
.hero-telemetry dt { color: var(--muted); font: 8px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hero-telemetry dd { margin: 0; color: var(--white); font: 9px var(--mono); text-align: right; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  width: 30px;
  height: 46px;
  transform: translateX(-50%);
  border: 1px solid rgba(53, 215, 255, .28);
  border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; background: var(--cyan); transform: translateX(-50%); animation: scroll-cue 1.7s ease infinite; }
@keyframes scroll-cue { 60% { transform: translate(-50%, 16px); opacity: .1; } }

/* Shared module sections */
.module-section {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  padding-block: clamp(92px, 10vw, 150px);
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line-faint);
}
.module-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.module-section__rail {
  grid-row: 1 / span 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--cyan);
  font-family: var(--mono);
}
.module-section__rail span { font-size: 24px; }
.module-section__rail i { width: 1px; min-height: 120px; flex: 1; background: linear-gradient(var(--cyan), transparent); }
.module-section__rail small { writing-mode: vertical-rl; font-size: 7px; letter-spacing: .27em; }
.module-label {
  margin: 0 0 18px;
  color: var(--cyan);
  font: 9px var(--mono);
  letter-spacing: .21em;
  text-transform: uppercase;
}
.module-section h1,
.module-section h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(44px, 5.7vw, 78px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.025em;
}

/* Mission */
.mission {
  grid-template-columns: 62px minmax(0, 1fr) minmax(300px, 410px);
  align-items: start;
}
.mission__main { min-width: 0; }
.mission__lede {
  margin: 32px 0 20px;
  color: rgba(245, 248, 250, .9);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}
.mission__main > p:not(.module-label):not(.mission__lede) { max-width: 820px; color: var(--muted); font-size: 16px; }
.mission-log {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid rgba(238, 76, 255, .36);
  background:
    linear-gradient(135deg, rgba(238, 76, 255, .08), transparent 44%),
    rgba(5, 9, 15, .9);
  clip-path: var(--clip);
}
.mission-log::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .04);
  clip-path: var(--clip);
}
.mission-log__header { position: relative; display: flex; justify-content: space-between; gap: 12px; color: var(--magenta); font: 8px var(--mono); letter-spacing: .12em; }
.mission-log__header b { color: var(--danger); font-weight: 500; }
.mission-log blockquote { position: relative; margin: 28px 0 14px; color: var(--gold-bright); font: 400 32px/1.14 var(--display); }
.mission-log > p { position: relative; color: var(--muted); font-size: 12px; }
.mission-log dl { position: relative; margin: 22px 0 0; }
.mission-log dl div { padding: 11px 0; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line-soft); }
.mission-log dt { color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.mission-log dd { margin: 0; color: var(--white); font: 9px var(--mono); text-align: right; }

/* Systems */
.systems { background: linear-gradient(180deg, rgba(53, 215, 255, .018), transparent 36%); }
.systems__header { max-width: 850px; margin-bottom: 50px; }
.systems__header > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.loadout-console {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  border: 1px solid var(--line);
  background: #03070d;
  clip-path: var(--clip);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.loadout-console__screen { position: relative; min-height: 420px; background: #000; overflow: hidden; }
.loadout-console__screen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.12); }
.screen-overlay { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgba(0, 0, 0, .64); }
.screen-overlay::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .03) 4px); }
.screen-overlay span,
.screen-overlay i { position: absolute; border-color: var(--cyan); }
.screen-overlay span { inset: 18px; border: 1px solid rgba(53, 215, 255, .3); clip-path: var(--clip); }
.screen-overlay i { left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%, -50%); border: 1px dashed rgba(53, 215, 255, .46); border-radius: 50%; }
.loadout-console__panel { padding: 26px; border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(53, 215, 255, .055), transparent), #061019; }
.loadout-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.loadout-tabs button {
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, .34);
  color: var(--muted);
  font: 8px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.loadout-tabs button[aria-selected="true"] { border-color: var(--cyan); color: var(--cyan); background: rgba(53, 215, 255, .08); box-shadow: inset 0 -2px var(--cyan); }
.loadout-copy { margin-top: 38px; }
.loadout-copy__index { margin: 0; color: var(--cyan); font: 8px var(--mono); letter-spacing: .15em; }
.loadout-copy h3 { margin: 10px 0 14px; font: 400 33px/1.05 var(--display); }
.loadout-copy > p:not(.loadout-copy__index) { color: var(--muted); font-size: 13px; }
.loadout-copy ul { margin: 30px 0 0; padding: 0; list-style: none; }
.loadout-copy li { margin-top: 15px; }
.loadout-copy li span { display: block; margin-bottom: 6px; color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.loadout-copy li i { display: block; height: 5px; position: relative; background: rgba(255, 255, 255, .08); }
.loadout-copy li i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); background: linear-gradient(90deg, var(--cyan), var(--magenta)); box-shadow: 0 0 12px rgba(53, 215, 255, .28); }

.system-grid {
  grid-column: 2;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.system-card {
  min-height: 220px;
  padding: 22px;
  position: relative;
  border: 1px solid var(--line-soft);
  background: rgba(5, 11, 18, .74);
  clip-path: var(--clip);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.system-card::after { content: ""; position: absolute; right: 12px; top: 12px; width: 7px; height: 7px; border: 1px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 10px var(--cyan); }
.system-card:hover { transform: translateY(-4px); border-color: var(--cyan); background: rgba(8, 18, 28, .9); }
.system-card > span { display: block; color: var(--cyan); font: 34px var(--mono); letter-spacing: -.05em; }
.system-card h3 { margin: 32px 0 8px; font: 400 26px/1.1 var(--display); }
.system-card p { margin: 0; color: var(--muted); font-size: 12px; }

/* Threats */
.threats {
  grid-template-columns: 62px minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: center;
}
.threats__visual {
  position: relative;
  align-self: center;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(238, 76, 255, .42);
  clip-path: var(--clip);
  box-shadow: 0 30px 90px rgba(103, 22, 123, .15);
}
.threats__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.88) contrast(1.12);
}
.threats__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .28), transparent 36%), repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .025) 4px); box-shadow: inset 0 0 85px rgba(0, 0, 0, .58); }
.scanner { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.scanner::before { content: ""; position: absolute; left: 50%; top: 50%; width: 29%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(53, 215, 255, .68); border-radius: 50%; box-shadow: 0 0 24px rgba(53, 215, 255, .16); }
.scanner::after { content: ""; position: absolute; inset: -22% 0 auto; height: 24%; background: linear-gradient(transparent, rgba(53, 215, 255, .12), transparent); animation: scanner-sweep 5s linear infinite; }
.scanner span,
.scanner i,
.scanner b { position: absolute; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.scanner span { left: 50%; top: 35%; width: 1px; height: 30%; }
.scanner i { top: 50%; left: 36%; width: 28%; height: 1px; }
.scanner b { left: 49%; top: 49%; width: 8px; height: 8px; border-radius: 50%; }
@keyframes scanner-sweep { to { transform: translateY(620%); } }
.threat-tag { position: absolute; left: 18px; bottom: 18px; z-index: 3; padding: 10px 14px; border-left: 2px solid var(--danger); background: rgba(2, 5, 9, .84); font-family: var(--mono); }
.threat-tag span,
.threat-tag strong { display: block; }
.threat-tag span { color: var(--danger); font-size: 8px; letter-spacing: .14em; }
.threat-tag strong { margin-top: 3px; color: var(--white); font-size: 10px; font-weight: 500; }
.threats__copy { padding-left: clamp(0px, 3vw, 40px); }
.threats__copy h2 { font-size: clamp(42px, 4.9vw, 68px); }
.threats__copy > p:not(.module-label) { color: var(--muted); font-size: 15px; }
.diagnostic-list { margin: 28px 0 0; padding: 0; list-style: none; }
.diagnostic-list li { padding: 12px 0; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; border-top: 1px solid var(--line-soft); }
.diagnostic-list span { color: var(--cyan); font: 10px var(--mono); }
.diagnostic-list p { margin: 0; color: rgba(245, 248, 250, .8); font-size: 13px; }

/* Modes */
.modes__header { max-width: 850px; margin-bottom: 46px; }
.mode-grid { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode-card {
  min-height: 330px;
  padding: 24px;
  position: relative;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(145deg, rgba(53, 215, 255, .035), transparent 44%),
    rgba(4, 10, 16, .82);
  clip-path: var(--clip);
  transition: transform .25s ease, border-color .25s ease;
}
.mode-card::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 18px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); transform: scaleX(.32); transform-origin: left; transition: transform .35s ease; }
.mode-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.mode-card:hover::after { transform: scaleX(1); }
.mode-card--active { border-color: rgba(53, 215, 255, .42); box-shadow: inset 0 0 45px rgba(53, 215, 255, .035); }
.mode-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--cyan); font: 11px var(--mono); }
.mode-card__top b { color: var(--success); font-size: 8px; font-weight: 500; }
.mode-card > p { margin: 46px 0 10px; color: var(--muted); font: 8px var(--mono); letter-spacing: .16em; }
.mode-card h3 {
  margin: 0;
  color: var(--white);
  font: 400 clamp(44px, 4vw, 62px)/.95 var(--display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.mode-card h4 {
  margin: 18px 0 0;
  color: rgba(245, 248, 250, .72);
  font: 400 20px/1.15 var(--display);
}
.mode-card > strong { display: block; margin-top: 28px; color: var(--cyan); font: 12px var(--mono); letter-spacing: .14em; }
.mode-card > small { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }

/* Records */
.records__header { max-width: 850px; margin-bottom: 46px; }
.records-grid { grid-column: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.record-card {
  min-height: 280px;
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #000;
  clip-path: var(--clip);
  cursor: zoom-in;
  text-align: left;
}
.record-card--wide { grid-column: 1 / -1; min-height: 520px; }
.record-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.12) brightness(.82); transition: transform .6s var(--ease), filter .4s ease; }
.record-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .88), transparent 46%), repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .02) 4px); pointer-events: none; }
.record-card::after { content: "+"; position: absolute; right: 18px; top: 14px; z-index: 2; color: var(--cyan); font: 20px var(--mono); }
.record-card:hover img { transform: scale(1.035); filter: saturate(.96) contrast(1.08) brightness(1); }
.record-card span { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: var(--white); font: 11px var(--mono); letter-spacing: .08em; }
.record-card span b { color: var(--cyan); font-weight: 500; margin-right: 10px; }

/* Free access */
.free-access {
  min-height: 720px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 110px 28px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.free-access::before { content: ""; position: absolute; inset: 0; z-index: -4; background: radial-gradient(circle at center, rgba(53, 215, 255, .08), transparent 24%), url("assets/game1/steam-background.jpg") center / cover no-repeat; filter: contrast(1.28) brightness(.43); }
.free-access::after { content: ""; position: absolute; inset: 0; z-index: -3; background: radial-gradient(circle at center, transparent 0 22%, rgba(2, 4, 8, .25) 48%, #020408 82%); }
.free-access__sun { position: absolute; left: 50%; top: 50%; z-index: -2; width: min(680px, 72vw); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(53, 215, 255, .2); border-radius: 50%; }
.free-access__sun::before,
.free-access__sun::after { content: ""; position: absolute; border-radius: 50%; }
.free-access__sun::before { inset: 11%; border: 1px dashed rgba(53, 215, 255, .32); animation: rotate-reticle 38s linear infinite; }
.free-access__sun::after { inset: 32%; background: #000; box-shadow: 0 0 14px 5px #fff, 0 0 60px 16px rgba(255, 255, 255, .18); }
.free-access__grid { position: absolute; inset: 0; z-index: -1; opacity: .18; background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(53, 215, 255, .08) 80px), repeating-linear-gradient(0deg, transparent 0 79px, rgba(53, 215, 255, .06) 80px); mask: radial-gradient(circle, #000, transparent 74%); }
.free-access__copy { max-width: 960px; }
.free-access h2 { margin: 0; font: 300 clamp(56px, 7vw, 98px)/.96 var(--display); letter-spacing: -.035em; }
.free-access__copy > p:not(.module-label) { max-width: 720px; margin: 24px auto 32px; color: rgba(245, 248, 250, .76); font-size: 17px; }
.free-access__meta { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.free-access__meta span { padding: 6px 10px; border: 1px solid var(--line-soft); background: rgba(2, 7, 12, .7); color: var(--muted); font: 8px var(--mono); letter-spacing: .12em; }

/* Footer */
.game-footer {
  min-height: 150px;
  padding: 32px max(28px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 38px;
  border-top: 1px solid var(--line-soft);
  background: #010307;
}
.game-footer > p { margin: 0; color: var(--muted); font-size: 12px; }
.game-footer nav { display: flex; gap: 24px; }
.game-footer nav a { color: var(--muted); font: 8px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.game-footer nav a:hover { color: var(--cyan); }
.game-footer > span { color: rgba(255, 255, 255, .34); font: 8px var(--mono); letter-spacing: .1em; white-space: nowrap; }

/* Lightbox */
.lightbox {
  width: min(1240px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  border: 1px solid var(--cyan);
  background: #020408;
  color: var(--white);
  clip-path: var(--clip);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .88); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox p { margin: 0; padding: 13px 18px; color: var(--muted); font: 9px var(--mono); letter-spacing: .1em; }
.lightbox__close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border: 1px solid var(--cyan); background: rgba(2, 4, 8, .85); color: var(--cyan); cursor: pointer; font: 22px var(--mono); }

/* Reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1120px) {
  :root { --container: min(100% - 40px, 1080px); }
  .game-header { grid-template-columns: auto 1fr auto; }
  .header-readout { display: none; }
  .game-nav { justify-self: center; }
  .game-hero { grid-template-columns: minmax(0, 1fr) 320px; }
  .mission { grid-template-columns: 56px minmax(0, 1fr) 340px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .threats { grid-template-columns: 56px minmax(0, 1fr); }
  .threats__copy { grid-column: 2; padding: 38px 0 0; }
  .game-footer { grid-template-columns: auto 1fr auto; }
  .game-footer > span { grid-column: 3; }
  .game-footer nav { grid-column: 2; grid-row: 2; }
}

@media (max-width: 880px) {
  :root { --container: calc(100vw - 32px); }
  .game-header { min-height: 68px; padding-inline: 18px; grid-template-columns: auto 1fr auto; }
  .game-header::before { opacity: 1; }
  .header-cta { display: none; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 7px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    position: relative;
    z-index: 82;
    border: 1px solid var(--line);
    background: rgba(3, 8, 14, .9);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: var(--cyan); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .game-nav {
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100vw;
    height: 100dvh;
    justify-self: stretch;
    padding: 100px 28px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    background:
      linear-gradient(rgba(2, 5, 9, .94), rgba(2, 5, 9, .98)),
      url("assets/game1/steam-background.jpg") center / cover;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
  }
  .game-nav::before { content: "VOID WALKER // NAVEGAÇÃO"; margin-bottom: 24px; color: var(--cyan); font: 8px var(--mono); letter-spacing: .18em; }
  .game-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .game-nav a { padding: 17px 6px; border-top: 1px solid var(--line-soft); font-size: 14px; }
  .game-nav a:last-child { border-bottom: 1px solid var(--line-soft); }

  .game-hero {
    min-height: 850px;
    grid-template-columns: 1fr;
    align-content: center;
    padding: 100px 26px 70px;
  }
  .game-hero::before { inset: 14px; }
  .game-hero__media { background-position: 58% center; opacity: .72; }
  .game-hero__content { padding-right: 0; }
  .game-logo span { font-size: clamp(70px, 18vw, 120px); }
  .game-logo strong { font-size: clamp(48px, 12.8vw, 82px); }
  .hero-telemetry { display: none; }
  .hero-reticle { right: 5%; top: 26%; opacity: .45; }
  .hud--top-right,
  .hud--bottom-right { display: none; }
  .hud--top-left { top: 88px; left: 28px; }
  .hud--bottom-left { left: 28px; bottom: 26px; }
  .game-hero__status { grid-template-columns: repeat(2, 1fr); }
  .game-hero__status div:nth-child(2) { border-right: 0; }
  .game-hero__status div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }

  .module-section,
  .mission,
  .threats {
    grid-template-columns: 1fr;
    width: var(--container);
    padding-block: 84px;
  }
  .module-section__rail { display: none; }
  .mission-log { position: relative; top: auto; margin-top: 34px; }
  .loadout-console,
  .system-grid,
  .mode-grid,
  .records-grid,
  .threats__copy { grid-column: 1; }
  .loadout-console { grid-template-columns: 1fr; }
  .loadout-console__screen { min-height: 360px; }
  .loadout-console__panel { border-left: 0; border-top: 1px solid var(--line); }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 290px; }
  .mode-card h3 { font-size: clamp(44px, 10vw, 58px); }
  .mode-card h4 { font-size: 22px; }
  .record-card--wide { min-height: 380px; }
  .game-footer { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .game-footer .brand { justify-self: center; }
  .game-footer nav { grid-column: 1; grid-row: auto; justify-content: center; flex-wrap: wrap; }
  .game-footer > span { grid-column: 1; }
}

@media (max-width: 580px) {
  :root { --container: calc(100vw - 24px); }
  .game-header { padding-inline: 14px; }
  .brand__sigil { width: 30px; }
  .brand__name { font-size: 9px; }
  .game-hero { min-height: 800px; padding-inline: 20px; }
  .game-hero__media { background-position: 66% center; }
  .system-line { flex-wrap: wrap; gap: 8px; }
  .system-line i { width: 36px; }
  .game-logo span { font-size: clamp(62px, 19vw, 92px); }
  .game-logo strong { margin-left: 8px; font-size: clamp(43px, 13vw, 68px); }
  .game-hero__lead { font-size: 20px; }
  .game-hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .game-hero__status { margin-top: 26px; grid-template-columns: 1fr; }
  .game-hero__status div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .game-hero__status div:last-child { border-bottom: 0; }
  .game-hero__status span,
  .game-hero__status strong { white-space: normal; }
  .hud { display: none; }
  .module-section { padding-block: 72px; }
  .module-section h1,
  .module-section h2 { font-size: clamp(39px, 12vw, 58px); }
  .mission__lede { font-size: 18px; }
  .mission-log blockquote { font-size: 28px; }
  .loadout-console__screen { min-height: 230px; }
  .loadout-console__panel { padding: 18px; }
  .loadout-tabs { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 180px; }
  .threats__copy { padding-top: 30px; }
  .records-grid { grid-template-columns: 1fr; }
  .record-card,
  .record-card--wide { grid-column: 1; min-height: 250px; }
  .free-access { min-height: 650px; padding-inline: 18px; }
  .free-access h2 { font-size: clamp(48px, 14vw, 70px); }
  .free-access__meta { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .boot-screen { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Quick access to the three works */
.game-header {
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand readout nav works cta";
}
.game-header > .brand { grid-area: brand; }
.game-header > .header-readout { grid-area: readout; }
.game-header > .game-nav { grid-area: nav; }
.game-header > .works-switcher { grid-area: works; }
.game-header > .header-cta { grid-area: cta; }
.game-header > .menu-toggle { grid-area: menu; }

.works-switcher {
  position: relative;
  z-index: 84;
  justify-self: end;
  font-family: var(--mono);
}
.works-switcher__toggle {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(2, 7, 12, .84);
  color: var(--cyan);
  cursor: pointer;
  font: 700 8px/1 var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease;
}
.works-switcher__toggle:hover,
.works-switcher__toggle:focus-visible,
.works-switcher.is-open .works-switcher__toggle {
  border-color: var(--cyan);
  background: rgba(0, 216, 255, .08);
}
.works-switcher__toggle i {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .24s var(--ease);
}
.works-switcher.is-open .works-switcher__toggle i { transform: translateY(2px) rotate(225deg); }
.works-switcher__panel {
  position: absolute;
  top: calc(100% + 13px);
  right: 0;
  width: min(370px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid rgba(0, 216, 255, .32);
  background:
    linear-gradient(135deg, rgba(0,216,255,.08), transparent 42%),
    rgba(2, 6, 11, .98);
  box-shadow: 0 26px 78px rgba(0,0,0,.72), inset 0 0 0 1px rgba(255,0,190,.04);
  clip-path: var(--clip);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  transition: opacity .2s ease, visibility .2s ease, transform .2s var(--ease);
}
.works-switcher.is-open .works-switcher__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.works-switcher__panel > p {
  margin: 3px 8px 11px;
  color: rgba(0,216,255,.48);
  font: 700 7px/1.2 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.works-switcher__link {
  position: relative;
  min-height: 72px;
  padding: 13px 38px 12px 14px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-top: 1px solid var(--line-soft);
  color: rgba(245,248,250,.68);
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.works-switcher__link::after {
  content: "↗";
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--cyan);
  transform: translateY(-50%);
}
.works-switcher__link:hover,
.works-switcher__link:focus-visible {
  padding-left: 18px;
  background: rgba(0,216,255,.065);
  color: var(--white);
}
.works-switcher__link.is-current {
  background: linear-gradient(90deg, rgba(0,216,255,.12), rgba(255,0,190,.035));
  box-shadow: inset 2px 0 0 var(--cyan);
}
.works-switcher__link.is-current::after { content: "●"; font-size: 7px; }
.works-switcher__link small { color: var(--cyan); font: 700 7px/1 var(--mono); letter-spacing: .17em; }
.works-switcher__link strong { color: var(--white); font: 500 17px/1.05 var(--sans); letter-spacing: .01em; }
.works-switcher__link span { color: rgba(245,248,250,.4); font: 7px/1.3 var(--mono); letter-spacing: .08em; }

@media (max-width: 1120px) {
  .game-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand nav works cta";
  }
}
@media (max-width: 880px) {
  .game-header {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand . works menu";
    gap: 10px;
  }
  .works-switcher__toggle { min-height: 44px; }
  .works-switcher__panel { top: calc(100% + 10px); }
}
@media (max-width: 410px) {
  .works-switcher__toggle { padding-inline: 10px; letter-spacing: .11em; }
  .brand { gap: 8px; }
}
