/* Ragnarok: The New World — cinematic editorial landing design.
   Inspired by the visual hierarchy of premium MMORPG launch sites.
   All game imagery belongs to Ragnarok's official Steam listing. */
/* Chakra Petch is loaded via Google Fonts CSS; no font files are redistributed. */
:root {
  color-scheme: dark;
  --bg: #080b12;
  --surface: #111723;
  --line: rgba(241, 236, 222, .17);
  --text: #fffefa;
  --muted: #bdc1c9;
  --gold: #dfb65e;
  --gold-bright: #f5d482;
  --container: 1190px;
  --font-game: "Chakra Petch", "Leelawadee UI", "Noto Sans Thai", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; min-width: 320px; color: var(--text); background: var(--bg);
  font-family: var(--font-game);
  line-height: 1.68; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::before {
  position: absolute; z-index: -1; inset: 0 0 auto; height: 1050px;
  background: radial-gradient(ellipse 60% 55% at 80% 3%, rgba(39, 72, 105, .20), transparent 73%);
  content: ""; pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, select, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold-bright); outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-game); font-weight: 900; letter-spacing: -.027em; line-height: 1.13; }
p { color: var(--muted); }
section { scroll-margin-top: 96px; }
.container { width: min(calc(100% - 52px), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); padding: 0; margin: -1px; border: 0; white-space: nowrap;
}
.skip-link {
  position: fixed; z-index: 100; left: 16px; top: -80px;
  padding: 9px 16px; color: #111; background: white;
}
.skip-link:focus { top: 12px; }
.small-label {
  display: inline-flex; gap: 14px; align-items: center;
  color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .24em;
}
.small-label::before { content: ""; width: 35px; height: 1px; background: currentColor; }

/* 1 — Compact navigation; the film, not the chrome, is the first impression. */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 10, 17, .86); border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(7, 10, 17, .97); box-shadow: 0 15px 45px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-emblem {
  display: grid; flex: none; place-items: center; width: 43px; height: 43px;
  color: var(--gold); border: 1px solid rgba(234, 210, 172, .65); border-radius: 50%;
  font: 30px/1 Georgia, serif; box-shadow: inset 0 0 20px rgba(234,210,172,.08);
}
.brand-name { font: 900 20px/1.15 var(--font-game); letter-spacing: .035em; white-space: nowrap; }
.brand-name small {
  display: block; color: #bab5b1; margin-top: 2px;
  font: 700 8px/1.4 var(--font-game); letter-spacing: .23em;
}
nav { display: flex; align-items: center; gap: clamp(16px, 2.7vw, 38px); font-size: 14px; font-weight: 700; color: #d6d4d4; }
nav a { position: relative; padding: 28px 0; transition: color .2s; white-space: nowrap; }
nav a::after {
  content: ""; position: absolute; inset: auto 50% 21px;
  height: 1px; background: var(--gold); transition: left .22s, right .22s;
}
nav a:hover, nav a:focus-visible { color: #fff; }
nav a:hover::after { left: 0; right: 0; }
.lang-control { flex: none; display: inline-flex; }
.lang-control select {
  max-width: 146px; padding: 11px 28px 11px 11px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.27); background: #161b25; color: #fff;
  font: 700 12px var(--font-game); cursor: pointer;
}
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px;
  border: 1px solid transparent; border-radius: 3px; text-align: center;
  font: 900 15px/1.4 var(--font-game); letter-spacing: .025em;
  transition: transform .22s, background .22s, box-shadow .22s, border-color .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #0d1017; background: #f6c86d; border-color: #ffe2a0; padding: 18px 32px; box-shadow: 0 10px 32px rgba(244,175,43,.33), inset 0 1px rgba(255,255,255,.42); }
.btn-primary:hover { background: #ffe091; border-color: #fff0c7; box-shadow: 0 14px 46px rgba(244,175,43,.54); }
.btn-outline {
  color: #fff; background: rgba(11,15,22,.29); border-color: rgba(255,255,255,.65);
  padding: 17px 24px; backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.13); }
.btn-small { color: #0b1019; background: #e4b963; border: 1px solid #f6d68e; padding: 12px 18px; white-space: nowrap; font-size: 12px; box-shadow: 0 5px 16px rgba(224,172,63,.18); }
.btn-small:hover { background: #ffdc88; }
.cta-arrow { position: relative; display: inline-block; width: 22px; height: 22px; font-size: 0; line-height: 0; transition: transform .22s; }
.cta-arrow::before { content: ""; position: absolute; width: 19px; height: 2px; left: 1px; top: 11px; background: currentColor; transform: rotate(-45deg); }
.cta-arrow::after { content: ""; position: absolute; width: 11px; height: 11px; top: 2px; right: 1px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.btn:hover .cta-arrow { transform: translate(3px, -3px); }
.arrow { font-size: 19px; line-height: 1; }

/* 2 — A full-bleed, high-resolution cinematic stage like a AAA game home page. */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  width: 100%; margin: 0; min-height: 800px; min-height: max(800px, calc(100svh - 82px));
  padding: 110px 0 132px; overflow: hidden;
  border-radius: 0; background: #102139 url("./assets/hero-poster.jpg") center/cover;
}
.hero-video {
  position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 43%; pointer-events: none;
}
.hero::before {
  position: absolute; z-index: -1; content: ""; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,7,13,.92) 0%, rgba(4,7,13,.78) 32%, rgba(4,7,13,.38) 70%, rgba(4,7,13,.23) 100%),
    linear-gradient(0deg, rgba(4,7,13,.93) 0%, transparent 48%, rgba(4,7,13,.23) 100%);
}
.hero::after {
  position: absolute; z-index: -1; inset: 0; content: ""; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 65% 48%, transparent 35%, rgba(4,7,13,.23) 100%);
}
.hero-grid { position: relative; z-index: 1; display: block; width: min(calc(100% - 52px), var(--container)); margin-inline: auto; }
.hero-copy { max-width: 770px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 13px; margin-bottom: 24px;
  color: var(--gold-bright); font: 900 12px/1.5 var(--font-game); letter-spacing: .22em;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 18px rgba(255,226,168,.85); }
.hero-kicker-separator { color: rgba(255,255,255,.6); }
h1 {
  margin: 0 0 27px; max-width: 790px;
  font-size: clamp(46px, 6.15vw, 86px); font-weight: 900; line-height: 1.08;
  text-shadow: 0 10px 36px rgba(0,0,0,.30); text-wrap: balance;
}
h1 .highlight { display: inline; color: var(--gold-bright); }
.hero-subtitle {
  max-width: 570px; margin-bottom: 31px; color: #ecedf0;
  font-size: clamp(14px, 1.43vw, 18px); line-height: 1.85; text-shadow: 0 3px 18px rgba(0,0,0,.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 23px; }
.hero-actions .btn-primary { min-width: 235px; }
.hero-actions .btn-hero { min-width: 262px; min-height: 64px; font-size: 20px; text-transform: uppercase; letter-spacing: .08em; }
.under-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.under-cta span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px;
  color: #fff9e7; background: rgba(5,9,16,.76); border: 1px solid rgba(255,216,143,.58);
  font-size: 14px; font-weight: 900; line-height: 1.35; letter-spacing: .01em;
  box-shadow: 0 4px 18px rgba(0,0,0,.26); backdrop-filter: blur(8px);
}

