:root {
  --bg: #05070a;
  --bg-2: #090d12;
  --panel: rgba(12,16,24,.84);
  --panel-strong: rgba(8,10,16,.94);
  --line: rgba(255,255,255,.10);
  --text: #f4f6f8;
  --muted: rgba(237,240,244,.82);
  --gold: #db9f39;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(153,35,28,.20), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(34,82,148,.15), transparent 24%),
    linear-gradient(180deg, #05070a 0%, #05070a 50%, #06080d 100%);
  color: var(--text);
  font-family: 'Rajdhani', system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, iframe { display:block; max-width:100%; }
button { font-family: inherit; }
.grain {
  position: fixed; inset: 0; pointer-events:none; z-index:100;
  opacity:.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.55) .35px, transparent .7px),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.33) .5px, transparent .9px);
  background-size: 8px 8px, 12px 12px;
  mix-blend-mode: soft-light;
}
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 26px 34px;
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.18) 70%, transparent);
}
.nav-links { display:flex; gap: 28px; }
.nav-links a {
  text-transform: uppercase; font-weight: 700; font-size: 16px; letter-spacing: 1.2px;
}
main { position: relative; z-index: 1; }
.hero {
  position: relative;
  min-height: 100vh;
  padding: 116px 34px 92px;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
.hero-marquee { position:absolute; inset:0; overflow:hidden; z-index:0; }
.hero-track {
  display:flex; width:max-content; height:100%;
  animation: heroScroll 42s linear infinite;
  will-change: transform;
}
.hero-track img {
  height:100%; width:auto; min-width:1800px; object-fit:cover; object-position:center;
  filter: brightness(.90) saturate(1.05);
}
@keyframes heroScroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.hero-vignette {
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(3,5,9,.84) 0%, rgba(4,6,10,.80) 20%, rgba(6,8,14,.42) 46%, rgba(5,7,11,.55) 74%, rgba(4,6,10,.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.24) 74%, rgba(0,0,0,.75) 100%);
}
.hero-glow {
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(circle at 14% 28%, rgba(185,46,39,.18), transparent 20%),
    radial-gradient(circle at 55% 18%, rgba(35,90,193,.18), transparent 18%),
    radial-gradient(circle at 88% 22%, rgba(160,88,29,.14), transparent 16%);
}
.hero-layout {
  position:relative; z-index:2;
  width:min(1380px,100%); margin:0 auto;
}
.hero-content {
  max-width: 580px;
  margin-top: auto;
  padding-bottom: 120px;
  padding-left: 12px;
}
.kicker {
  margin:0 0 12px; text-transform:uppercase; color:var(--gold);
  font-size: 20px; line-height:1.1; letter-spacing:2px; font-weight:700;
}
.hero h1 {
  margin:0;
  max-width: 8.5ch;
  font-size: clamp(52px, 5.6vw, 82px);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-copy {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.28;
  color: var(--muted);
}
.actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; align-items:center; }
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding: 12px 22px;
  border-radius: 999px; border:1px solid rgba(255,255,255,.16);
  font-size: 20px; font-weight:700; line-height:1; cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background:#fff; color:#12151a; }
.btn.secondary { background: rgba(21,25,33,.78); color:#f5f7fb; }
.btn.ghost { background: rgba(8,10,16,.68); color:#f5f7fb; }
.hero-corner-logo {
  position:absolute; right:40px; bottom:106px; z-index:2;
  width:min(440px, 28vw); opacity:.94; pointer-events:none;
}
.teaser-hero-button {
  position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:2;
  display:inline-flex; flex-direction:column; align-items:center; gap:6px;
  border:0; background:none; color:#fff; cursor:pointer; text-transform:uppercase;
  font-size:18px; font-weight:700; letter-spacing:1.3px;
}
.teaser-hero-button em { font-style:normal; font-size:30px; line-height:1; }
.teaser-section {
  width:min(1320px, calc(100% - 68px)); margin:0 auto;
  max-height:0; overflow:hidden; opacity:0; transform: translateY(-16px);
  transition: max-height .55s ease, opacity .3s ease, transform .35s ease;
}
.teaser-section.is-open {
  max-height: 1200px; opacity:1; transform: translateY(0); margin-top: 28px;
}
.teaser-shell {
  border:1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(11,14,20,.88), rgba(7,8,14,.96));
  box-shadow:var(--shadow); padding:30px; display:grid; grid-template-columns: 360px 1fr; gap: 28px; align-items:start;
}
.teaser-copy h2,
.story-copy h2,
.gameplay-copy h2,
.combat-copy h2,
.split-copy h2,
.final h2 {
  margin:0; font-weight:700; line-height:.98; letter-spacing:.01em;
}
.teaser-copy h2 { font-size: clamp(40px, 4vw, 62px); }
.teaser-copy p:last-child { margin:14px 0 0; font-size:24px; color:var(--muted); }
.teaser-frame { position:relative; aspect-ratio:16/9; border-radius:20px; overflow:hidden; border:1px solid rgba(255,255,255,.12); background:#000; }
.teaser-frame iframe { width:100%; height:100%; border:0; }
.story-panel,
.gameplay-band,
.combat-hero,
.combat-cards,
.split,
.final {
  width:min(1320px, calc(100% - 68px)); margin: 34px auto 0;
}
.story-panel,
.gameplay-band,
.combat-hero,
.split,
.final,
.combat-cards {
  border-radius: 30px; overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow);
}
.story-panel, .gameplay-band, .combat-hero { position: relative; min-height: 640px; }
.story-panel > img, .gameplay-band > img, .combat-hero > img {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.story-panel > img { object-position:center center; filter: brightness(.55) saturate(.95); }
.story-overlay, .combat-overlay {
  position:absolute; inset:0;
}
.story-overlay {
  background: linear-gradient(90deg, rgba(5,7,11,.82) 0%, rgba(5,7,11,.60) 34%, rgba(5,7,11,.28) 62%, rgba(5,7,11,.18) 100%);
}
.story-copy {
  position:relative; z-index:1; padding: 68px 42px 44px; max-width: 450px;
  display:flex; flex-direction:column; justify-content:flex-end; min-height:640px; align-items:flex-start;
}
.story-copy h2 {
  font-size: clamp(28px, 2.8vw, 42px); max-width: 10.2ch; text-align:left; line-height: .96;
}
.story-copy p:last-child {
  margin: 14px 0 0; max-width: 20ch; font-size: clamp(18px, 1.45vw, 22px); line-height:1.28; color: var(--muted); text-align:left;
}
.gameplay-band > img { object-position:center center; filter: brightness(.82) saturate(1.02); }
.gameplay-band::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.66) 100%), linear-gradient(90deg, rgba(5,7,11,.58) 0%, rgba(5,7,11,.20) 34%, rgba(5,7,11,.05) 100%);
}
.gameplay-copy {
  position:absolute; left:36px; bottom:28px; z-index:1; max-width: 470px;
}
.gameplay-copy h2 {
  font-size: clamp(28px, 2.9vw, 42px); max-width: 10.4ch; line-height: .98;
}
.combat-hero > img { object-position:center center; filter: brightness(.70) saturate(1.0); }
.combat-overlay {
  background: linear-gradient(90deg, rgba(6,8,12,.78) 0%, rgba(6,8,12,.56) 30%, rgba(6,8,12,.28) 58%, rgba(6,8,12,.42) 100%),
              linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.44) 100%);
}
.combat-copy {
  position:relative; z-index:1; max-width: 520px; padding: 62px 52px 40px; min-height: 640px;
  display:flex; flex-direction:column; justify-content:flex-end;
}
.combat-copy h2 {
  font-size: clamp(30px, 3vw, 44px); max-width: 11.4ch; line-height: .98;
}
.combat-copy p:last-child {
  margin: 14px 0 0; max-width: 22ch; font-size: clamp(18px, 1.45vw, 22px); line-height:1.28; color: var(--muted);
}
.combat-cards {
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px; padding: 18px; background: linear-gradient(180deg, rgba(11,14,20,.88), rgba(8,10,16,.96));
}
.combat-cards article {
  padding: 24px; border-radius: 20px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.03);
}
.combat-cards span { color: var(--gold); font-size: 16px; font-weight:700; letter-spacing: 1px; }
.combat-cards h3 { margin: 12px 0 10px; font-size: 30px; }
.combat-cards p { margin:0; font-size: 20px; color: var(--muted); line-height:1.3; }
.split,
.final { background: linear-gradient(180deg, rgba(11,14,20,.88), rgba(8,10,16,.96)); }
.split {
  display:grid; grid-template-columns: minmax(0,520px) minmax(0,1fr); gap:34px; align-items:center; padding:34px;
}
.poster-wrap { border-radius:24px; overflow:hidden; border:1px solid rgba(255,255,255,.12); }
.split-copy h2 { font-size: clamp(36px, 3.8vw, 54px); max-width:12ch; }
.split-copy p:last-of-type { margin-top:18px; font-size:24px; line-height:1.28; color: var(--muted); }
.mini-gallery { display:flex; gap:14px; margin-top:24px; }
.mini-gallery img { width:min(31%,170px); aspect-ratio:1/1; object-fit:cover; border-radius:18px; border:1px solid rgba(255,255,255,.12); }
.final { text-align:center; padding: 56px 34px 62px; margin-bottom:34px; }
.final h2 { font-size: clamp(38px, 4vw, 56px); max-width:14ch; margin-inline:auto; }
.final .actions { justify-content:center; }
footer {
  width:min(1320px, calc(100% - 68px)); margin:0 auto 42px; display:flex; justify-content:space-between; gap:24px; color:rgba(255,255,255,.62); font-size:16px;
}
footer p:last-child { display:flex; gap:16px; flex-wrap:wrap; justify-content:flex-end; }

