:root {
  --bg: #080b11;
  --bg-2: #0c1118;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --text: #b6c4d2;
  --text-dim: #7e8c9e;
  --heading: #f1f6fb;
  --accent: #66c0f4;
  --accent-deep: #2a6f9e;
  --green: #a4d007;
  --green-deep: #5c8607;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --glass: blur(18px) saturate(150%);
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, .95);
  --glow: 0 0 0 1px rgba(102, 192, 244, .3), 0 30px 64px -34px rgba(102, 192, 244, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI Variable Display", "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 720px at 8% -12%, rgba(102, 192, 244, .15), transparent 62%),
    radial-gradient(900px 620px at 94% -4%, rgba(86, 118, 255, .11), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }

::selection { background: rgba(102, 192, 244, .35); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: rgba(102, 192, 244, .35) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12); border-radius: var(--pill);
  border: 3px solid transparent; background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(102, 192, 244, .4); background-clip: content-box; }

.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #06121c; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- top bar (glass) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(9, 12, 18, .58);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.topbar.is-scrolled {
  background: rgba(8, 11, 17, .88);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -32px #000;
}
.topbar-inner {
  display: flex; align-items: center; gap: 30px;
  min-height: 74px;
  transition: min-height .4s var(--ease);
}
.topbar.is-scrolled .topbar-inner { min-height: 62px; }

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--heading);
  margin-right: auto; padding: 6px 0;
}
.brand-mark {
  height: 32px; width: auto; flex: none; object-fit: contain;
  transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.06) rotate(-2deg); }
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: -.01em; line-height: 1.16; display: flex; flex-direction: column; }
.brand-text em { font-style: normal; font-size: 9.5px; letter-spacing: .3em; color: var(--text-dim); font-weight: 500; }

.nav { display: flex; gap: 8px; }
.nav a {
  position: relative; color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--pill);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: linear-gradient(90deg, var(--accent), rgba(102, 192, 244, 0));
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.nav a:hover { color: var(--heading); background: rgba(255, 255, 255, .05); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  overflow: hidden; /* keep the sheen sweep inside the pill */
  background: linear-gradient(135deg, #7ccdfb, #2f7fc4);
  color: #05121d;
  box-shadow: 0 14px 34px -16px rgba(102, 192, 244, .75);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%);
  transform: translateX(-58%);
  transition: transform .75s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.btn-primary:hover { box-shadow: 0 20px 44px -16px rgba(102, 192, 244, .95); }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(58%); }

.btn-ghost {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-2);
  color: var(--heading);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(102, 192, 244, .12); border-color: rgba(102, 192, 244, .45); color: #fff; }

.btn-steam {
  padding: 9px 18px;
  background: linear-gradient(135deg, #3f8fe0, #1b3fb8);
  color: #fff;
  box-shadow: 0 12px 28px -16px rgba(63, 143, 224, .9);
}
.btn-steam:hover { box-shadow: 0 18px 34px -16px rgba(63, 143, 224, 1); }

.btn-buy {
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #101a03;
  box-shadow: 0 10px 26px -16px rgba(164, 208, 7, .85);
}
.btn-buy:hover { box-shadow: 0 16px 30px -16px rgba(164, 208, 7, 1); }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(82vh, 780px);
  padding: clamp(96px, 14vh, 160px) 0 clamp(64px, 9vh, 104px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/hero-banner.png") center 28% / cover no-repeat;
  transform: scale(1.03);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 6% 40%, rgba(8, 11, 17, .82), transparent 70%),
    linear-gradient(180deg, rgba(8, 11, 17, .55) 0%, rgba(8, 11, 17, .76) 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8, 11, 17, .9) 0%, rgba(8, 11, 17, .35) 58%, transparent 84%);
}
.hero-inner { position: relative; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 7px 16px 7px 13px;
  font-size: 12px; letter-spacing: .22em; color: #cfe6f6;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  backdrop-filter: var(--glass);
}
.hero-kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(164, 208, 7, .18);
}
.hero-title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.035em;
  background: linear-gradient(175deg, #ffffff 22%, #a8c9e2 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}
.hero-title-en {
  display: block; margin-top: 14px;
  font-size: .24em; font-weight: 500; letter-spacing: .32em;
  color: var(--text-dim);
  -webkit-text-fill-color: var(--text-dim);
}
.hero-desc {
  margin: 26px 0 32px;
  max-width: 56ch;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  color: #c3d1de;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  width: fit-content; max-width: 100%;
  margin: 52px 0 0; padding: 18px 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; padding: 0 30px; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats dt { font-size: 11px; letter-spacing: .16em; color: var(--text-dim); }
.hero-stats dd {
  margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffffff, #96bdd8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-size: 10.5px; letter-spacing: .2em; color: var(--text-dim); text-decoration: none;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.25); opacity: .35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; scroll-margin-top: 80px; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), rgba(255, 255, 255, 0));
  border-block: 1px solid var(--line);
}
.section-head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px; margin-bottom: 40px;
}
.section-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px 6px 12px;
  font-size: 10.5px; letter-spacing: .26em; color: #cfe6f6;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(102, 192, 244, .3);
  border-radius: var(--pill);
  backdrop-filter: var(--glass);
  box-shadow: 0 10px 26px -18px rgba(102, 192, 244, .9);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(102, 192, 244, .16);
}
.section-head h2, .studio-grid h2, .contact-inner h2 {
  margin: 0;
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--heading);
}
.section-head h2 { font-size: clamp(30px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin: 0; color: var(--text-dim); font-size: 13.5px; }

/* ---------- game cards ---------- */
.capsule-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 26px;
}