/* 3 — Quiet proof points between visual chapters. */
.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 29px 0 20px; border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; justify-content: center; gap: 17px; padding: 10px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-number { font: 900 clamp(28px, 3vw, 39px)/1.1 var(--font-game); color: var(--gold-bright); }
.trust-label { max-width: 140px; color: #d6d4d4; font-size: 12px; line-height: 1.45; }

/* Cinematic scroll chapter: a fixed world, moving foreground adventurer and reversible copy. */
.world-parallax { position: relative; height: 175svh; min-height: 1100px; isolation: isolate; }
.world-parallax-stage {
  position: sticky; top: 0; display: flex; align-items: center;
  height: 100svh; min-height: 660px; overflow: hidden; isolation: isolate;
  background: #122539;
}
.world-parallax-backdrop {
  position: absolute; z-index: -3; inset: -9%;
  background: url("./assets/world-wide.webp") center 51%/cover no-repeat;
  transform: translate3d(0, var(--world-background-shift, 0px), 0) scale(1.065);
  will-change: transform;
}
.world-parallax-adventurer {
  position: absolute; z-index: -1; right: max(1%, calc((100% - 1430px) / 2)); bottom: -7%;
  width: clamp(420px, 50vw, 770px); max-width: none; height: auto;
  transform: translate3d(var(--world-actor-x, 0px),var(--world-actor-y, 0px),0)
    rotate(var(--world-actor-tilt, 0deg)) scale(var(--world-actor-scale, 1));
  transform-origin: 55% 70%; filter: drop-shadow(-28px 32px 42px rgba(0,0,0,.48));
  will-change: transform; pointer-events: none;
}
.world-parallax-shade {
  position: absolute; z-index: -2; inset: 0;
  background: linear-gradient(90deg, rgba(4,9,16,.89) 0%,rgba(4,9,16,.68) 38%,rgba(4,9,16,.08) 80%),
              linear-gradient(0deg, rgba(4,9,16,.82), transparent 38%,rgba(4,9,16,.20));
}
.world-parallax-copy { position: relative; z-index: 2; display: flex; align-items: center; min-height: 100%; }
.world-parallax-text { max-width: 600px; padding: 75px 0; text-shadow: 0 5px 20px rgba(0,0,0,.34); }
.world-parallax-text h2 { margin-bottom: 25px; font-size: clamp(45px, 5.5vw, 84px); line-height: 1.08; text-wrap: balance; }
.world-parallax-text p { max-width: 470px; margin-bottom: 29px; color: #f2f2f2; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.76; }
.world-parallax-text .btn { min-width: 245px; min-height: 61px; font-size: 18px; }

/* 4 — Large illustrated story chapters, as on immersive MMORPG sites. */
.section-pad { padding-top: 142px; }
.section-intro { max-width: 830px; text-align: center; margin: 0 auto 54px; }
.section-intro .small-label { margin-bottom: 20px; }
.section-intro .small-label::before { display: none; }
.section-intro h2 {
  max-width: 790px; margin: 0 auto 22px; font-weight: 900;
  font-size: clamp(36px, 5vw, 66px); line-height: 1.13; text-wrap: balance;
}
.section-intro p { margin: 0 auto; max-width: 620px; font-size: 15px; line-height: 1.9; }
.feature-grid { display: grid; gap: 24px; }
.feature-card {
  position: relative; isolation: isolate; display: flex; align-items: end;
  min-height: 515px; overflow: hidden; border-radius: 5px; background: #172438;
}
.feature-card::before {
  position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,8,16,.92) 0%, rgba(5,8,16,.46) 40%, transparent 88%),
              linear-gradient(90deg, rgba(5,8,16,.68), transparent 80%);
}
.feature-image { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.feature-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: perspective(1350px) translate3d(0, var(--scroll-lift, 0px), 0) rotateY(var(--scroll-turn, 0deg)) scale(1.115);
  transform-origin: center; backface-visibility: hidden;
  transition: transform .13s linear;
}
.feature-card:hover .feature-image img { filter: saturate(1.09) contrast(1.035); }
.feature-copy { position: relative; z-index: 2; width: min(100%, 630px); padding: 66px clamp(25px, 6vw, 78px); }
.feature-copy h3 {
  max-width: 610px; margin-bottom: 16px;
  font-size: clamp(33px, 4.35vw, 58px); font-weight: 900; line-height: 1.1; text-wrap: balance;
}
.feature-copy p { max-width: 520px; margin: 0; color: #e5e5e7; font-size: 15px; line-height: 1.8; }
.feature-world .feature-image img { object-position: center 44%; }
.feature-battle::before {
  background: linear-gradient(0deg, rgba(5,8,16,.91), transparent 73%),
              linear-gradient(270deg, rgba(5,8,16,.81), transparent 82%);
}
.feature-battle { justify-content: flex-end; }
.feature-battle .feature-copy { text-align: right; }
.feature-battle .feature-copy p { margin-left: auto; }
.feature-battle .feature-image img { object-position: 42% center; }
.feature-style::before {
  background: linear-gradient(0deg, rgba(5,8,16,.89), transparent 76%),
              linear-gradient(90deg, rgba(5,8,16,.75), transparent 85%);
}
.feature-style .feature-image img { object-position: center 34%; }

/* 5 — Full-width playable-class gallery with a premium character selection rail. */
.class-heading { margin-bottom: 48px; }
.class-stage {
  position: relative; isolation: isolate; display: flex; align-items: stretch;
  width: 100%; min-height: 850px; overflow: hidden;
  --class-tint: 77, 67, 80;
  background: radial-gradient(ellipse 45% 65% at 77% 44%, rgba(var(--class-tint), .42), transparent 84%),
              linear-gradient(110deg, #1a191d, #27252a 65%, #191b1d);
  border-top: 1px solid rgba(240,211,150,.16); border-bottom: 1px solid rgba(240,211,150,.2);
  transition: background-color .35s;
}
.class-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,12,17,.78) 0%, rgba(12,12,17,.54) 35%, transparent 68%),
              linear-gradient(0deg, rgba(12,12,17,.98) 0%, transparent 34%);
}
.class-stage-texture {
  position: absolute; z-index: 1; right: 11%; top: 12%; width: 48%; aspect-ratio: 1;
  opacity: .19; border: 2px solid rgba(224,185,105,.13); border-radius: 50%;
  box-shadow: inset 0 0 0 73px rgba(236,208,145,.025), 0 0 0 84px rgba(236,208,145,.018);
}
.class-stage-texture::after {
  content: "✦"; display: grid; place-items: center; width: 100%; height: 100%;
  color: rgba(255,237,188,.23); font: 370px/1 Georgia, serif;
}
.class-visual { position: absolute; z-index: 2; inset: 0 0 88px 40%; overflow: hidden; }
.class-visual img {
  width: 100%; height: 100%; object-fit: contain; object-position: 70% 55%;
  transform: translate3d(var(--class-shift, 0px), var(--class-lift, 0px), 0) rotate(var(--class-tilt, 0deg)) scale(1.075);
  transform-origin: 68% 59%; filter: drop-shadow(-20px 26px 32px rgba(0,0,0,.25));
  transition: opacity .28s ease, transform .5s ease, filter .28s ease;
}
.class-visual img.is-switching { opacity: .2; transform: translate3d(38px,18px,0) scale(1.025); }
.class-visual.is-druid { inset: 0 0 97px 37%; }
.class-visual.is-druid img {
  object-fit: cover; object-position: 50% center; filter: saturate(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.class-stage-inner { position: relative; z-index: 4; display: flex; align-items: center; min-height: 730px; padding-bottom: 165px; }
.class-stage-content { width: min(470px, 50%); padding-top: 32px; text-shadow: 0 3px 15px rgba(0,0,0,.3); }
.class-stage-content h3 { margin: 22px 0 19px; font: 900 clamp(58px, 7vw, 102px)/1.03 var(--font-game); letter-spacing: -.02em; }
.class-stage-content p { margin: 0 0 34px; color: #f1eeeb; font-size: clamp(14px, 1.45vw, 17px); line-height: 1.75; }
.class-forms { display: flex; flex-wrap: wrap; gap: 7px; margin: -10px 0 25px; }
.class-forms[hidden] { display: none; }
.class-forms span { padding: 6px 10px; color: #f3e8d0; background: rgba(15,19,23,.56); border: 1px solid rgba(242,211,140,.35); font-size: 11px; }
.class-play { min-width: 310px; min-height: 64px; font-size: 18px; }
.class-switcher-wrap { position: absolute; z-index: 6; inset: auto 0 26px; padding: 0 16px; }
.class-switcher { display: flex; justify-content: center; gap: 13px; margin: 0 auto; width: min(100%, 1140px); overflow-x: auto; padding: 6px 6px 12px; scrollbar-color: #c49b51 #222227; }
.class-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 0 0 121px;
  padding: 0 0 6px; color: #c2c0c3; border: 0; background: none; cursor: pointer;
  font: 900 12px/1.2 var(--font-game); letter-spacing: .015em;
}
.class-thumb img {
  width: 100%; height: 93px; object-fit: cover; object-position: top;
  filter: grayscale(1) brightness(.68); border: 2px solid transparent; border-radius: 2px;
  background: #272832; transition: filter .25s, border .25s, transform .25s;
}
.class-thumb:hover img, .class-thumb:focus-visible img { filter: grayscale(.25) brightness(.95); transform: translateY(-3px); }
.class-thumb.is-active { color: #f9e2a9; }
.class-thumb.is-active img { filter: grayscale(0) brightness(1); border-color: #e4b963; box-shadow: 0 0 0 1px rgba(255,224,157,.32); }
.class-thumb[data-class="druid"] img { object-position: center; }

/* 6 — Editorial game media wall. */
.gallery-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 12px; }
.gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery-tile { position: relative; min-width: 0; overflow: hidden; background: #172539; border-radius: 4px; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transform: perspective(1200px) translate3d(0,var(--scroll-lift,0px),0) rotateY(var(--scroll-turn,0deg)) scale(1.14); transition: transform .13s linear; }
.gallery-tile:hover img { filter: saturate(1.1); }
.gallery-main { min-height: 590px; }
.gallery-side .gallery-tile { min-height: 289px; }
.gallery-main img { position: absolute; inset: 0; }
.gallery-side img { position: absolute; inset: 0; }
.gallery-caption {
  position: absolute; inset: auto 0 0; padding: 54px 30px 23px;
  color: #fff; font-size: 17px; font-weight: 800; line-height: 1.45;
  background: linear-gradient(transparent, rgba(4,7,13,.88));
}

/* 7 — Simple conversion path: users already know which platform brought them. */
.how-box {
  margin-top: 135px; padding: 74px clamp(32px, 6vw, 82px);
  border-top: 1px solid rgba(234,210,172,.38); border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 55% 80% at 100% 0%, rgba(81,93,111,.13), transparent 70%);
}
.how-top { display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.how-top h2 { max-width: 590px; margin: 15px 0 0; font-size: clamp(37px, 4.7vw, 58px); line-height: 1.15; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 55px 0 27px; }
.step { border-top: 1px solid rgba(241,236,222,.3); padding: 26px 4px 12px; }
.step-index { display: block; color: var(--gold); margin-bottom: 12px; font: 900 38px/1.15 var(--font-game); }
.step strong { display: block; font-size: 15px; line-height: 1.5; }
.fineprint { margin: 0; color: #a2a6b0; font-size: 11px; line-height: 1.8; }

/* 8 — Objections and closing Steam action. */
#faq .section-intro { margin-bottom: 36px; }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  list-style: none; padding: 23px 12px; font-size: 16px; font-weight: 750;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font: 400 26px/1 system-ui, sans-serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 830px; margin: 0; padding: 0 48px 26px 12px; font-size: 14px; line-height: 1.9; }
.last-cta {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  min-height: 480px; margin-top: 132px; padding: 88px 28px; border-radius: 5px;
  background: #102235 url("./assets/adventure-wide.webp") center 42%/cover;
}
.last-cta::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(5,8,14,.65), rgba(5,8,14,.46)), linear-gradient(0deg, rgba(4,7,12,.86), rgba(4,7,12,.22) 50%, rgba(4,7,12,.65));
}
.last-cta-mark { margin-bottom: 12px; font: 40px/1 Georgia, serif; color: var(--gold-bright); }
.last-cta h2 { max-width: 790px; margin: 8px auto 17px; font-size: clamp(37px, 5vw, 65px); font-weight: 900; text-wrap: balance; }
.last-cta p { max-width: 620px; margin: 0 auto 28px; color: #f0eff1; font-size: 16px; }
.last-cta .btn { min-width: 260px; }
footer { padding: 42px 0 74px; }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.footer-inner .brand-name { font-size: 16px; }
.footer-inner .brand-emblem { width: 36px; height: 36px; font-size: 24px; }
.back-to-top {
  align-self: center; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #ffe2a0;
  border-radius: 3px; color: #0d1017; background: #f6c86d;
  box-shadow: 0 10px 32px rgba(244,175,43,.33), inset 0 1px rgba(255,255,255,.42);
  font: 800 25px/1 system-ui, sans-serif; text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.back-to-top:hover { background: #ffe091; border-color: #fff0c7; transform: translateY(-3px); box-shadow: 0 14px 46px rgba(244,175,43,.54); }
.back-to-top:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
.footer-legal { max-width: 660px; margin: 0; color: #9296a2; font-size: 10px; line-height: 1.85; text-align: right; }
.mobile-cta { display: none; }

/* Lightweight scroll reveals; CSS never hides content without JS support. */
.js-ready .reveal { opacity: 0; transform: perspective(1200px) translateY(52px) rotateX(3deg) scale(.987); transition: opacity .72s ease, transform .85s cubic-bezier(.16,.8,.24,1); }
.js-ready .reveal.is-visible { opacity: 1; transform: perspective(1200px) translateY(0) rotateX(0) scale(1); }
.js-ready .world-parallax-text.reveal { transform: translate3d(-38px,35px,0); }
.js-ready .world-parallax-text.reveal.is-visible { transform: translate3d(0,0,0); }

@media (max-width: 1120px) {
  .header-inner { gap: 13px; }
  nav { gap: 15px; }
  .lang-control select { max-width: 120px; }
  .header-cta { padding-inline: 12px; }
  .class-copy { padding-inline: 38px; }
  .world-parallax-adventurer { right: -6%; width: min(60vw, 650px); }
}
@media (max-width: 860px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  nav, .header-cta { display: none; }
  .header-inner { min-height: 72px; }
  .hero { min-height: 725px; min-height: calc(100svh - 72px); padding: 80px 0 98px; }
  .hero-grid { width: min(calc(100% - 48px), var(--container)); }
  h1 { font-size: clamp(44px, 7.8vw, 66px); }
  .world-parallax { height: 145svh; min-height: 930px; }
  .world-parallax-stage { min-height: 620px; }
  .world-parallax-adventurer { right: -22%; bottom: -4%; width: min(86vw, 630px); opacity: .80; }
  .world-parallax-shade { background: linear-gradient(90deg,rgba(4,9,16,.93),rgba(4,9,16,.5) 65%,rgba(4,9,16,.2)),linear-gradient(0deg,rgba(4,9,16,.83),transparent 65%); }
  .world-parallax-text { max-width: 540px; }
  .feature-card { min-height: 460px; }
  .feature-copy { padding: 56px 42px; }
  .class-stage { min-height: 815px; }
  .class-stage-inner { min-height: 700px; padding-bottom: 165px; align-items: flex-start; padding-top: 45px; }
  .class-stage-content { width: min(500px, 85%); padding-top: 20px; }
  .class-stage-content h3 { font-size: clamp(55px, 10vw, 80px); }
  .class-visual { inset: 125px 0 105px 22%; opacity: .86; }
  .class-visual.is-druid { inset: 160px 0 105px 10%; }
  .class-stage::before { background: linear-gradient(180deg,rgba(10,12,18,.76) 0%,transparent 54%,rgba(10,12,18,.97) 100%),linear-gradient(90deg,rgba(10,12,18,.5),transparent 65%); }
  .class-switcher { justify-content: flex-start; }
  .class-thumb { flex-basis: 109px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { min-height: 430px; }
  .gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-side .gallery-tile { min-height: 240px; }
  .how-top { align-items: start; flex-direction: column; }
  .section-pad { padding-top: 105px; }
  .footer-inner { flex-direction: column; }
  .back-to-top { align-self: flex-end; }
  .footer-legal { text-align: left; }
}
@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header .brand-name { font-size: 16px; }
  .brand-emblem { width: 34px; height: 34px; font-size: 24px; }
  .lang-control select { max-width: 125px; padding: 8px 20px 8px 7px; }
  .header-inner { min-height: 66px; }
  .hero { min-height: 655px; min-height: max(655px, calc(100svh - 66px)); margin-top: 0; padding: 78px 0 97px; border-radius: 0; }
  .hero-grid { width: min(calc(100% - 42px), var(--container)); }
  .hero::before { background: linear-gradient(90deg, rgba(4,7,13,.88), rgba(4,7,13,.48)), linear-gradient(0deg, rgba(4,7,13,.93), transparent 75%); }
  .hero-video { object-position: 62% center; }
  .hero-kicker { font-size: 10px; letter-spacing: .18em; margin-bottom: 17px; }
  h1 { font-size: clamp(37px, 10vw, 55px); line-height: 1.15; margin-bottom: 20px; }
  .hero-subtitle { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; padding: 14px 16px; font-size: 13px; }
  .hero-actions .btn-hero { font-size: 18px; min-height: 57px; }
  .under-cta { gap: 7px; }
  .under-cta span { min-height: 34px; padding: 7px 9px; font-size: 12px; }
  .world-parallax { height: 136svh; min-height: 860px; }
  .world-parallax-stage { min-height: 600px; align-items: flex-start; }
  .world-parallax-copy { align-items: flex-start; padding-top: 12svh; }
  .world-parallax-text { padding: 30px 0; }
  .world-parallax-text h2 { max-width: 370px; font-size: clamp(38px, 10vw, 58px); }
  .world-parallax-text p { max-width: 310px; font-size: 13px; }
  .world-parallax-text .btn { min-height: 51px; min-width: 200px; font-size: 15px; }
  .world-parallax-adventurer { width: 112vw; right: -34%; bottom: -3%; opacity: .67; }
  .trust-strip { padding: 11px 0; }
  .trust-item { flex-direction: column; align-items: center; gap: 5px; text-align: center; padding: 12px 4px; }
  .trust-number { font-size: 26px; }
  .trust-label { font-size: 10px; }
  .section-pad { padding-top: 87px; }
  .section-intro { margin-bottom: 31px; }
  .section-intro h2 { font-size: clamp(32px, 8.2vw, 45px); }
  .section-intro p { font-size: 13px; }
  .feature-grid { gap: 13px; }
  .feature-card { min-height: 450px; }
  .feature-image img { object-position: center; }
  .feature-copy, .feature-battle .feature-copy { width: 100%; padding: 44px 23px; text-align: left; }
  .feature-battle .feature-copy p { margin-left: 0; }
  .feature-battle::before { background: linear-gradient(0deg, rgba(5,8,16,.94), transparent 83%); }
  .feature-copy h3 { font-size: clamp(30px, 8.2vw, 46px); }
  .feature-copy p { font-size: 13px; }
  .class-heading { margin-bottom: 27px; }
  .class-stage { min-height: 805px; }
  .class-stage-inner { min-height: 680px; padding-top: 30px; padding-bottom: 160px; }
  .class-stage-content { width: min(100%, 420px); padding-top: 0; }
  .class-stage-content h3 { margin: 12px 0; font-size: clamp(45px, 13vw, 69px); }
  .class-stage-content p { width: min(92%, 340px); margin-bottom: 16px; font-size: 13px; line-height: 1.65; }
  .class-play { min-width: 0; min-height: 49px; padding: 13px 24px; font-size: 15px; }
  .class-visual { inset: 200px -45px 100px 7%; opacity: .83; }
  .class-visual.is-druid { inset: 245px -50px 105px 0; }
  .class-switcher-wrap { bottom: 16px; padding: 0 8px; }
  .class-switcher { gap: 8px; }
  .class-thumb { flex-basis: 82px; font-size: 10px; }
  .class-thumb img { height: 77px; }
  .class-forms { margin: 0 0 15px; }
  .gallery-main { min-height: 300px; }
  .gallery-side { grid-template-columns: 1fr; gap: 12px; }
  .gallery-side .gallery-tile { min-height: 230px; }
  .gallery-caption { padding: 50px 17px 14px; font-size: 13px; }
  .how-box { margin-top: 90px; padding: 40px 17px; }
  .how-top h2 { font-size: 38px; }
  .how-top .btn { width: 100%; }
  .how-steps { grid-template-columns: 1fr; gap: 13px; margin-top: 39px; }
  .step { padding: 20px 4px 2px; }
  .step-index { font-size: 30px; margin-bottom: 8px; }
  .faq-list summary { font-size: 14px; padding: 19px 5px; }
  .faq-list details p { padding: 0 25px 20px 5px; font-size: 12px; }
  .last-cta { min-height: 460px; margin-top: 90px; padding: 72px 18px; }
  .last-cta h2 { font-size: 38px; }
  .last-cta p { font-size: 14px; }
  .last-cta .btn { width: 100%; min-width: 0; }
  footer { padding-bottom: 105px; }
  .mobile-cta {
    position: fixed; z-index: 45; inset: auto 0 0; display: block;
    padding: 10px 13px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(234,210,172,.35);
    background: rgba(7,10,17,.96); box-shadow: 0 -15px 35px rgba(0,0,0,.35);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  }
  .mobile-cta .btn { display: flex; width: 100%; padding: 13px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .feature-image img, .gallery-tile img, .class-visual img { transform: none !important; }
  .world-parallax-backdrop, .world-parallax-adventurer { transform: none !important; will-change: auto; }
}


/* V5 — frictionless scrolling, stronger proof numbers, compact class gallery,
   visibility-gated bottom CTA and lightweight, muted video conversion modal. */
.trust-strip { padding: 25px 0 24px; }
.trust-item { gap: 18px; }
.trust-number {
  font-size: clamp(40px, 4.1vw, 58px); line-height: 1;
  text-shadow: 0 2px 18px rgba(245,212,130,.18);
}
.trust-label { max-width: 178px; font-size: clamp(14px, 1.12vw, 16px); font-weight: 700; line-height: 1.32; color: #f0eff0; }

/* No sticky pinning or 175vh scroll-track: scrolling remains native and uninterrupted. */
.world-parallax { height: auto; min-height: clamp(520px, 83svh, 780px); }
.world-parallax-stage { position: relative; top: auto; height: auto; min-height: clamp(520px, 83svh, 780px); }
.world-parallax-backdrop { inset: 0; transform: none; will-change: auto; }
.world-parallax-adventurer { will-change: auto; }
.world-parallax-copy { min-height: clamp(520px, 83svh, 780px); }

/* Whole class chapter is designed for a single desktop viewport, including heading. */
.class-section { padding-top: clamp(23px, 3.7vh, 43px); }
.class-heading { margin-bottom: clamp(12px, 1.6vh, 20px); }
.class-heading h2 { margin-bottom: 8px; font-size: clamp(30px, 3.2vw, 43px); line-height: 1.08; }
.class-heading p { font-size: 14px; line-height: 1.45; }
.class-stage { height: clamp(470px, calc(100svh - 275px), 660px); min-height: 0; }
.class-stage-inner { min-height: 0; height: 100%; padding-top: 0; padding-bottom: 114px; }
.class-stage-content { padding-top: 0; width: min(460px, 47%); }
.class-stage-content h3 { margin: 0 0 13px; font-size: clamp(44px, 5.1vw, 73px); }
.class-stage-content p { margin-bottom: 18px; font-size: clamp(13px, 1.15vw, 16px); line-height: 1.5; }
.class-visual { inset: 0 0 102px 40%; }
.class-visual.is-druid { inset: 0 0 102px 38%; }
.class-play { min-height: 50px; min-width: 235px; font-size: 15px; padding: 12px 23px; }
.class-forms { margin: 0 0 14px; }
.class-switcher-wrap { bottom: 6px; padding: 0 10px; }
.class-switcher { gap: 9px; padding: 4px 4px 7px; }
.class-thumb { flex-basis: clamp(86px, 8.5vw, 109px); gap: 5px; font-size: 11px; }
.class-thumb img { height: 73px; }

/* Sticky conversion footer: never interferes with the hero, mouse or keyboard before visible. */
.sticky-cta {
  position: fixed; z-index: 44; left: 0; right: 0; bottom: 0;
  padding: 13px 0 calc(13px + env(safe-area-inset-bottom));
  background: rgba(8,12,19,.97); border-top: 1px solid rgba(248,208,123,.43);
  box-shadow: 0 -18px 46px rgba(0,0,0,.44);
  transform: translate3d(0,110%,0); opacity: 0; visibility: hidden;
  pointer-events: none; transition: transform .28s ease, opacity .28s ease, visibility .28s;
}
.sticky-cta.is-visible { transform: translate3d(0,0,0); opacity: 1; visibility: visible; pointer-events: auto; }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.sticky-cta-brand { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; }
.sticky-cta-emblem { color: var(--gold-bright); font: 34px/1 Georgia, serif; }
.sticky-cta-title { font-size: 20px; font-weight: 900; line-height: 1.1; letter-spacing: .03em; }
.sticky-cta-title small { display: block; color: var(--gold-bright); letter-spacing: .16em; font-size: 9px; }
.sticky-cta-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; color: #f0ede8; font-size: 13px; font-weight: 700; }
.sticky-cta-button { min-width: 220px; padding: 13px 28px; font-size: 17px; text-transform: uppercase; white-space: nowrap; }
footer { padding-bottom: 125px; }

/* Modal: poster remains if video cannot autoplay; no heavy third-party motion library. */
.promo-popup[hidden] { display: none !important; }
.promo-popup { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; }
.promo-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.promo-panel {
  position: relative; isolation: isolate; width: min(800px, 100%); min-height: min(600px, calc(100svh - 36px));
  display: flex; align-items: flex-end; overflow: hidden; border: 1px solid rgba(251,214,143,.55);
  background: #111d30 url('./assets/hero-poster.jpg') center/cover no-repeat;
  box-shadow: 0 25px 100px rgba(0,0,0,.84); border-radius: 5px;
}
.promo-video { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.promo-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(4,7,15,.98) 0%, rgba(4,7,15,.74) 38%, rgba(4,7,15,.12) 95%), linear-gradient(90deg, rgba(5,7,15,.37), transparent); pointer-events: none; }
.promo-close {
  position: absolute; right: 13px; top: 13px; z-index: 3; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.72);
  color: #fff; background: rgba(9,12,20,.85); font: 32px/1 system-ui, sans-serif; cursor: pointer;
}
.promo-close:hover { background: rgba(75,59,35,.95); }
.promo-content { position: relative; z-index: 2; padding: clamp(24px, 5vw, 58px); width: 100%; }
.promo-eyebrow { color: var(--gold-bright); font-weight: 900; font-size: 12px; letter-spacing: .18em; }
.promo-content h2 { font-size: clamp(34px, 4.7vw, 60px); max-width: 700px; line-height: 1.07; margin: 16px 0 15px; text-wrap: balance; }
.promo-content p { color: #f5f4f2; font-size: clamp(13px, 1.5vw, 18px); max-width: 610px; margin: 0 0 22px; line-height: 1.6; }
.promo-button { min-height: 60px; min-width: 270px; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }
.promo-proof { display: flex; flex-wrap: wrap; gap: 12px; color: #f8f2e9; font-size: 12px; font-weight: 700; margin-top: 17px; }

@media (max-width: 860px) {
  .world-parallax, .world-parallax-stage, .world-parallax-copy { min-height: clamp(500px, 76svh, 660px); height: auto; }
  .class-section { padding-top: 30px; }
  .class-heading { margin-bottom: 13px; }
  .class-heading h2 { font-size: clamp(30px, 4.9vw, 39px); }
  .class-stage { min-height: 0; height: clamp(480px, calc(100svh - 230px), 650px); }
  .class-stage-inner { min-height: 0; height: 100%; padding-top: 16px; padding-bottom: 105px; align-items: flex-start; }
  .class-stage-content { width: min(445px, 74%); padding-top: 0; }
  .class-stage-content h3 { font-size: clamp(45px, 7vw, 68px); }
  .class-visual { inset: 90px -10px 96px 23%; }
  .class-visual.is-druid { inset: 105px -10px 96px 20%; }
  .class-switcher-wrap { bottom: 8px; }
  .class-thumb { flex-basis: 90px; }
  .class-thumb img { height: 69px; }
  .sticky-cta-inner { gap: 15px; }
  .sticky-cta-proof { display: none; }
  .sticky-cta-button { min-width: 210px; }
}
@media (max-width: 580px) {
  .trust-strip { padding: 15px 0 18px; }
  .trust-item { gap: 7px; padding: 10px 4px; }
  .trust-number { font-size: clamp(31px, 8vw, 41px); }
  .trust-label { font-size: clamp(11px, 3vw, 13px); max-width: 114px; line-height: 1.3; }
  .world-parallax, .world-parallax-stage, .world-parallax-copy { min-height: clamp(490px, 75svh, 660px); height: auto; }
  .world-parallax-copy { padding-top: 9svh; }
  .class-section { padding-top: 26px; }
  .class-heading { margin-bottom: 11px; }
  .class-heading h2 { font-size: clamp(28px, 7.8vw, 37px); margin-bottom: 8px; }
  .class-heading p { font-size: 12px; line-height: 1.3; }
  .class-stage { min-height: 0; height: clamp(470px, calc(100svh - 235px), 565px); }
  .class-stage-inner { min-height: 0; height: 100%; padding-top: 20px; padding-bottom: 102px; align-items: flex-start; }
  .class-stage-content { width: 100%; padding-top: 0; }
  .class-stage-content h3 { font-size: clamp(38px, 10.4vw, 55px); margin: 0 0 8px; }
  .class-stage-content p { width: min(100%, 345px); font-size: 12px; line-height: 1.4; margin-bottom: 11px; }
  .class-forms { gap: 5px; margin: 0 0 9px; }
  .class-forms span { font-size: 10px; padding: 4px 7px; }
  .class-play { min-height: 43px; padding: 10px 19px; font-size: 14px; }
  .class-visual { inset: 148px -30px 92px 11%; opacity: .9; }
  .class-visual.is-druid { inset: 166px -30px 92px 0; }
  .class-switcher-wrap { bottom: 3px; }
  .class-switcher { gap: 7px; padding-bottom: 5px; }
  .class-thumb { flex-basis: 73px; font-size: 10px; }
  .class-thumb img { height: 65px; }
  .sticky-cta { padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
  .sticky-cta-brand { gap: 6px; }
  .sticky-cta-emblem { display: none; }
  .sticky-cta-title { font-size: 13px; }
  .sticky-cta-title small { font-size: 7px; letter-spacing: .06em; }
  .sticky-cta-button { min-width: 0; flex: 1; font-size: 14px; min-height: 46px; padding: 11px 11px; }
  .sticky-cta-button .cta-arrow { display: none; }
  footer { padding-bottom: 105px; }
  .promo-panel { min-height: min(510px, calc(100svh - 32px)); }
  .promo-content { padding: 24px 23px 30px; }
  .promo-content h2 { font-size: clamp(32px, 8.2vw, 43px); }
  .promo-content p { font-size: 13px; }
  .promo-button { min-width: 0; width: 100%; min-height: 55px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  .promo-video { display: none; }
}

/* On narrow phones every class is visible in a compact 4 × 2 selector, no horizontal hunting. */
@media (max-width: 580px) {
  .class-switcher-wrap { bottom: 3px; padding: 0 8px; }
  .class-switcher {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px 8px; width: min(100%, 360px); overflow: visible;
    padding: 2px 3px 5px;
  }
  .class-thumb { min-width: 0; width: 100%; flex: none; gap: 2px; padding-bottom: 0; font-size: 9px; }
  .class-thumb img { width: 100%; height: 47px; }
  .class-visual { bottom: 137px; }
  .class-visual.is-druid { bottom: 137px; }
}

/* V6 — CTA clarity, full-scenery framing, uncropped character artwork and
   an original silent Steam-screenshot motion loop in the conversion bar. */
.hero-actions { margin-bottom: 0; }
.hero-actions .btn-hero { min-width: 275px; }
.cta-arrow {
  width: auto; height: auto; min-width: 15px;
  font: 900 24px/1 var(--font-game);
  transition: transform .2s ease;
}
.cta-arrow::before, .cta-arrow::after { content: none !important; }
.btn:hover .cta-arrow { transform: translateX(4px); }

/* The background is shown in its original 16:9 framing; the softly filled
   scene behind it prevents letterbox stripes on ultra-wide viewports. */
.world-parallax-stage {
  background: #10273b url('./assets/world-wide.webp') center center/cover no-repeat;
}
.world-parallax-backdrop {
  inset: 0;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
.world-parallax-shade {
  background: linear-gradient(90deg,rgba(4,9,16,.78) 0%,rgba(4,9,16,.52) 34%,rgba(4,9,16,.06) 76%),
              linear-gradient(0deg,rgba(4,9,16,.45) 0%,transparent 36%,rgba(4,9,16,.08) 100%);
}
.world-parallax-adventurer {
  right: max(-8%,calc((100% - 1560px)/2));
  bottom: -5%; width: clamp(330px, 40vw, 590px);
  opacity: .9;
}

/* Use the full transparent class composition; no oversized zoom or cutting
   off weapons, hair or feet. A little more height on narrow viewports keeps
   the complete selected character readable above the portrait rail. */
.class-stage { height: clamp(550px,calc(100svh - 245px),700px); }
.class-stage-inner { padding-bottom: 122px; }
.class-visual { inset: 14px 1% 118px 40%; overflow: visible; }
.class-visual img {
  object-fit: contain; object-position: center bottom;
  transform: translate3d(var(--class-shift,0px),var(--class-lift,0px),0)
             rotate(var(--class-tilt,0deg)) scale(.94);
  transform-origin: 50% 72%;
}
.class-visual.is-druid { inset: 26px 1% 118px 40%; }
.class-visual.is-druid img {
  object-fit: contain; object-position: center center;
  -webkit-mask-image: none; mask-image: none;
  transform: translate3d(var(--class-shift,0px),var(--class-lift,0px),0)
             rotate(var(--class-tilt,0deg)) scale(.94);
}

.how-steps .step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.how-steps .step strong { text-align: center; max-width: 260px; }
.how-steps .step-index { font-size: clamp(40px,4.5vw,54px); }

.sticky-cta { isolation: isolate; overflow: hidden; background: #111d2b url('./assets/world-wide.webp') center 55%/cover no-repeat; }
.sticky-cta-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  display: block; object-fit: cover; object-position: 50% 52%;
  pointer-events: none; opacity: .72;
}
.sticky-cta-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,rgba(6,9,16,.93),rgba(6,9,16,.63) 48%,rgba(6,9,16,.85));
}
.sticky-cta-inner { position: relative; z-index: 1; }
.sticky-cta-button { box-shadow: 0 5px 25px rgba(255,197,93,.35); }

@media (max-width: 860px) {
  .world-parallax-backdrop { background-size: cover; background-position: 57% center; }
  .world-parallax-adventurer { right: -18%; bottom: -4%; width: min(68vw,570px); }
  .class-stage { height: clamp(610px,calc(100svh - 190px),730px); }
  .class-stage-inner { padding-top: 20px; padding-bottom: 128px; }
  .class-visual { inset: 105px -1% 119px 23%; }
  .class-visual.is-druid { inset: 129px -1% 119px 20%; }
}
@media (max-width: 580px) {
  .hero-actions .btn-hero { width: 100%; min-width: 0; }
  .world-parallax-backdrop { background-size: cover; background-position: 57% center; }
  .world-parallax-adventurer { width: 80vw; right: -23%; bottom: -3%; opacity: .82; }
  .world-parallax-shade { background: linear-gradient(90deg,rgba(4,9,16,.77),rgba(4,9,16,.24)),linear-gradient(0deg,rgba(4,9,16,.53),transparent 65%); }
  .class-stage { height: clamp(625px,85svh,735px); }
  .class-stage-inner { padding-top: 22px; padding-bottom: 128px; }
  .class-stage-content { width: 100%; }
  .class-visual, .class-visual.is-druid { inset: 192px -2% 145px 1%; }
  .class-visual img { transform: translate3d(var(--class-shift,0px),var(--class-lift,0px),0) rotate(var(--class-tilt,0deg)) scale(.97); }
  .class-visual.is-druid img { transform: scale(.98); }
  .class-switcher-wrap { bottom: 6px; }
  .how-steps .step { padding: 13px 5px 9px; }
  .how-steps .step-index { font-size: 39px; }
  .sticky-cta-video { object-position: center center; }
  .sticky-cta-button .cta-arrow { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta-video { display: none; }
}

/* Keep the interactive class portraits above the fixed conversion ribbon.
   Like Black Desert, the portrait rail may overlap the lower character art. */
@media (min-width: 861px) {
  .class-switcher-wrap { bottom: 132px; }
}
@media (min-width: 581px) and (max-width: 860px) {
  .class-switcher-wrap { bottom: 100px; }
}
@media (max-width: 580px) {
  .class-stage { height: clamp(700px,90svh,790px); }
  .class-visual, .class-visual.is-druid { inset: 192px -2% 190px 1%; }
  .class-switcher-wrap { bottom: 82px; }
}
@media (max-width: 580px) {
  /* Both portrait rows stay tappable above the persistent CTA on phones. */
  .class-switcher-wrap { bottom: 166px; }
  .class-switcher-wrap::before {
    content: ""; position: absolute; z-index: -1;
    inset: -14px 0 -12px; pointer-events: none;
    background: linear-gradient(0deg, rgba(10,12,18,.82), rgba(10,12,18,.34) 65%, transparent);
  }
}


/* V7 — class artwork and button never sit behind the selector; the selector
   is a separate in-flow strip following the character scene. */
.class-section { padding-bottom: 34px; }
.class-stage { height: clamp(450px, calc(100svh - 320px), 610px); min-height: 0; overflow: hidden; border-bottom: 0; }
.class-stage-inner { height: 100%; min-height: 0; padding-bottom: 0; }
.class-stage-content { padding-bottom: 0; }
.class-visual, .class-visual.is-druid {
  inset: 24px 1% 2px 39%; overflow: hidden;
}
.class-visual img, .class-visual.is-druid img {
  object-fit: contain; object-position: center bottom;
  transform: translate3d(var(--class-shift,0px),var(--class-lift,0px),0)
             rotate(var(--class-tilt,0deg)) scale(.92);
  transform-origin: center bottom;
}
.class-visual.is-druid img { object-position: center center; }
.class-switcher-wrap {
  position: relative; inset: auto !important; bottom: auto !important;
  z-index: 6; padding: 14px 18px 8px;
  background: linear-gradient(180deg, #17161b 0%, #0e1017 100%);
  border-bottom: 1px solid rgba(226,189,114,.22);
}
.class-switcher-wrap::before { content: none !important; }
.class-switcher { margin: 0 auto; }
/* Maintain room below the picker when the fixed campaign CTA is visible. */
.class-section { padding-bottom: 126px; }
.class-play { position: relative; z-index: 3; }
/* Terms note centered under the three installation steps. */
.how-box .fineprint { text-align: center; margin-inline: auto; max-width: 960px; }
/* Taller conversion bar, without the unwanted line above it. */
.sticky-cta {
  min-height: 112px; display: flex; align-items: center;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  border-top: 0 !important;
}
.sticky-cta-inner { min-height: 78px; }
/* No decorative chevrons or arrows on any purchase CTA. */
[data-cta] .cta-arrow { display: none !important; }
footer .footer-inner { align-items: center; }
@media (max-width: 860px) {
  .class-stage { height: clamp(510px, calc(100svh - 255px), 660px); }
  .class-stage-inner { padding: 23px 0 0; align-items: flex-start; }
  .class-stage-content { padding: 0; width: min(430px, 76%); }
  .class-visual, .class-visual.is-druid { inset: 126px 0 0 24%; }
  .class-switcher-wrap { padding: 14px 10px 10px; }
  .sticky-cta { min-height: 104px; padding: 13px 0 calc(13px + env(safe-area-inset-bottom)); }
  .sticky-cta-inner { min-height: 75px; }
  .class-section { padding-bottom: 112px; }
}
@media (max-width: 580px) {
  .class-stage { height: clamp(520px, 75svh, 650px); }
  .class-stage-inner { padding: 24px 0 0; }
  .class-stage-content { width: 100%; }
  .class-visual, .class-visual.is-druid { inset: 225px -1% 0 0; }
  .class-visual img, .class-visual.is-druid img { transform: scale(.93); }
  .class-switcher-wrap { padding: 10px 8px 12px; }
  .class-switcher { gap: 6px 8px; }
  .class-section { padding-bottom: 110px; }
  .sticky-cta { min-height: 94px; padding: 11px 0 calc(11px + env(safe-area-inset-bottom)); }
  .sticky-cta-inner { min-height: 66px; }
}


/* V8 — The header is for navigation and locale selection, not another CTA. */
.header-inner nav { margin-inline: auto; }
.header-inner .lang-control { margin-left: auto; }
.lang-control select {
  min-width: 146px; max-width: min(180px, 39vw);
  border-color: rgba(246, 200, 109, .78);
  box-shadow: 0 0 0 1px rgba(246,200,109,.08);
  background-color: #141a23;
  color: #fffbea;
  font-size: 13px;
  padding-block: 12px;
}
.lang-control select:hover { border-color: #ffe091; }
@media (max-width: 580px) {
  .lang-control select { min-width: 114px; max-width: 138px; padding: 9px 20px 9px 8px; font-size: 12px; }
}

/* V9 — Full-bleed conversion banner, 87px high everywhere on desktop.
   The original 1339 × 87 content canvas is retained as the maximum layout width;
   its moving image, dark shade, and click-safe bar extend to BOTH screen edges. */
.sticky-cta {
  left: 0; right: 0; width: 100%;
  height: 87px; min-height: 87px; padding: 0;
  border: 0 !important; border-radius: 0;
  transform: translate3d(0, 115%, 0);
}
.sticky-cta.is-visible { transform: translate3d(0, 0, 0); }
.sticky-cta-inner {
  width: min(calc(100% - 52px), 1339px);
  height: 100%; min-height: 0;
}
.sticky-cta-button { min-height: 48px; padding-block: 11px; }
@media (max-width: 580px) {
  .sticky-cta {
    width: 100%; height: calc(87px + env(safe-area-inset-bottom));
    min-height: 87px; padding: 0 0 env(safe-area-inset-bottom);
    border-radius: 0;
  }
  .sticky-cta-inner { width: calc(100% - 24px); height: 100%; min-height: 0; }
  .sticky-cta-button { min-height: 44px; }
}

/* V8 — 1:1 promotion modal, constrained by both viewport dimensions.
   Smaller layouts may scroll the message internally rather than crop the CTA. */
.promo-panel {
  --popup-side: min(650px, calc(100vw - 36px), calc(100svh - 36px));
  width: var(--popup-side); height: var(--popup-side);
  min-height: 0; max-height: none; flex: none; aspect-ratio: 1 / 1;
}
.promo-content { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 580px), (max-height: 580px) {
  .promo-content { padding: clamp(14px, 3vw, 22px); }
  .promo-eyebrow { font-size: 10px; letter-spacing: .08em; }
  .promo-content h2 { font-size: clamp(21px, 5.7vw, 31px); margin: 10px 0 8px; line-height: 1.06; }
  .promo-content p { font-size: 12px; line-height: 1.35; margin-bottom: 12px; }
  .promo-button { min-width: 0; width: 100%; min-height: 44px; padding: 10px; font-size: 15px; }
  .promo-proof { margin-top: 9px; font-size: 10px; gap: 5px; }
}
@media (max-width: 390px), (max-height: 390px) {
  .promo-proof { display: none; }
  .promo-content h2 { font-size: clamp(19px, 5.8vw, 24px); }
  .promo-content p { font-size: 11px; line-height: 1.25; }
}

/* V10 — Publication spacing pass.
   Replace the inherited V4–V9 oversized chapter gutters with a consistent,
   responsive rhythm while keeping the cinematic hero, 1339 × 87 full-width
   ribbon, class selector, game art, and Steam CTAs intact. */
:root { --chapter-space: clamp(48px, 5.2vw, 72px); }
.trust-strip { padding-block: 17px 16px; }
.trust-item { padding-block: 8px; }
.section-pad { padding-top: var(--chapter-space); }
#highlights { padding-top: clamp(38px, 4.7vw, 62px); }
.feature-grid { gap: clamp(12px, 1.25vw, 18px); }
.feature-card { min-height: clamp(405px, 34vw, 475px); }
/* Remove the leftover buffer previously reserved for a bottom banner that is
   now fixed outside the class section rather than overlapping the selector. */
.class-section { padding-top: clamp(24px, 2.8vw, 36px); padding-bottom: 35px; }
.class-switcher-wrap { padding-block: 12px 10px; }
#screenshots { padding-top: var(--chapter-space); }
.section-intro { margin-bottom: 35px; }
.how-box {
  margin-top: clamp(45px, 4.2vw, 65px);
  padding: clamp(44px, 4.3vw, 60px) clamp(30px, 5vw, 70px);
}
.how-steps { margin-top: 36px; margin-bottom: 20px; }
#faq { padding-top: var(--chapter-space); }
#faq .section-intro { margin-bottom: 23px; }
.last-cta {
  margin-top: clamp(46px, 4.5vw, 66px);
  min-height: 390px;
  padding: 60px 26px;
}
footer { padding-top: 28px; padding-bottom: calc(95px + env(safe-area-inset-bottom)); }
@media (min-width: 861px) {
  .world-parallax, .world-parallax-stage, .world-parallax-copy {
    min-height: clamp(570px, 75svh, 740px);
  }
  .gallery-main { min-height: 535px; }
  .gallery-side .gallery-tile { min-height: 262px; }
}
@media (max-width: 860px) {
  :root { --chapter-space: clamp(44px, 6vw, 62px); }
  #highlights { padding-top: 44px; }
  .feature-card { min-height: 430px; }
  .class-section { padding-top: 26px; padding-bottom: 28px; }
  .how-box { margin-top: 50px; padding: 44px 30px; }
  .last-cta { margin-top: 50px; min-height: 380px; padding: 56px 24px; }
  footer { padding-top: 26px; padding-bottom: calc(95px + env(safe-area-inset-bottom)); }
}
@media (max-width: 580px) {
  :root { --chapter-space: 42px; }
  .trust-strip { padding-block: 11px 12px; }
  .trust-item { padding-block: 6px; }
  #highlights { padding-top: 34px; }
  .feature-card { min-height: 375px; }
  .feature-grid { gap: 12px; }
  .section-intro { margin-bottom: 24px; }
  .class-section { padding-top: 22px; padding-bottom: 22px; }
  .class-switcher-wrap { padding-block: 8px 8px; }
  #screenshots, #faq { padding-top: 42px; }
  .gallery-side .gallery-tile { min-height: 205px; }
  .how-box { margin-top: 42px; padding: 34px 20px; }
  .how-steps { margin-top: 27px; margin-bottom: 16px; }
  .last-cta { margin-top: 42px; min-height: 345px; padding: 47px 18px; }
  footer { padding-top: 23px; padding-bottom: calc(95px + env(safe-area-inset-bottom)); }
}
/* Section headings use their own shorter gap, not the generic intro spacing. */
.class-heading { margin-bottom: 14px; }
@media (max-width: 860px) { .class-heading { margin-bottom: 12px; } }
@media (max-width: 580px) { .class-heading { margin-bottom: 10px; } }