@media (max-width: 1180px) {
  .hero-corner-logo { width:min(360px, 34vw); }
  .teaser-shell { grid-template-columns: 1fr; }
  .story-copy { max-width: 430px; }
  .combat-copy { max-width: 480px; }
  .combat-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { padding: 18px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .hero { padding: 98px 18px 90px; min-height: 94vh; }
  .hero-track img { min-width: 1600px; }
  .hero-content { padding-bottom: 128px; padding-left: 0; }
  .hero h1 { font-size: clamp(42px, 12vw, 68px); }
  .hero-copy { font-size: 20px; }
  .hero-corner-logo { width: 210px; right: 16px; bottom: 98px; }
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .combat-cards,
  .split,
  .final,
  footer { width: min(100% - 24px, 1320px); }
  .story-panel, .gameplay-band, .combat-hero { min-height: 520px; }
 .story-copy, .combat-copy { min-height: 520px; padding: 26px 18px 20px; }
  .story-copy h2, .gameplay-copy h2, .combat-copy h2, .split-copy h2, .final h2 { max-width: 100%; }
  .story-copy p:last-child, .combat-copy p:last-child, .split-copy p:last-of-type, .teaser-copy p:last-child { font-size: 18px; }
  .gameplay-copy { left: 18px; right: 18px; bottom: 18px; max-width: 360px; }
  .gameplay-copy h2 { font-size: clamp(24px, 7vw, 34px); max-width: 10ch; }
  .story-copy h2 { font-size: clamp(26px, 7vw, 36px); }
  .combat-copy h2 { font-size: clamp(26px, 7vw, 36px); }
  .split { padding: 22px; }
  .final { padding: 44px 22px 50px; }
  footer { flex-direction:column; }
  footer p:last-child { justify-content:flex-start; }
}
@media (max-width: 560px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width:100%; }
  .hero-corner-logo { width: 160px; bottom: 120px; }
}


/* V8 POLISH PASS: real safe text boxes, reduced type, stronger focal-area protection. */
.story-panel,
.gameplay-band,
.combat-hero {
  min-height: 620px;
  isolation: isolate;
}

.story-panel > img {
  object-position: 56% center;
  filter: brightness(.66) saturate(1.02);
}

.gameplay-band > img {
  object-position: center center;
  filter: brightness(.95) saturate(1.04);
}

.combat-hero > img {
  object-position: center center;
  filter: brightness(.74) saturate(1.03);
}

.story-overlay {
  background:
    linear-gradient(90deg, rgba(3,5,9,.78) 0%, rgba(3,5,9,.56) 31%, rgba(3,5,9,.22) 56%, rgba(3,5,9,.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.28) 56%, rgba(0,0,0,.54) 100%);
}

.gameplay-band::before {
  background:
    linear-gradient(90deg, rgba(4,6,10,.74) 0%, rgba(4,6,10,.42) 32%, rgba(4,6,10,.10) 58%, rgba(4,6,10,.02) 100%),
    linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.12) 44%, rgba(0,0,0,.54) 100%);
}

.combat-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.78) 0%, rgba(4,6,10,.56) 32%, rgba(4,6,10,.20) 56%, rgba(4,6,10,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.26) 55%, rgba(0,0,0,.58) 100%);
}

.safe-copy {
  position: absolute;
  z-index: 2;
  left: 42px;
  bottom: 34px;
  width: min(460px, calc(100% - 84px));
  min-height: 0;
  padding: 0;
  display: block;
  border-left: 1px solid rgba(219,159,57,.32);
  padding-left: 18px;
}

.safe-copy .kicker {
  margin-bottom: 10px;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.08;
  letter-spacing: 2.2px;
}

.safe-copy h2 {
  margin: 0;
  font-size: clamp(27px, 2.25vw, 38px);
  line-height: .98;
  letter-spacing: .01em;
  max-width: 100%;
  text-align: left;
}

.safe-copy p:last-child {
  margin-top: 12px;
  max-width: 34ch;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.24;
  color: rgba(237,240,244,.78);
}

.safe-copy-story {
  width: min(500px, calc(100% - 84px));
  bottom: 42px;
}

.safe-copy-story h2 {
  font-size: clamp(25px, 2.05vw, 34px);
  line-height: 1.02;
}

.safe-copy-story p:last-child {
  max-width: 32ch;
}

.safe-copy-gameplay {
  width: min(520px, calc(100% - 84px));
  bottom: 38px;
}

.safe-copy-gameplay h2 {
  font-size: clamp(29px, 2.35vw, 42px);
  line-height: .98;
  max-width: 12.8ch;
}