.capsule {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.capsule::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
}
.capsule:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 192, 244, .42);
  box-shadow: var(--glow);
}

.capsule-media { position: relative; display: block; aspect-ratio: 460 / 215; overflow: hidden; background: #0b1017; }
.capsule-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s var(--ease); }
.capsule:hover .capsule-media img { transform: scale(1.055); filter: saturate(1.08) brightness(1.04); }
.capsule-media::after {
  content: ""; position: absolute; inset: auto 0 0; height: 55%;
  background: linear-gradient(180deg, transparent, rgba(8, 11, 17, .72));
  pointer-events: none;
}
.capsule-soon::after {
  content: "开发中";
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(8, 11, 17, .78); color: var(--accent);
  border: 1px solid var(--line-2); border-radius: var(--pill);
  font-size: 12px; padding: 4px 12px; letter-spacing: .1em;
}

.capsule-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 22px 22px;
}
.capsule-body h3 {
  margin: 0;
  font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.35;
  color: var(--heading);
}
.capsule-body h3 a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.capsule-body h3 a:hover { color: var(--accent); }
.title-en { font-size: 12.5px; font-weight: 400; color: var(--text-dim); letter-spacing: .08em; margin-left: 6px; }

.capsule-desc {
  margin: 0; font-size: 14.5px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 0; padding: 0; }
.tags li {
  font-size: 11.5px; letter-spacing: .04em; color: #a9cdea;
  background: rgba(102, 192, 244, .09);
  border: 1px solid rgba(102, 192, 244, .22);
  padding: 3px 11px; border-radius: var(--pill);
}

.capsule-meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.release { font-size: 12.5px; color: var(--text-dim); letter-spacing: .01em; }
.capsule-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.price {
  font-size: 14px; font-weight: 700; color: var(--green); white-space: nowrap;
  background: rgba(164, 208, 7, .1);
  border: 1px solid rgba(164, 208, 7, .28);
  padding: 5px 13px; border-radius: var(--pill);
}
.price.soon { color: var(--accent); background: rgba(102, 192, 244, .1); border-color: rgba(102, 192, 244, .3); }

