/* Six Studio - site styles: navy and ice blue on black, silver for the mark, panels floating over the code rain. */

:root {
  --bg: #02050d;
  --navy: #040b1c;
  --panel: rgba(5, 13, 32, 0.74);
  --panel-hi: rgba(9, 22, 52, 0.82);
  --line: rgba(120, 175, 255, 0.16);
  --line-strong: rgba(130, 185, 255, 0.36);
  --blue: #3b8cff;
  --blue-deep: #1f5fd6;
  --ice: #8fd0ff;
  --glow: rgba(59, 140, 255, 0.45);
  --silver: #e6ebf5;
  --text: #c5d0e4;
  --muted: #8693ae;
  --white: #f4f7fd;
  --radius: 16px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 80% at 50% 0%, #061331 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--font-head); color: var(--white); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { color: var(--white); font-weight: 600; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.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; left: 16px; top: -60px; z-index: 300; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ the rain and the vignette */
#rain { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
html.rain-on #rain { opacity: 1; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 5, 13, 0) 0%, rgba(2, 5, 13, 0.5) 18%, rgba(2, 5, 13, 0.5) 82%, rgba(2, 5, 13, 0) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(2, 5, 13, 0) 0%, rgba(2, 5, 13, 0.55) 70%, rgba(2, 5, 13, 0.9) 100%),
    linear-gradient(180deg, rgba(2, 5, 13, 0.35), rgba(2, 5, 13, 0) 20%, rgba(2, 5, 13, 0) 80%, rgba(2, 5, 13, 0.6));
}
.site, .footer { position: relative; z-index: 2; }

/* ------------------------------------------------------------------ the intro */
.intro { display: none; }
html.js .intro { display: block; position: fixed; inset: 0; z-index: 200; background: #000; transition: opacity 0.65s ease; }
html.js .intro.done { opacity: 0; pointer-events: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html.intro-on body { overflow: hidden; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, transform 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(2, 6, 16, 0.78); border-bottom-color: var(--line); backdrop-filter: blur(12px) saturate(130%); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand .mark { width: 22px; height: 42px; filter: drop-shadow(0 0 8px rgba(80, 150, 255, 0.55)); }
.brand-word svg { height: 13px; width: auto; display: block; }
.brand-word svg g { fill: var(--silver); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  color: var(--text); font: 500 15px/1 var(--font-body); padding: 10px 14px; border-radius: 10px; position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(60, 120, 255, 0.12); }
.nav-links a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ice); border-radius: 2px; box-shadow: 0 0 10px var(--ice); }
.menu-toggle { display: none; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font-body); letter-spacing: 0.01em;
  padding: 15px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #59a3ff 0%, var(--blue) 45%, var(--blue-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(150, 200, 255, 0.35), 0 12px 32px -12px var(--glow);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 1px rgba(170, 215, 255, 0.6), 0 16px 40px -10px rgba(80, 160, 255, 0.75); }
.btn-ghost { color: var(--white); background: rgba(12, 28, 64, 0.45); border-color: var(--line-strong); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--white); border-color: var(--ice); background: rgba(30, 70, 150, 0.4); transform: translateY(-2px); }

/* ------------------------------------------------------------------ hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; padding: 120px 0 90px; }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 52% at 50% 50%, rgba(2, 5, 13, 0.82) 0%, rgba(2, 5, 13, 0.45) 55%, rgba(2, 5, 13, 0) 100%);
}
.kicker { font: 600 13px/1.4 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice); margin-bottom: 18px; }
.kicker::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; box-shadow: 0 0 8px currentColor; }
.hero .kicker::after { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; box-shadow: 0 0 8px currentColor; }
.hero-title { margin: 6px 0 28px; }
.px-title { display: block; width: min(860px, 88vw); }
.px-title svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 0 18px rgba(70, 145, 255, 0.55)) drop-shadow(0 0 2px rgba(200, 230, 255, 0.6)); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 720px; color: var(--text); margin-bottom: 34px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-strong); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ice); box-shadow: 0 0 8px var(--ice); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* hero entrance, after the intro hands over */
html.js .hero-inner > * { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js.ready .hero-inner > * { opacity: 1; transform: none; }
html.js.ready .hero-inner > *:nth-child(2) { transition-delay: 0.08s; }
html.js.ready .hero-inner > *:nth-child(3) { transition-delay: 0.25s; }
html.js.ready .hero-inner > *:nth-child(4) { transition-delay: 0.4s; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(90px, 13vh, 150px) 0; }
.section-head { margin-bottom: 44px; }
.section-head .sub, .contact .sub { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); }