.safe-copy-combat {
  width: min(560px, calc(100% - 84px));
  bottom: 42px;
}

.safe-copy-combat h2 {
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: .99;
  max-width: 13.5ch;
}

.safe-copy-combat p:last-child {
  max-width: 38ch;
  font-size: clamp(16px, 1.12vw, 19px);
}

/* tame the card spacing too, so the image gets more oxygen */
.story-panel,
.gameplay-band,
.combat-hero {
  border-radius: 28px;
}

@media (max-width: 860px) {
  .safe-copy {
    left: 20px;
    bottom: 22px;
    width: calc(100% - 40px);
    padding-left: 14px;
  }
  .safe-copy h2,
  .safe-copy-story h2,
  .safe-copy-gameplay h2,
  .safe-copy-combat h2 {
    font-size: clamp(24px, 7vw, 34px);
    max-width: 14ch;
  }
  .safe-copy p:last-child {
    font-size: 17px;
    max-width: 30ch;
  }
}


/* V11 corrective patch:
   - V8 is the trusted visual base for header/story/gameplay/combat.
   - V10 teaser treatment retained.
   - No desktop top-left logo.
   - Mobile hamburger added without changing desktop alignment.
   - Hero marquee slowed without changing crop/layout. */

.hero-track {
  animation-duration: 92s;
}

/* Slightly slower on tablets/phones too, but no crop drift. */
@media (max-width: 1180px) {
  .hero-track { animation-duration: 104s; }
}
@media (max-width: 860px) {
  .hero-track { animation-duration: 118s; }
}

/* Keep desktop nav exactly right-aligned, with no top-left brand/logo. */
.nav {
  justify-content: flex-end;
}

/* Mobile hamburger only. Hidden on desktop. */
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,12,18,.62);
  color: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,.92);
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease;
}
.nav.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Keep the better teaser rhythm from V10, but scoped only to teaser. */
.teaser-section {
  width: min(1320px, calc(100% - 48px));
}
.teaser-shell {
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
}
.teaser-copy h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: .96;
}
.teaser-copy p:last-child {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.2;
}
.teaser-frame {
  border-radius: 22px;
}

/* Reassert V8 desktop section behavior so later mobile/menu work does not drift assets. */
.story-panel > img {
  object-position: center center;
}
.gameplay-band > img {
  object-position: center center;
}
.combat-hero > img {
  object-position: center center;
}

/* Mobile menu and mobile art direction, while preserving V8 desktop. */
@media (max-width: 860px) {
  .nav {
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(4,6,10,.78);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 33;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 22px;
    background: rgba(7,10,15,.94);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
    backdrop-filter: blur(16px);
    transform: translateY(-16px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }

  .nav.is-open .nav-links {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    padding: 15px 14px;
    border-radius: 14px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a:active,
  .nav-links a:hover {
    background: rgba(255,255,255,.06);
  }

  .teaser-section {
    width: min(100% - 24px, 1320px);
  }

  .teaser-shell {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 22px;
  }

  .teaser-frame {
    border-radius: 18px;
  }

  /* Mobile-only crops. Desktop remains V8. */
  .story-panel > img {
    object-position: 58% center;
  }

  .gameplay-band > img {
    object-position: 54% center;
  }

  .combat-hero > img {
    object-position: 68% center;
  }

  /* Mobile readable cards, while leaving desktop V8 safe boxes alone. */
  .story-copy,
  .gameplay-copy,
  .combat-copy {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px 14px 13px !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(219,159,57,.28);
    border-radius: 18px;
    background: rgba(7,10,15,.76);
    backdrop-filter: blur(14px);
  }

  .story-copy h2,
  .gameplay-copy h2,
  .combat-copy h2 {
    font-size: clamp(25px, 7.4vw, 34px) !important;
    line-height: .96 !important;
    max-width: 100% !important;
  }

  .story-copy p:last-child,
  .combat-copy p:last-child {
    font-size: 16px !important;
    line-height: 1.18 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .story-copy p:last-child,
  .combat-copy p:last-child {
    display: none;
  }
}

/* Respect reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .hero-track,
  .teaser-section,
  .menu-toggle span {
    animation: none !important;
    transition: none !important;
  }
}


/* V12 refinements */
.combat-hero > img {
  object-position: 34% center;
}

/* Slightly lighter left-side shading so Seline reads more clearly without hurting text legibility */
.combat-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.72) 0%, rgba(4,6,10,.48) 30%, rgba(4,6,10,.18) 56%, rgba(4,6,10,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.24) 55%, rgba(0,0,0,.54) 100%);
}

/* Keep mobile crop stable */
@media (max-width: 860px) {
  .combat-hero > img {
    object-position: 62% center;
  }
}


/* V13 refinements */
/* Overall section lighting: slightly lighter on story/combat, more readable on gameplay. */
.story-panel > img {
  filter: brightness(.72) saturate(1.03);
}
.story-overlay {
  background:
    linear-gradient(90deg, rgba(3,5,9,.66) 0%, rgba(3,5,9,.44) 31%, rgba(3,5,9,.16) 56%, rgba(3,5,9,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.20) 56%, rgba(0,0,0,.42) 100%);
}

.gameplay-band > img {
  filter: brightness(.84) saturate(1.03);
}
.gameplay-band::before {
  background:
    linear-gradient(90deg, rgba(4,6,10,.68) 0%, rgba(4,6,10,.42) 32%, rgba(4,6,10,.14) 58%, rgba(4,6,10,.06) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.36) 100%);
}

/* Push the Seline/Phoenix framing further right so Seline is more visible. */
.combat-hero > img {
  object-position: 24% center;
  filter: brightness(.82) saturate(1.04);
}
.combat-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.64) 0%, rgba(4,6,10,.40) 30%, rgba(4,6,10,.14) 56%, rgba(4,6,10,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.42) 100%);
}

/* Mobile balance */
@media (max-width: 860px) {
  .story-panel > img {
    filter: brightness(.70) saturate(1.02);
  }
  .gameplay-band > img {
    object-position: 54% center;
    filter: brightness(.80) saturate(1.03);
  }
  .combat-hero > img {
    object-position: 56% center;
    filter: brightness(.80) saturate(1.03);
  }
  .story-overlay {
    background:
      linear-gradient(180deg, rgba(4,6,10,.18) 0%, rgba(4,6,10,.42) 48%, rgba(4,6,10,.72) 100%);
  }
  .gameplay-band::before {
    background:
      linear-gradient(180deg, rgba(4,6,10,.12) 0%, rgba(4,6,10,.28) 42%, rgba(4,6,10,.72) 100%);
  }
  .combat-overlay {
    background:
      linear-gradient(180deg, rgba(4,6,10,.16) 0%, rgba(4,6,10,.34) 46%, rgba(4,6,10,.72) 100%);
  }
}


/* V14 refinements */
/* Keep the Angelic logo visible in the first 16:9 hero view. */
.hero-corner-logo {
  bottom: clamp(150px, 18vh, 230px);
  width: min(30vw, 500px);
}

/* Leave room for the raised logo and keep Watch Teaser readable. */
.teaser-hero-button {
  bottom: 28px;
}