/* ---------- videos (bilibili) ---------- */
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.video-feature { margin: 0; min-width: 0; }
.video-player {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #05080c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video-frame, .video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 82px; height: 82px;
  display: grid; place-items: center; padding: 0 0 0 4px;
  background: rgba(8, 11, 17, .6); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%;
  backdrop-filter: blur(8px); cursor: pointer;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.video-play:hover { background: rgba(102, 192, 244, .88); color: #05121b; border-color: transparent; transform: scale(1.08); }
.video-duration {
  position: absolute; right: 14px; bottom: 14px; padding: 3px 9px;
  font-size: 12px; color: #e2eefa;
  background: rgba(8, 11, 17, .8); border: 1px solid var(--line);
  border-radius: 8px; backdrop-filter: blur(6px);
}
.video-caption { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.video-caption-title { font-size: 17px; font-weight: 600; color: var(--heading); text-decoration: none; transition: color .25s var(--ease); }
.video-caption-title:hover { color: var(--accent); }
.video-caption-meta { font-size: 13px; color: var(--text-dim); }

.video-list-box {
  position: relative;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* fade overlays pinned to the top / bottom edge; hidden while the list sits at that end */
.video-list-box::before, .video-list-box::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; z-index: 1;
  pointer-events: none; opacity: 1;
  transition: opacity .3s var(--ease);
}
.video-list-box::before {
  top: 0; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, #0e121b 0%, rgba(14, 18, 27, 0) 100%);
}
.video-list-box::after {
  bottom: 0; border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(0deg, #0e121b 0%, rgba(14, 18, 27, 0) 100%);
}
.video-list-box.at-top::before { opacity: 0; }
.video-list-box.at-bottom::after { opacity: 0; }
.video-list {
  list-style: none; margin: 0; padding: 8px;
  max-height: 486px; overflow-y: auto;
}
.video-item + .video-item { margin-top: 2px; }
.video-item button {
  position: relative;
  width: 100%; display: grid; grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px; align-items: center;
  padding: 8px; border: 0; border-radius: var(--radius-sm);
  background: none; font: inherit; text-align: left; cursor: pointer; color: inherit;
  transition: background .25s var(--ease);
}
.video-item button::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--accent);
  transform: scaleY(0); transition: transform .3s var(--ease);
}
.video-item button:hover { background: rgba(255, 255, 255, .06); }
.video-item button[aria-current="true"] { background: rgba(102, 192, 244, .13); }
.video-item button[aria-current="true"]::before { transform: scaleY(1); }
.video-item-thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: #0b1017; border: 1px solid var(--line);
}
.video-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-item-text { display: grid; gap: 3px; min-width: 0; }
.video-item-title { font-size: 13.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-item button[aria-current="true"] .video-item-title { color: #fff; font-weight: 600; }
.video-item-meta { font-size: 11.5px; color: var(--text-dim); }
.video-more { margin: 24px 0 0; font-size: 14px; }
.video-more a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.video-more a:hover { border-bottom-color: rgba(102, 192, 244, .5); }

/* ---------- studio ---------- */
.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.studio-grid h2 { margin-bottom: 22px; }
.studio-grid p { margin: 0 0 16px; max-width: 58ch; }
.studio-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.studio-facts div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.studio-facts div:hover { border-color: rgba(102, 192, 244, .4); background: rgba(102, 192, 244, .07); transform: translateY(-3px); }
.studio-facts dt { font-size: 11px; letter-spacing: .16em; color: var(--text-dim); }
.studio-facts dd { margin: 6px 0 0; color: var(--heading); font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }

/* ---------- contact ---------- */
.contact-inner {
  max-width: 680px; text-align: center;
  padding: clamp(38px, 5vw, 58px) clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: var(--glass);
  box-shadow: var(--shadow);
}
.contact-inner p { margin: 18px auto 28px; max-width: 44ch; }
.contact-links { list-style: none; padding: 0; margin: 26px 0 0; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.contact-links a { color: var(--accent); text-decoration: none; font-size: 14px; border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.contact-links a:hover { border-bottom-color: rgba(102, 192, 244, .5); }

/* ---------- footer ---------- */
.footer {
  padding: 34px 0;
  background: rgba(6, 8, 12, .55);
  border-top: 1px solid var(--line);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.footer p { margin: 0; }
.footer-copy { display: flex; align-items: center; gap: 10px; }
.footer-mark { height: 22px; width: auto; flex: none; object-fit: contain; opacity: .85; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--text-dim); text-decoration: none; transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--accent); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .capsule, .btn, .video-item button, .studio-facts div, .capsule-media img { transition: none; }
  .hero-scroll::after { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .capsule-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px; margin-left: auto;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line-2); border-radius: 12px;
    cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease);
  }
  .nav-toggle:hover { background: rgba(102, 192, 244, .14); border-color: rgba(102, 192, 244, .4); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 18px; height: 1.6px; background: var(--heading);
    position: relative; border-radius: 2px; transition: transform .3s var(--ease), background .3s var(--ease);
  }
  .nav-toggle span::before { position: absolute; top: -6px; }
  .nav-toggle span::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .topbar-inner .btn-steam { display: none; }

  .mobile-nav {
    display: grid; gap: 2px; padding: 8px 22px 20px;
    border-top: 1px solid var(--line);
    background: rgba(8, 11, 17, .92);
    backdrop-filter: var(--glass);
  }
  .mobile-nav a {
    color: var(--text); text-decoration: none; padding: 12px 14px;
    border-radius: var(--radius-sm); font-size: 15px;
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .mobile-nav a:hover { background: rgba(255, 255, 255, .06); color: var(--heading); }
  .mobile-nav[hidden] { display: none; }

  .capsule-list { grid-template-columns: 1fr; }
  .video-layout { grid-template-columns: 1fr; gap: 22px; }
  .video-list { max-height: 360px; }
  .studio-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { background-attachment: scroll; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero { min-height: auto; padding: 72px 0 56px; }
  .hero-scroll { display: none; }
  .hero-stats { width: 100%; padding: 16px 4px; }
  .hero-stats div { padding: 0 18px; }
  .hero-stats dd { font-size: 21px; }
  .capsule-body { padding: 18px; }
  .capsule-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .capsule-cta { margin-left: 0; width: 100%; justify-content: space-between; }
  .studio-facts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