/* HUD corner brackets */
.hud { position: relative; }
.hud::before, .hud::after {
  content: ''; position: absolute; width: 18px; height: 18px; pointer-events: none;
  border-color: var(--ice); border-style: solid; opacity: 0.8; filter: drop-shadow(0 0 4px var(--ice));
}
.hud::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--radius); }
.hud::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--radius); }

/* scroll reveal */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ games */
#games { position: relative; }
.games-backdrop {
  position: absolute; left: 0; right: 0; top: 0; height: min(78vh, 760px); z-index: -1; pointer-events: none;
  background: url('../assets/ts-hero.jpg') center top / cover no-repeat;
  opacity: 0.24;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 55%, transparent 100%);
}
#games > .container { position: relative; }
.game { display: block; padding: clamp(10px, 1.4vw, 16px); }
.game-copy { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: start; padding: clamp(22px, 3vw, 34px) clamp(8px, 2vw, 22px) clamp(8px, 1.5vw, 16px); }
.game-story p:last-child { margin-bottom: 0; }
.game-art {
  position: relative; display: block; border-radius: 12px; overflow: hidden; transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.3s; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
}
.game-art:hover { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line-strong), 0 0 40px -10px var(--glow); }
.game-art img { width: 100%; height: auto; aspect-ratio: 2560 / 826; object-fit: cover; }
.game-art .shine { position: absolute; inset: 0; background: radial-gradient(circle at var(--mx) var(--my), rgba(170, 210, 255, 0.22), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.game-art:hover .shine { opacity: 1; }
.badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
  background: rgba(2, 6, 16, 0.78); border: 1px solid var(--line-strong); padding: 9px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #5cff9d; box-shadow: 0 0 10px #5cff9d; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.hook { font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.5 var(--font-head); color: var(--white); }
.hook em { color: var(--ice); font-style: normal; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 4px 0 26px; }
.specs div { border-left: 2px solid var(--line-strong); padding-left: 12px; }
.specs dt, .facts dt { font: 600 11px/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.specs dd, .facts dd { margin: 2px 0 0; color: var(--white); font-size: 15px; }
.game .cta-row { justify-content: flex-start; }

.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.feature { padding: 26px 24px 22px; transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-hi); }
.feature .num { font: 600 12px/1 var(--font-mono); color: var(--ice); letter-spacing: 0.12em; display: block; margin-bottom: 14px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 15.5px; margin: 0; color: var(--text); }

.media { margin-top: 40px; }
.media-stage {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; aspect-ratio: 16 / 9; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--navy);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 0 60px -30px var(--glow);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.media-stage:hover { border-color: var(--line-strong); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 0 70px -24px rgba(80, 160, 255, 0.6); }
.media-stage img { width: 100%; height: 100%; object-fit: cover; }
.media-stage img.swap { animation: swapin 0.45s ease; }
@keyframes swapin { from { opacity: 0.25; transform: scale(1.012); } to { opacity: 1; transform: none; } }
.media-zoom {
  position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  color: var(--white); background: rgba(2, 6, 16, 0.7); border: 1px solid var(--line-strong); opacity: 0; transition: opacity 0.25s;
}
.media-stage:hover .media-zoom, .media-stage:focus-visible .media-zoom { opacity: 1; }
.media-thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.media-thumbs a {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy); opacity: 0.55; transition: opacity 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.media-thumbs a:hover { opacity: 0.9; transform: translateY(-2px); }
.media-thumbs a.on { opacity: 1; border-color: var(--ice); box-shadow: 0 0 0 1px var(--ice), 0 0 18px -4px var(--glow); }
.media-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.media-thumbs a.on::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left;
  background: var(--ice); box-shadow: 0 0 8px var(--ice); animation: progress 6s linear forwards;
}
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.media:not(.playing) .media-thumbs a.on::after, .media.held .media-thumbs a.on::after, .media:hover .media-thumbs a.on::after { animation-play-state: paused; }

.wishlist {
  margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 32px;
  background: linear-gradient(100deg, rgba(20, 60, 150, 0.45), rgba(5, 13, 32, 0.78) 60%);
}
.wishlist h3 { font-size: 1.4rem; margin-bottom: 6px; }
.wishlist p { margin: 0; color: var(--text); max-width: 640px; }

/* ------------------------------------------------------------------ studio */
.studio-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.lead-sm { font-size: 1.2rem; color: var(--white); }
.founder { display: inline-flex; align-items: center; gap: 16px; padding: 16px 22px 16px 18px; margin-top: 10px; }
.founder .mark { width: 30px; height: 58px; filter: drop-shadow(0 0 10px rgba(80, 150, 255, 0.6)); }
.founder-name { font: 700 1.25rem/1.1 var(--font-head); color: var(--white); margin: 0; }
.founder-role { font: 500 12px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 4px 0 0; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.value { padding: 22px 24px; }
.value h3 { margin-bottom: 8px; }
.value h3 span { color: var(--ice); font-size: 0.8em; margin-right: 6px; }
.value p { margin: 0; font-size: 15.5px; }

/* ------------------------------------------------------------------ technology */
.tech { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.tech h2 { margin-bottom: 18px; }
.chips { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font: 500 13px/1 var(--font-mono); color: var(--white); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(20, 50, 110, 0.35); }
.tech-mark { display: grid; place-items: center; position: relative; }
.tech-mark::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(60, 130, 255, 0.45), rgba(60, 130, 255, 0) 70%); filter: blur(10px); }
.mark-xl { position: relative; width: min(180px, 40vw); height: auto; aspect-ratio: 2.7 / 5.2; filter: drop-shadow(0 0 24px rgba(80, 150, 255, 0.7)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ------------------------------------------------------------------ contact */
.contact { text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px); }
.contact .kicker::after { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; box-shadow: 0 0 8px currentColor; }
.email-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 34px 0 40px; }
.email {
  font: 700 clamp(1.4rem, 4.2vw, 3rem)/1.1 var(--font-head); letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, #a9c9ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  overflow-wrap: anywhere; text-shadow: 0 0 40px rgba(80, 150, 255, 0.25);
}
.email:hover { filter: brightness(1.15); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; }
.facts div { background: rgba(10, 24, 56, 0.5); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; min-width: 190px; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--line); background: rgba(2, 5, 13, 0.85); padding: 34px 0 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: grid; gap: 8px; justify-items: center; text-align: center; }
.footer .brand { font: 600 15px/1 var(--font-head); margin-bottom: 6px; }
.footer .brand .mark { width: 16px; height: 30px; }
.footer p { margin: 0; }
.footer .fine { font-size: 12.5px; max-width: 680px; opacity: 0.8; }