@media (max-width: 1180px) {
  .hero-corner-logo {
    bottom: clamp(135px, 16vh, 200px);
    width: min(36vw, 420px);
  }
}

@media (max-width: 860px) {
  .hero-corner-logo {
    bottom: 86px;
    width: min(46vw, 210px);
  }
}

@media (max-width: 560px) {
  .hero-corner-logo {
    bottom: 92px;
    width: 148px;
  }
}


/* V15 refinements */
/* Desktop hero: tighten and calm the copy so everything fits the left safe box,
   while moving the logo into the first-view lower-right area. */
.hero-content {
  width: min(620px, calc(100% - 24px));
  max-width: 620px;
  padding-bottom: 72px;
  padding-left: 0;
}

.kicker {
  margin-bottom: 10px;
  font-size: clamp(17px, 1.15vw, 22px);
  letter-spacing: 2.2px;
}

.hero h1 {
  max-width: 7.8ch;
  font-size: clamp(46px, 4.7vw, 74px);
  line-height: .94;
}

.hero-copy {
  margin-top: 16px;
  max-width: 24ch;
  font-size: clamp(17px, 1.42vw, 24px);
  line-height: 1.18;
}

.hero-actions {
  gap: 10px;
  margin-top: 20px;
}

.hero .btn {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 16px;
}

.hero-corner-logo {
  right: clamp(34px, 6vw, 96px);
  bottom: clamp(98px, 11vh, 152px);
  width: min(22vw, 380px);
}

.teaser-hero-button {
  bottom: 22px;
}

@media (max-width: 1180px) {
  .hero-content {
    width: min(560px, calc(100% - 20px));
    max-width: 560px;
    padding-bottom: 82px;
  }

  .hero h1 {
    font-size: clamp(42px, 5.1vw, 64px);
    max-width: 7.6ch;
  }

  .hero-copy {
    font-size: clamp(17px, 1.65vw, 22px);
    max-width: 23ch;
  }

  .hero .btn {
    font-size: 15px;
    padding: 10px 16px;
  }

  .hero-corner-logo {
    width: min(28vw, 320px);
    right: 28px;
    bottom: 96px;
  }
}

@media (max-width: 860px) {
  .hero-content {
    width: min(100%, 520px);
    padding-bottom: 118px;
  }

  .kicker {
    font-size: 16px;
  }

  .hero h1 {
    max-width: 7.4ch;
    font-size: clamp(40px, 11vw, 60px);
  }

  .hero-copy {
    font-size: 18px;
    max-width: 22ch;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero .btn {
    min-height: 46px;
    font-size: 15px;
  }

  .hero-corner-logo {
    right: 18px;
    bottom: 86px;
    width: min(44vw, 190px);
  }
}

@media (max-width: 560px) {
  .hero-content {
    padding-bottom: 126px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-corner-logo {
    right: 12px;
    bottom: 94px;
    width: 140px;
  }
}


/* V16 refinements */
/* Hero: shrink and lift the whole composition so the logo is visible in Chrome/Opera 16:9 first view. */
.hero {
  padding-top: 92px;
  padding-bottom: 72px;
}

.hero-content {
  width: min(560px, calc(100% - 24px));
  max-width: 560px;
  padding-bottom: clamp(56px, 8vh, 96px);
}

.hero .kicker {
  font-size: clamp(15px, 0.95vw, 19px);
  letter-spacing: 2.1px;
  margin-bottom: 8px;
}

.hero h1 {
  max-width: 7.5ch;
  font-size: clamp(42px, 4.1vw, 64px);
  line-height: .93;
}

.hero-copy {
  margin-top: 14px;
  max-width: 25ch;
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.18;
}

.hero-actions {
  margin-top: 18px;
  gap: 10px;
}

.hero .btn {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 15px;
}

.hero-corner-logo {
  right: clamp(42px, 6vw, 110px);
  bottom: clamp(120px, 18vh, 210px);
  width: min(20vw, 340px);
}

/* Remove the old teaser toggle from the hero. */
.teaser-hero-button {
  display: none !important;
}

/* Teaser is now a real visible page section, not hidden behind a click. */
.teaser-section {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  transform: none !important;
  margin-top: 34px !important;
  scroll-margin-top: 88px;
}

.teaser-section[aria-hidden="true"] {
  display: block;
}

.teaser-shell {
  align-items: center;
}

/* Slightly reduce card text so the third card stays tidier after copy update. */
.combat-cards p {
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.25;
}

/* Mobile/tablet hero safety. */
@media (max-width: 1180px) {
  .hero {
    padding-top: 86px;
  }

  .hero-content {
    width: min(520px, calc(100% - 20px));
    max-width: 520px;
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: clamp(38px, 4.7vw, 58px);
    max-width: 7.4ch;
  }

  .hero-copy {
    font-size: clamp(16px, 1.5vw, 20px);
    max-width: 24ch;
  }

  .hero-corner-logo {
    right: 28px;
    bottom: 128px;
    width: min(26vw, 280px);
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 92px 18px 88px;
    min-height: 96vh;
  }

  .hero-content {
    width: min(100%, 480px);
    padding-bottom: 114px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.4vw, 54px);
    max-width: 7.3ch;
  }

  .hero-copy {
    font-size: 17px;
    max-width: 22ch;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero .btn {
    min-height: 44px;
    font-size: 15px;
  }

  .hero-corner-logo {
    right: 18px;
    bottom: 80px;
    width: min(42vw, 180px);
  }

  .teaser-section {
    margin-top: 24px !important;
    scroll-margin-top: 80px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-inline: 12px;
  }

  .hero-content {
    padding-bottom: 118px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-corner-logo {
    right: 12px;
    bottom: 84px;
    width: 132px;
  }
}


/* V20: Dreadheaven / Chaos Theatre sections */
.colony-panel {
  position: relative;
  width: min(1320px, calc(100% - 68px));
  margin: 48px auto 0;
  min-height: 640px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.chaos-panel {
  position: relative;
  width: min(1320px, calc(100% - 68px));
  margin: 34px auto 0;
  min-height: 640px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.colony-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.78) saturate(1.04);
}

.chaos-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.64) saturate(1.02);
}

.colony-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.72) 0%, rgba(4,6,10,.46) 34%, rgba(4,6,10,.16) 62%, rgba(4,6,10,.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.22) 54%, rgba(0,0,0,.48) 100%);
}

.safe-copy-colony {
  left: 42px;
  bottom: 42px;
  width: min(690px, calc(100% - 96px));
  max-width: 690px;
}

.safe-copy-colony .kicker {
  font-size: clamp(12px, .92vw, 15px);
  letter-spacing: 2px;
  margin-bottom: 10px;
  max-width: 46ch;
}

.safe-copy-colony h2 {
  font-size: clamp(22px, 1.72vw, 31px);
  max-width: 18ch;
  line-height: 1.02;
}

.safe-copy-colony p:last-child {
  max-width: 41ch;
  font-size: clamp(15px, 1.0vw, 18px);
  line-height: 1.24;
}

.chaos-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.12) 0%, rgba(4,6,10,.22) 26%, rgba(4,6,10,.50) 54%, rgba(4,6,10,.80) 76%, rgba(4,6,10,.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.24) 46%, rgba(0,0,0,.48) 100%);
}

.safe-copy-chaos {
  left: auto;
  right: 42px;
  bottom: 42px;
  width: min(560px, calc(100% - 96px));
  max-width: 560px;
  border-left: 0;
  border-right: 1px solid rgba(219,159,57,.32);
  padding-left: 0;
  padding-right: 18px;
}

.safe-copy-chaos .kicker {
  max-width: 34ch;
}

.safe-copy-chaos h2 {
  font-size: clamp(24px, 1.95vw, 34px);
  max-width: 16.8ch;
  line-height: 1.01;
}

.safe-copy-chaos p:last-child {
  max-width: 28ch;
  font-size: clamp(15px, 1.0vw, 18px);
  line-height: 1.24;
}

@media (max-width: 860px) {
  .colony-panel,
  .chaos-panel {
    min-height: 680px;
    border-radius: 22px;
  }

  .colony-panel > img {
    object-position: 48% center;
    filter: brightness(.72) saturate(1.04);
  }

  .chaos-panel > img {
    object-position: 34% center;
    filter: brightness(.58) saturate(1.02);
  }

  .colony-overlay,
  .chaos-overlay {
    background:
      linear-gradient(180deg, rgba(4,6,10,.12) 0%, rgba(4,6,10,.34) 46%, rgba(4,6,10,.78) 100%);
  }

  .safe-copy-colony,
  .safe-copy-chaos {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px 14px 13px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(219,159,57,.28);
    border-radius: 18px;
    background: rgba(7,10,15,.76);
    backdrop-filter: blur(14px);
  }

  .safe-copy-colony h2,
  .safe-copy-chaos h2 {
    font-size: clamp(25px, 7.4vw, 34px);
    max-width: 100%;
  }

  .safe-copy-colony p:last-child,
  .safe-copy-chaos p:last-child {
    font-size: 16px;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .safe-copy-colony p:last-child,
  .safe-copy-chaos p:last-child {
    display: none;
  }
}


/* V21 refinements */
/* Slightly tighter nav so the added Campaign/Multiplayer links fit cleanly. */
.nav-links {
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  letter-spacing: 1.1px;
}

/* Use the cleaner Chaos Theatre art and keep copy anchored in the lower-right safe area. */
.chaos-panel > img {
  object-position: center center;
  filter: brightness(.68) saturate(1.03);
}

.chaos-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.04) 0%, rgba(4,6,10,.10) 26%, rgba(4,6,10,.26) 46%, rgba(4,6,10,.62) 70%, rgba(4,6,10,.88) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 46%, rgba(0,0,0,.44) 100%);
}

.safe-copy-chaos {
  right: 46px;
  bottom: 38px;
  width: min(600px, calc(100% - 100px));
  max-width: 600px;
}

.safe-copy-chaos .kicker {
  max-width: 36ch;
}

.safe-copy-chaos h2 {
  font-size: clamp(23px, 1.85vw, 32px);
  max-width: 17.8ch;
}

.safe-copy-chaos p:last-child {
  max-width: 30ch;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .nav-links a {
    font-size: 18px;
  }

  .chaos-panel > img {
    object-position: 54% center;
    filter: brightness(.62) saturate(1.02);
  }
}


/* V22: Chaos Theatre lower-left alignment */
.safe-copy-chaos {
  left: 46px !important;
  right: auto !important;
  bottom: 38px !important;
  width: min(600px, calc(100% - 100px));
  max-width: 600px;
  border-left: 1px solid rgba(219,159,57,.32) !important;
  border-right: 0 !important;
  padding-left: 18px !important;
  padding-right: 0 !important;
  text-align: left;
}

.safe-copy-chaos .kicker,
.safe-copy-chaos h2,
.safe-copy-chaos p:last-child {
  text-align: left;
}

.chaos-overlay {
  background:
    linear-gradient(90deg, rgba(4,6,10,.72) 0%, rgba(4,6,10,.48) 30%, rgba(4,6,10,.20) 54%, rgba(4,6,10,.08) 78%, rgba(4,6,10,.04) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 46%, rgba(0,0,0,.42) 100%);
}

@media (max-width: 860px) {
  .safe-copy-chaos {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px 14px 13px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 1px solid rgba(219,159,57,.28);
  }
}


/* V23: Screenshots gallery */
.nav-links {
  gap: 17px;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 1px;
}

.screenshots-section {
  width: min(1320px, calc(100% - 68px));
  margin: 34px auto 0;
  padding: clamp(18px, 2.2vw, 30px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(71, 180, 214, .12), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(219, 159, 57, .08), transparent 32%),
    rgba(8, 11, 17, .82);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(280px, 1fr);
  gap: clamp(18px, 4vw, 74px);
  align-items: end;
  margin-bottom: clamp(18px, 2.6vw, 34px);
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(34px, 3.6vw, 64px);
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: none;
}

.section-heading p:last-child {
  margin: 0 0 6px;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.25;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1vw, 16px);
}

.shot {
  position: relative;
  grid-column: span 4;
  display: block;
  overflow: hidden;
  min-height: 200px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  isolation: isolate;
}

.shot-wide {
  grid-column: span 6;
  min-height: 320px;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 24%, rgba(0,0,0,.22) 100%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.18), transparent 26%);
  opacity: .68;
  pointer-events: none;
  transition: opacity .25s ease;
}

.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1.015);
  transition: transform .45s ease, filter .45s ease;
  filter: brightness(.88) saturate(1.05);
}

.shot:hover img {
  transform: scale(1.055);
  filter: brightness(1.02) saturate(1.08);
}

.shot:hover::after {
  opacity: .28;
}

@media (max-width: 1280px) {
  .nav-links {
    gap: 13px;
  }

  .nav-links a {
    font-size: 13px;
    letter-spacing: .8px;
  }
}

@media (max-width: 980px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading .kicker {
    margin-bottom: 0;
  }

  .section-heading h2 {
    max-width: 18ch;
  }

  .shot,
  .shot-wide {
    grid-column: span 6;
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .nav-links a {
    font-size: 18px;
  }

  .screenshots-section {
    width: min(100% - 28px, 1320px);
    border-radius: 22px;
    padding: 16px;
  }
}

@media (max-width: 620px) {
  .shot,
  .shot-wide {
    grid-column: 1 / -1;
    min-height: 190px;
  }
}


/* V24: Screenshot carousel instead of text-heavy gallery */
.screenshots-section {
  width: min(1320px, calc(100% - 68px));
  margin: 34px auto 0;
  padding: clamp(18px, 2vw, 28px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(71, 180, 214, .11), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(219, 159, 57, .08), transparent 32%),
    rgba(8, 11, 17, .84);
  box-shadow: var(--shadow);
}

.screenshots-kicker {
  margin: 0 0 18px;
}

.screenshot-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.04);
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}

.screenshot-stage {
  display: block;
  position: relative;
  isolation: isolate;
}

.screenshot-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 22%, rgba(0,0,0,.18) 100%),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.16), transparent 30%);
}

.screenshot-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: brightness(.92) saturate(1.05);
}