/* ------------------------------------------------------------------ lightbox and toast */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(1, 3, 9, 0.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 80px rgba(0, 0, 0, 0.8); }
.lb-btn {
  position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(8, 18, 40, 0.7); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: rgba(30, 70, 150, 0.7); border-color: var(--ice); }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }
.lb-close { right: 18px; top: 18px; font-size: 26px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(8, 20, 46, 0.92); border: 1px solid var(--line-strong); color: var(--white); padding: 12px 18px; border-radius: 10px;
  font: 500 14px/1 var(--font-body); transition: opacity 0.25s, transform 0.25s; backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .game-copy, .studio-grid, .tech { grid-template-columns: 1fr; }
  .tech-mark { order: -1; }
  .mark-xl { width: 110px; }
}
@media (max-width: 820px) {
  .nav-cta { display: none; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(8, 18, 40, 0.6); cursor: pointer; padding: 0 11px;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: rgba(2, 6, 16, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6px; font-size: 17px; }
  .nav-links a.active::after { display: none; }
  .media-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .media-thumbs a { scroll-snap-align: start; }
  .specs { grid-template-columns: 1fr; }
  .wishlist { flex-direction: column; align-items: flex-start; padding: 24px; }
  .game-art { overflow: visible; box-shadow: none; transform: none; }
  .game-art img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
  .game-art .badge { position: static; margin-top: 12px; font-size: 11px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .cta-row { width: 100%; }
  .kicker { font-size: 10.5px; letter-spacing: 0.12em; }
  .kicker::before, .hero .kicker::after, .contact .kicker::after { display: none; }
  .facts { display: grid; grid-template-columns: 1fr; width: 100%; }
  .facts div { min-width: 0; }
  .brand-word svg { height: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal, html.js .hero-inner > * { opacity: 1; transform: none; }
}