.screenshot-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 72px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(5,8,13,.58);
  color: rgba(255,255,255,.92);
  font: 700 44px/1 Rajdhani, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.screenshot-arrow:hover {
  background: rgba(16,22,31,.82);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-50%) scale(1.04);
}

.screenshot-arrow-prev {
  left: 18px;
}

.screenshot-arrow-next {
  right: 18px;
}

.screenshot-thumbnails {
  display: grid;
  grid-template-columns: repeat(10, minmax(88px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.screenshot-thumb {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  opacity: .62;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.screenshot-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  filter: brightness(.82) saturate(1.02);
}

.screenshot-thumb:hover {
  opacity: .92;
  transform: translateY(-2px);
}

.screenshot-thumb.is-active {
  opacity: 1;
  border-color: rgba(219,159,57,.78);
  box-shadow: 0 0 0 1px rgba(219,159,57,.26), 0 18px 44px rgba(0,0,0,.36);
}

@media (max-width: 1280px) {
  .screenshot-thumbnails {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 860px) {
  .screenshots-section {
    width: min(100% - 28px, 1320px);
    border-radius: 22px;
    padding: 16px;
  }

  .screenshot-carousel {
    border-radius: 18px;
  }

  .screenshot-arrow {
    width: 42px;
    height: 58px;
    font-size: 34px;
  }

  .screenshot-arrow-prev {
    left: 10px;
  }

  .screenshot-arrow-next {
    right: 10px;
  }

  .screenshot-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 9px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-thumb {
    min-width: 132px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .screenshot-stage img {
    aspect-ratio: 16 / 10;
  }

  .screenshot-thumb {
    min-width: 112px;
  }
}


/* V25: solid black header bar with compact Angelic logo */
.nav {
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 58px;
  padding: 10px 28px !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.88)) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 36px rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  opacity: .92;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-brand:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-brand img {
  display: block;
  width: clamp(132px, 10vw, 184px);
  height: auto;
}

.nav-links {
  margin-left: auto;
  align-items: center;
}

@media (max-width: 1280px) {
  .nav {
    padding-inline: 20px !important;
  }

  .nav-brand img {
    width: 132px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 12.5px;
    letter-spacing: .8px;
  }
}

@media (max-width: 980px) {
  .nav-brand img {
    width: 116px;
  }

  .nav-links {
    gap: 9px;
  }

  .nav-links a {
    font-size: 11.5px;
    letter-spacing: .65px;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
    padding: 12px 14px !important;
  }

  .nav-brand {
    position: relative;
    z-index: 34;
  }

  .nav-brand img {
    width: 128px;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .nav-links {
    margin-left: 0;
  }

  .nav-links a {
    font-size: 18px;
    letter-spacing: 1.1px;
  }
}

@media (max-width: 420px) {
  .nav-brand img {
    width: 112px;
  }
}


/* V26: anchor alignment fix for fixed black header */
html {
  scroll-padding-top: 98px;
}

#teaser-section,
#story,
#combat,
#campaign,
#multiplayer,
#screenshots,
#heroes,
#wishlist {
  scroll-margin-top: 98px;
}

/* Give anchored sections a bit more breathing room under the fixed nav. */
.teaser-section,
.story-panel,
.gameplay-band,
.combat-hero,
.colony-panel,
.chaos-panel,
.screenshots-section,
.split {
  scroll-margin-top: 98px;
}

/* The top header is 58px, but browser toolbars / local preview framing can make it feel taller.
   This keeps target sections centered better after menu clicks. */
@media (max-width: 1180px) {
  html {
    scroll-padding-top: 104px;
  }

  #teaser-section,
  #story,
  #combat,
  #campaign,
  #multiplayer,
  #screenshots,
  #heroes,
  #wishlist,
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .colony-panel,
  .chaos-panel,
  .screenshots-section,
  .split {
    scroll-margin-top: 104px;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 88px;
  }

  #teaser-section,
  #story,
  #combat,
  #campaign,
  #multiplayer,
  #screenshots,
  #heroes,
  #wishlist,
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .colony-panel,
  .chaos-panel,
  .screenshots-section,
  .split {
    scroll-margin-top: 88px;
  }
}


/* V27: balanced anchor offset for fixed header */
html {
  scroll-padding-top: 72px;
}

#teaser-section,
#story,
#combat,
#campaign,
#multiplayer,
#screenshots,
#heroes,
#wishlist,
.teaser-section,
.story-panel,
.gameplay-band,
.combat-hero,
.colony-panel,
.chaos-panel,
.screenshots-section,
.split {
  scroll-margin-top: 72px;
}

/* On slightly narrower desktop/tablet, the header breathes a little more. */
@media (max-width: 1180px) {
  html {
    scroll-padding-top: 76px;
  }

  #teaser-section,
  #story,
  #combat,
  #campaign,
  #multiplayer,
  #screenshots,
  #heroes,
  #wishlist,
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .colony-panel,
  .chaos-panel,
  .screenshots-section,
  .split {
    scroll-margin-top: 76px;
  }
}

/* Mobile header is taller because of hamburger/nav padding. */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 78px;
  }

  #teaser-section,
  #story,
  #combat,
  #campaign,
  #multiplayer,
  #screenshots,
  #heroes,
  #wishlist,
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .colony-panel,
  .chaos-panel,
  .screenshots-section,
  .split {
    scroll-margin-top: 78px;
  }
}


/* V28: finer anchor balance after fixed header */
/* V27 was a little too low on taller/later sections. This pulls anchor targets upward
   without returning to the old header-overlap problem. */
html {
  scroll-padding-top: 62px;
}

#teaser-section,
#story,
#combat,
#campaign,
#multiplayer,
#screenshots,
#heroes,
#wishlist,
.teaser-section,
.story-panel,
.gameplay-band,
.combat-hero,
.colony-panel,
.chaos-panel,
.screenshots-section,
.split {
  scroll-margin-top: 62px;
}

/* Taller/later sections need slightly less offset so they don't sink into the bottom frame. */
#screenshots,
#heroes,
#wishlist,
.screenshots-section {
  scroll-margin-top: 56px !important;
}

/* Tablet/narrow desktop balance */
@media (max-width: 1180px) {
  html {
    scroll-padding-top: 66px;
  }

  #teaser-section,
  #story,
  #combat,
  #campaign,
  #multiplayer,
  #screenshots,
  #heroes,
  #wishlist,
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .colony-panel,
  .chaos-panel,
  .screenshots-section,
  .split {
    scroll-margin-top: 66px;
  }

  #screenshots,
  #heroes,
  #wishlist,
  .screenshots-section {
    scroll-margin-top: 60px !important;
  }
}

/* Mobile header remains taller because of the compact menu area. */
@media (max-width: 860px) {
  html {
    scroll-padding-top: 76px;
  }

  #teaser-section,
  #story,
  #combat,
  #campaign,
  #multiplayer,
  #screenshots,
  #heroes,
  #wishlist,
  .teaser-section,
  .story-panel,
  .gameplay-band,
  .combat-hero,
  .colony-panel,
  .chaos-panel,
  .screenshots-section,
  .split {
    scroll-margin-top: 76px;
  }
}


/* V29: tighten screenshots anchor alignment and redesign heroes section */
/* Screenshots section is taller because of the thumbnail rail, so anchor it a bit higher in view. */
#screenshots,
.screenshots-section {
  scroll-margin-top: 34px !important;
}

@media (max-width: 1180px) {
  #screenshots,
  .screenshots-section {
    scroll-margin-top: 38px !important;
  }
}

@media (max-width: 860px) {
  #screenshots,
  .screenshots-section {
    scroll-margin-top: 52px !important;
  }
}

.heroes-panel {
  width:min(1320px, calc(100% - 68px));
  margin: 34px auto 0;
  position: relative;
  min-height: 760px;
  border-radius: 30px;
  overflow: hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: #070a10;
}

.heroes-panel > img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter: brightness(.64) saturate(1.02);
}

.heroes-overlay {
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(6,8,12,.82) 0%, rgba(6,8,12,.62) 22%, rgba(6,8,12,.30) 50%, rgba(6,8,12,.20) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.50) 100%);
}

.safe-copy-heroes {
  position: relative;
  z-index: 1;
  min-height: 760px;
  max-width: 540px;
  padding: 58px 42px 40px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
}

.safe-copy-heroes h2 {
  max-width: 10.4ch;
}

.safe-copy-heroes p:last-child {
  max-width: 24ch;
}

@media (max-width: 980px) {
  .heroes-panel {
    min-height: 640px;
  }

  .safe-copy-heroes {
    min-height: 640px;
    max-width: 500px;
    padding: 40px 28px 28px;
  }
}

@media (max-width: 720px) {
  .heroes-panel {
    width:min(100% - 28px, 1320px);
    min-height: 560px;
    border-radius: 24px;
  }

  .safe-copy-heroes {
    min-height: 560px;
    max-width: 100%;
    padding: 30px 20px 20px;
  }
}


/* V30: correct heroes art, screenshot anchor balance, footer, FAQ page */
#screenshots,
.screenshots-section {
  scroll-margin-top: 4px !important;
}

@media (max-width: 1180px) {
  #screenshots,
  .screenshots-section {
    scroll-margin-top: 8px !important;
  }
}

.heroes-panel > img {
  object-position: center center !important;
  filter: brightness(.76) saturate(1.04) !important;
}

.heroes-overlay {
  background:
    linear-gradient(90deg, rgba(6,8,12,.80) 0%, rgba(6,8,12,.54) 26%, rgba(6,8,12,.24) 54%, rgba(6,8,12,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.44) 100%) !important;
}

.safe-copy-heroes {
  max-width: 500px;
  padding: 58px 42px 42px !important;
}

.safe-copy-heroes h2 {
  font-size: clamp(28px, 2.75vw, 44px);
  max-width: 11ch;
}

.safe-copy-heroes p:last-child {
  max-width: 27ch;
  font-size: clamp(16px, 1.1vw, 20px);
}

.site-footer {
  width: 100%;
  margin: 60px auto 0;
  padding: 54px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.72);
  text-align: center;
  background: linear-gradient(180deg, rgba(2,4,8,.24), rgba(2,4,8,.88));
  border-top: 1px solid rgba(65,184,230,.18);
}

.footer-line {
  position: relative;
  width: min(100%, 1620px);
  height: 34px;
  margin-bottom: 8px;
  border-top: 1px solid rgba(0,151,214,.34);
}

.footer-line::before,
.footer-line::after,
.footer-line span {
  content: "";
  position: absolute;
  top: -1px;
  height: 2px;
  background: rgba(0,151,214,.42);
}

.footer-line::before { left: 0; width: 27%; }
.footer-line::after { right: 0; width: 27%; }
.footer-line span {
  left: 50%;
  width: min(430px, 34vw);
  transform: translateX(-50%);
  clip-path: polygon(0 0, 46% 0, 49% 100%, 51% 100%, 54% 0, 100% 0, 100% 100%, 0 100%);
}

.site-footer h2 {
  margin: 0;
  font-size: clamp(34px, 2.9vw, 52px);
  line-height: .95;
  letter-spacing: .02em;
}

.site-footer h2::after {
  content: "";
  display: block;
  width: min(420px, 72vw);
  height: 10px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, transparent, rgba(0,183,227,.95), transparent);
  clip-path: polygon(0 42%, 40% 42%, 43% 0, 57% 0, 60% 42%, 100% 42%, 100% 58%, 60% 58%, 57% 100%, 43% 100%, 40% 58%, 0 58%);
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 26px;
  max-width: 620px;
  margin-top: 8px;
}

.social-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #02080e;
  background: linear-gradient(180deg, #0788c4, #005f93);
  border: 1px solid rgba(103,223,255,.36);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.20);
  font: 800 18px/1 Rajdhani, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  filter: brightness(1.18);
}

.social-icon span {
  color: #021018;
  text-shadow: 0 1px 0 rgba(255,255,255,.18);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 8px;
  font-size: clamp(18px, 1.35vw, 24px);
  color: rgba(255,255,255,.66);
}

.footer-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,.28);
}

.footer-links a:last-child { border-right: 0; }
.footer-links a:hover { color: white; }

.footer-angelicore {
  width: min(420px, 78vw);
  height: auto;
  margin-top: 6px;
}

.footer-copy {
  margin: -4px 0 0;
  max-width: 840px;
  font-size: 16px;
  color: rgba(255,255,255,.56);
}

.subpage {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(15,40,54,.30), transparent 38%), #02050a;
}

.faq-shell {
  width: min(1060px, calc(100% - 48px));
  margin: 120px auto 48px;
  padding: clamp(22px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,14,20,.90), rgba(8,10,16,.96));
  box-shadow: var(--shadow);
}

.faq-shell h1 {
  margin: 0 0 30px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: .9;
}

.faq-group {
  margin-top: 34px;
}

.faq-group h2 {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.35;
}

@media (max-width: 760px) {
  .social-grid { gap: 14px; }
  .social-icon { width: 50px; height: 50px; font-size: 16px; }
  .footer-links { font-size: 18px; }
  .site-footer { padding-inline: 14px; }
}


/* V31: cleaner footer and local-file-safe links */
.site-footer {
  margin: 72px auto 0 !important;
  padding: 52px 24px 34px !important;
  gap: 22px !important;
  background: linear-gradient(180deg, rgba(2,4,8,.14), rgba(2,4,8,.82)) !important;
  border-top: 0 !important;
}

.footer-line,
.footer-line::before,
.footer-line::after,
.footer-line span {
  display: none !important;
}

.site-footer h2 {
  color: rgba(255,255,255,.82);
}

.site-footer h2::after {
  content: "" !important;
  display: block !important;
  width: min(360px, 64vw) !important;
  height: 1px !important;
  margin: 14px auto 0 !important;
  background: rgba(255,255,255,.24) !important;
  clip-path: none !important;
}

.social-grid {
  display: none !important;
}

.social-text-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: min(920px, 92vw);
  margin: 2px auto 4px;
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.4;
  letter-spacing: .03em;
  color: rgba(255,255,255,.66);
}

.social-text-links a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,.24);
  transition: color .2s ease;
}

.social-text-links a:last-child {
  border-right: 0;
}

.social-text-links a:hover {
  color: white;
}

.footer-links {
  margin-top: 2px !important;
  font-size: clamp(17px, 1.18vw, 22px) !important;
}

.footer-angelicore {
  width: min(420px, 76vw) !important;
  margin-top: 2px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.footer-copy {
  margin-top: -6px !important;
}

@media (max-width: 760px) {
  .social-text-links {
    max-width: 92vw;
    font-size: 17px;
    row-gap: 6px;
  }

  .social-text-links a {
    padding: 0 9px;
  }
}


/* V32: footer polish, smaller Angelicore mark, legal-link separator */
.footer-angelicore {
  width: min(280px, 52vw) !important;
}

.social-text-links {
  margin-bottom: 10px !important;
}

.footer-links {
  position: relative;
  margin-top: 18px !important;
  padding-top: 18px;
}

.footer-links::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(420px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.18);
}

.footer-copy {
  max-width: 900px !important;
}


/* V33: wishlist art section + lore intro button */
.story-lore-btn {
  align-self: flex-start;
  margin-top: 12px;
}

.final.final-art {
  position: relative;
  min-height: 440px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 46px 58px 54px !important;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(3,6,10,.84) 0%, rgba(3,6,10,.62) 28%, rgba(3,6,10,.28) 55%, rgba(3,6,10,.44) 100%),
    linear-gradient(180deg, rgba(2,4,8,.10) 0%, rgba(2,4,8,.36) 100%),
    url('assets/wishlist-alley-cropped.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.final.final-art .kicker {
  margin-bottom: 10px !important;
}

.final.final-art h2 {
  max-width: 9.4ch !important;
  margin: 0 !important;
  font-size: clamp(34px, 3.45vw, 54px) !important;
  line-height: .94 !important;
  text-align: left !important;
}

.final.final-art .actions {
  justify-content: flex-start !important;
  margin-top: 22px !important;
}

.final.final-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18));
  pointer-events: none;
}

.final.final-art > * {
  position: relative;
  z-index: 1;
}

/* Pull screenshots anchor a bit more upward without disturbing other sections */
.screenshots-section {
  scroll-margin-top: 0px !important;
}

/* Footer FAQ link already points to root alias; keep legal + social separation clean */

@media (max-width: 900px) {
  .final.final-art {
    min-height: 400px !important;
    padding: 36px 26px 34px !important;
  }

  .final.final-art h2 {
    max-width: 10ch !important;
    font-size: clamp(30px, 7.8vw, 44px) !important;
  }
}


/* V35: requested copy and CTA polish */
.combat-cards h3 { margin: 0 0 10px; }

.screenshots-disclaimer {
  margin: -4px 0 18px;
  max-width: 62ch;
  color: rgba(255,255,255,.66);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.35;
}

.story-lore-btn {
  background: #f4f6fa !important;
  color: #0a1017 !important;
  border-color: rgba(255,255,255,.95) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.16) inset;
}

.story-lore-btn:hover,
.story-lore-btn:focus-visible {
  background: #ffffff !important;
  color: #05070a !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0,0,0,.40), 0 0 0 1px rgba(255,255,255,.22) inset;
}

.heroes-soon {
  margin-top: 14px !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(219,159,57,.34);
  background: rgba(219,159,57,.10);
  color: #f0c15b !important;
  font-size: clamp(17px, 1.35vw, 20px) !important;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .screenshots-disclaimer {
    margin-top: -2px;
    font-size: 14px;
  }

  .heroes-soon {
    font-size: 15px !important;
    padding: 9px 12px;
  }
}

/* V36: screenshots disclaimer single-line polish */
.screenshots-disclaimer {
  max-width: none !important;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .screenshots-disclaimer {
    white-space: normal;
  }
}


/* V37: full legal pages */
.legal-page .nav {
  z-index: 20;
}

.legal-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 128px auto 56px;
  padding: clamp(24px, 4vw, 56px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 10% 0%, rgba(0,183,227,.10), transparent 30%),
    linear-gradient(180deg, rgba(11,14,20,.92), rgba(7,9,14,.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.46);
}

.legal-shell h1 {
  margin: 0 0 14px;
  max-width: 13ch;
  font-size: clamp(48px, 6.8vw, 86px);
  line-height: .92;
  letter-spacing: .01em;
}

.legal-updated {
  margin: 0 0 20px;
  color: rgba(255,255,255,.58);
  font-size: clamp(16px, 1.2vw, 20px);
}

.legal-updated.inner {
  margin: -6px 0 22px;
}

.legal-intro {
  max-width: 850px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.72);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.35;
}

.legal-doc {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.legal-doc:first-child {
  margin-top: 0;
}

.legal-doc-title {
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(34px, 4.2vw, 58px) !important;
  line-height: .96 !important;
  letter-spacing: .02em;
}

.legal-item {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}

.legal-item h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.05;
}

.legal-subsection {
  margin-top: 16px;
}

.legal-subsection h3,
.legal-subsection h4 {
  margin: 0 0 8px;
  color: rgba(255,255,255,.90);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.08;
}

.legal-item p,
.legal-item li,
.legal-doc > p,
.legal-doc blockquote {
  color: rgba(255,255,255,.70);
  font-size: clamp(16px, 1.14vw, 20px);
  line-height: 1.45;
}

.legal-item p,
.legal-doc > p {
  margin: 0 0 12px;
}

.legal-item ul {
  margin: 8px 0 14px;
  padding-left: 1.2em;
}

.legal-item li {
  margin: 5px 0;
}

.legal-item blockquote,
.legal-doc blockquote {
  margin: 14px 0;
  padding: 16px 18px;
  border-left: 2px solid rgba(219,159,57,.72);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.045);
  white-space: pre-line;
}

@media (max-width: 760px) {
  .legal-shell {
    width: min(100% - 24px, 1180px);
    margin-top: 96px;
    padding: 24px 18px;
    border-radius: 22px;
  }

  .legal-shell h1 {
    max-width: 12ch;
    font-size: clamp(42px, 11vw, 62px);
  }
}


/* V40: keep screenshot thumbnails in one horizontal slider row */
.screenshot-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.screenshot-thumbnails {
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 10px;
  margin-top: 0 !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(219,159,57,.42) rgba(255,255,255,.06);
}

.screenshot-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.screenshot-thumbnails::-webkit-scrollbar-track {
  background: rgba(255,255,255,.055);
  border-radius: 999px;
}

.screenshot-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(219,159,57,.42);
  border-radius: 999px;
}

.screenshot-thumb {
  flex: 0 0 clamp(112px, 8.1vw, 138px) !important;
  min-width: 0 !important;
  scroll-snap-align: center;
}

.screenshot-thumb-nav {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(5,8,13,.72);
  color: rgba(255,255,255,.9);
  font: 700 34px/1 Rajdhani, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.screenshot-thumb-nav:hover,
.screenshot-thumb-nav:focus-visible {
  background: rgba(16,22,31,.92);
  border-color: rgba(219,159,57,.5);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .screenshot-thumbs-wrap {
    gap: 7px;
  }

  .screenshot-thumb-nav {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .screenshot-thumb {
    flex-basis: 112px !important;
  }
}
