/* Чёрный вариант: строгая сетка, тонкие линии, жёлтый акцент; цвета — тёмно-синие, как у варианта «Состав». */

:root {
  --bg: #09152a;
  --bg-2: #0e1c37;
  --bg-3: #132447;
  --line: rgba(150, 170, 255, .16);
  --ink: #f3f1ea;
  --muted: #97a3c0;
  --yellow: #ffd21e;
  --black: #07101f;
  --sep: #33415f;
  --r: 6px;   /* лёгкое скругление: кнопки, бейджи, карточки, портреты */
  --r-sm: 4px; /* мелкие плашки */
  --f-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.mob { display: none; }

/* ---------- общие детали ---------- */

.h {
  font: 700 clamp(44px, 5.2vw, 92px)/.92 var(--f-head); text-transform: uppercase; letter-spacing: .005em;
}
.h--md { font-size: clamp(30px, 3.4vw, 54px); }
.sub { margin-top: 14px; color: var(--muted); font-size: 17px; }

.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.6vw, 34px);
  font: 500 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #c9cdd5;
}
.label b { font-weight: 500; color: var(--yellow); }
.label b::after { content: "—"; margin-left: 12px; color: var(--muted); }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 9px 5px; background: var(--yellow); color: var(--black);
  font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.tag svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.tag--grey { background: #26324d; color: #c3cbe0; }
/* подпись без плашки: жёлтый квадратик и моноширинный текст */
.tag--plain { padding: 0; background: none; color: #c9cfe0; }
.tag--cls { padding: 0; background: none; color: var(--ink); font-size: 13px; }
.tag--cls svg { stroke: var(--yellow); }

.bar { display: block; width: 64px; height: 6px; margin: 26px 0 22px; background: var(--yellow); }

.btn, .btn-y, .btn-line, .btn-neon {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border: 2px solid; white-space: nowrap;
  font: 600 16px/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .15s, border-color .15s, color .15s, filter .15s;
}
.btn svg, .btn-y svg, .btn-line svg { width: 18px; height: 18px; }
.btn--y, .btn-y, .btn-neon { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn--line, .btn-line { background: rgba(9, 21, 42, .55); color: var(--ink); border-color: rgba(243, 241, 234, .7); }
.btn--line svg path[fill="currentColor"], .btn-line svg path[fill="currentColor"] { fill: var(--yellow); }
.btn--y:hover, .btn-y:hover, .btn-neon:hover { filter: brightness(1.08); }
.btn--line:hover, .btn-line:hover { border-color: var(--yellow); color: var(--yellow); }
.btn:active, .btn-y:active, .btn-line:active, .btn-neon:active { filter: brightness(.92); }
.btn--lg { padding: 19px 30px; font-size: 18px; }
.btn--lg svg { width: 22px; height: 22px; }
.btn--sm, .btn-line--sm { padding: 10px 16px; font-size: 14px; }

.card { position: relative; background: var(--bg-2); border: 1px solid var(--line); }

.sec { position: relative; overflow-x: clip; padding: clamp(56px, 6.5vw, 104px) 0; }
.sec > .wrap { position: relative; z-index: 1; }

/* лёгкое скругление углов — одним правилом для всех «коробок» интерфейса */
.btn, .btn-y, .btn-line, .btn-neon, .badge, .card, .store-card, .faq__list details[open], .mode__media, .mode__media video,
.pick, .pick img, .lg, .step--top, .qr img, .player, .player video, .heroes__arrow, .show__play { border-radius: var(--r); }
.tag, .pick__badge, .store-card__badge, .step--top::after, .foot__age, .show__live { border-radius: var(--r-sm); }
.pick, .lg, .mode__media { overflow: hidden; }
.pick[aria-selected="true"] { overflow: visible; }
.pick img { border-radius: calc(var(--r) - 2px); }

/* ---------- шапка ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(8, 17, 34, .8); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 52px); margin: 0 auto; font: 500 17px/1 var(--f-head); letter-spacing: .03em; }
.nav__links a, .nav__lang a { transition: color .15s; }
.nav__links a:hover, .nav__lang a:hover { color: var(--yellow); }
.nav__lang { display: flex; gap: 12px; align-items: center; font: 500 16px/1 var(--f-head); color: var(--muted); }
.nav__lang [aria-current] { color: var(--ink); }
.nav__lang span { color: var(--sep); }
.nav__lang-mob, .nav__burger, .menu { display: none; }

/* ---------- первый экран ---------- */

/* по центру внизу поверх арта: логотип, слоган, главная кнопка, магазины.
   Арт — три слоя на общей «сцене» 16:9 (фон арены, огромное «OSA», герои), сцена растягивается как cover,
   поэтому буквы всегда стоят за героями одинаково */
.hero { --hh: max(640px, 100svh); position: relative; isolation: isolate; height: var(--hh); display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 6vh, 72px); }
.hero__art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__stage { --sw: max(100vw, calc(var(--hh) * 16 / 9)); position: absolute; left: calc(50% - var(--sw) / 2); top: calc((var(--hh) - var(--sw) * 9 / 16) * .3); width: var(--sw); aspect-ratio: 16 / 9; }
.hero__layer, .hero__layer img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* буквы — плотные, с отступом от шапки; фон под ними притемнён, чтобы свет арены не «съедал» белый */
.hero__layer:first-child::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 32%, rgba(9, 21, 42, .55), rgba(9, 21, 42, .2) 70%); }
.hero__word { position: absolute; left: 50%; top: 12%; width: 60%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
/* на ПК герои в слое крупные — уменьшаем от низа, чтобы буквы читались над головами */
.hero__cast { transform: scale(.86); transform-origin: 50% 100%; }
.hero__cast img { filter: drop-shadow(0 14px 30px rgba(4, 10, 24, .45)); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(9, 21, 42, .88) 16%, rgba(9, 21, 42, .45) 36%, transparent 54%),
    linear-gradient(180deg, rgba(9, 21, 42, .6) 0%, transparent 16%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(9, 21, 42, .55) 100%);
}
.hero__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* эмблема с линиями по бокам: огромное «OSA» уже есть за героями, поэтому без надписи */
.hero__mark { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.hero__mark::before, .hero__mark::after { content: ""; width: clamp(56px, 9vw, 150px); height: 2px; margin-top: 18%; background: linear-gradient(90deg, transparent, var(--yellow)); }
.hero__mark::after { background: linear-gradient(-90deg, transparent, var(--yellow)); }
.hero__mark img { width: clamp(72px, min(6.4vw, 11vh), 120px); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(120, 90, 255, .35)); }
.hero__tagline { margin-top: clamp(12px, 2vh, 22px); color: #eef0f5; font: 500 clamp(15px, 1.15vw, 19px)/1.35 var(--f-head); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }

/* бейджи магазинов: главный — жёлтый (RuStore у русской версии, APK у английской) */
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: clamp(20px, 3.2vh, 34px); }
.badge {
  display: flex; align-items: center; gap: 14px; min-width: 210px; height: 72px; padding: 0 24px 0 16px; text-align: left;
  border: 1px solid var(--yellow); background: rgba(9, 21, 42, .72); color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s, filter .15s;
}
.badge__ic { display: grid; place-items: center; width: 40px; height: 40px; color: var(--yellow); }
.badge__ic svg { width: 36px; height: 36px; }
.badge__t { display: flex; flex-direction: column; gap: 3px; }
.badge small { font: 400 13px/1 var(--f-body); color: inherit; opacity: .85; }
.badge b { font: 600 22px/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
a.badge:hover { background: rgba(255, 210, 30, .12); }
html[lang="ru"] .badge--rustore, html[lang="en"] .badge--apk { background: var(--yellow); color: var(--black); box-shadow: 0 10px 36px rgba(255, 210, 30, .28); }
html[lang="ru"] .badge--rustore:hover, html[lang="en"] .badge--apk:hover { background: var(--yellow); filter: brightness(1.08); }
html[lang="ru"] .badge--rustore .badge__ic, html[lang="en"] .badge--apk .badge__ic { color: var(--black); }
.badge--rustore .badge__ic svg rect { fill: var(--black); }
.badge--rustore .badge__ic svg path { fill: var(--yellow); }
html[lang="en"] .badge--rustore .badge__ic svg rect { fill: var(--yellow); }
html[lang="en"] .badge--rustore .badge__ic svg path { fill: var(--black); }
html[lang="en"] .hero__badges .badge--apk { order: -1; }
.badge.is-soon { border-color: rgba(243, 241, 234, .2); color: #8f99b2; cursor: default; }
.badge.is-soon .badge__ic { color: #8f99b2; }
.badge.is-soon b { font: 500 18px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: #b4bccf; }

/* ---------- об игре: арена во всю ширину, текст и факты слева поверх картинки ---------- */

.scene { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(56.25vw, 100svh); padding: 120px 0 clamp(48px, 6vw, 96px); overflow: hidden; }
.scene__art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 62%, var(--bg) 100%),
    linear-gradient(90deg, rgba(9, 21, 42, .95) 0%, rgba(9, 21, 42, .8) 24%, rgba(9, 21, 42, .3) 38%, transparent 48%);
}
.scene__in > * { max-width: 560px; }
.scene .h { max-width: 720px; font-size: clamp(40px, 4.2vw, 76px); }
.scene .lead { max-width: 25em; font-size: 17px; }
.scene .facts li { border-color: rgba(150, 170, 255, .22); }

/* ---------- трейлер: эфир на табло стадиона ---------- */

.show { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(56.25vw, 100svh); padding: 100px 0; overflow: hidden; }
.show__art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.show::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 14%, transparent 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(9, 21, 42, .92) 0%, rgba(9, 21, 42, .7) 22%, rgba(9, 21, 42, .15) 36%, transparent 42%);
}
.show__in { pointer-events: none; }
.show__in > * { max-width: 520px; pointer-events: auto; }
.show__in .label { max-width: 420px; }
.show .h, .scene .h { text-wrap: balance; }
/* экран натягивается скриптом на табло по четырём углам (matrix3d); до этого его не видно — в картинке уже есть заставка */
.show__screen { position: absolute; left: 0; top: 0; z-index: 0; width: 1280px; height: 720px; transform-origin: 0 0; opacity: 0; transition: opacity .3s; background: #000; overflow: hidden; }
.show__screen.is-placed { opacity: 1; }
.show__screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* «Эфир» и кнопка — отдельный слой поверх экрана: видео внутри 3D-трансформации браузеры рисуют своим слоем, и он может перекрыть всё, что внутри экрана.
   Скрипт ставит их в нужные точки табло и масштабирует под его размер (--k) */
.show__live, .show__play { position: absolute; left: 0; top: 0; z-index: 2; transform-origin: 0 0; opacity: 0; transition: opacity .3s; }
.show.is-placed .show__live, .show.is-placed .show__play { opacity: 1; }
.show__live {
  display: flex; align-items: center; gap: 14px; padding: 14px 22px 13px; pointer-events: none;
  background: #e8203b; color: #fff; font: 600 38px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.show__live::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fff; animation: live 1.2s steps(2) infinite; }
@keyframes live { 50% { opacity: .2; } }
.show__play { display: grid; place-items: center; width: 150px; height: 150px; margin: -75px 0 0 -75px; transform-origin: 50% 50%; background: var(--yellow); color: var(--black); transition: opacity .3s, filter .15s; }
.show__play svg { width: 44px; height: 52px; margin-left: 8px; }
.show__play:hover, .show__screen:hover ~ .show__play { filter: brightness(1.08); }
.show__cap { display: inline-flex; align-items: center; gap: 12px; color: #c9cfe0; font: 500 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.show__cap svg { width: 16px; height: 18px; color: var(--yellow); }
.show__cap:hover { color: var(--ink); }

.lead { max-width: 34em; color: #cfd3db; font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.facts li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 6px 12px; border-left: 1px solid var(--line); text-align: center; }
.facts li:last-child { border-right: 1px solid var(--line); }
.facts .ic { display: grid; place-items: center; width: 48px; height: 48px; }
.facts svg { width: 38px; height: 38px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linejoin: round; }
.facts b { font: 600 18px/1.15 var(--f-head); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- герои ---------- */

.heroes__stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center; margin-top: 12px; }
.heroes__figure { position: relative; height: clamp(420px, 38vw, 600px); margin-top: 20px; display: flex; justify-content: center; align-items: flex-end; }
.beam {
  position: absolute; left: 50%; top: -12%; bottom: 0; width: min(76%, 460px); transform: translateX(-50%); pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(120, 135, 220, .2) 30%, rgba(170, 185, 255, .3) 50%, rgba(120, 135, 220, .2) 70%, transparent);
  -webkit-mask-image: radial-gradient(50% 58% at 50% 45%, #000 35%, transparent); mask-image: radial-gradient(50% 58% at 50% 45%, #000 35%, transparent);
  transition: filter .25s, opacity .25s;
}
.heroes__figure::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -2%; height: 9%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.heroes__img { position: relative; z-index: 1; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
.heroes__img.is-mystery { filter: brightness(0) drop-shadow(0 0 22px rgba(80, 255, 120, .75)); }
.heroes__figure.is-switching .beam { filter: brightness(2.2); }
.heroes__figure.is-switching .heroes__img { animation: hero-out .25s ease-in forwards; }
.heroes__figure.is-in .heroes__img { animation: hero-in .45s ease-out both; }
@keyframes hero-out { to { opacity: 0; transform: translateY(-10px); filter: brightness(3) blur(3px); } }
@keyframes hero-in {
  0% { opacity: 0; transform: translateY(-14px); filter: brightness(3) blur(4px); }
  60% { opacity: 1; filter: brightness(1.3) blur(0); }
  100% { opacity: 1; transform: none; }
}
.heroes__arrow { display: none; }

.heroes__info { display: flex; flex-direction: column; align-items: flex-start; }
.heroes__name { font-size: clamp(60px, 7.4vw, 128px); }
.tag--cls { margin-top: 10px; font-size: 16px; }
.heroes__desc { align-self: stretch; margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 36em; color: #cfd3db; font-size: 17px; }
.btn.is-off { opacity: .55; cursor: default; pointer-events: none; }

.picks { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(10px, 1.6vw, 26px); margin-top: clamp(32px, 4vw, 56px); padding-top: 32px; border-top: 1px solid var(--line); counter-reset: p; }
.picks li { display: flex; flex-direction: column; gap: 10px; counter-increment: p; }
.picks li::before { content: counter(p, decimal-leading-zero); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.picks li:has([aria-selected="true"])::before { color: var(--yellow); }
.pick { position: relative; display: block; width: 100%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .25); transition: border-color .15s; }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick:hover { border-color: var(--yellow); }
.pick[aria-selected="true"] { border: 2px solid var(--yellow); }
.pick[aria-selected="true"]::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -12px; height: 3px; background: var(--yellow); }
.pick__badge { position: absolute; top: 6px; right: 6px; padding: 4px 6px 3px; background: #e8203b; color: #fff; font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.pick__q { display: none; }
.pick__lock { position: absolute; right: 6px; bottom: 6px; width: 15px; height: 15px; color: #e6ffe9; }

/* ---------- режимы ---------- */

.modes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 2.6vw, 40px); margin-top: clamp(28px, 3.4vw, 48px); }
.mode { display: flex; flex-direction: column; }
.mode__media { margin: 16px 16px 0; border: 1px solid var(--line); }
.mode__media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.mode__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 26px 28px 24px; }
.mode__title { margin-top: 10px; font-size: clamp(40px, 4.4vw, 72px); }
.mode__body > .mode__title:first-child { margin-top: 0; }
.mode__sub { margin-top: 12px; font: 500 14px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--yellow); }
.mode__text { margin-top: 14px; color: #c6cad3; max-width: 36em; }
.mode__foot { align-self: stretch; display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font: 500 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #c9cdd5; }
.mode__text + .mode__foot { margin-top: 24px; }
.mode__foot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- лиги ---------- */

.lg { display: grid; grid-template-columns: repeat(8, 1fr); margin-top: clamp(28px, 3.4vw, 48px); border: 1px solid var(--line); counter-reset: l; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 8px 24px; border-right: 1px solid var(--line); counter-increment: l; }
.step:last-child { border-right: 0; }
.step img { width: clamp(62px, 6vw, 104px); height: clamp(62px, 6vw, 104px); object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); transition: transform .2s; }
.step:hover img { transform: translateY(-4px) scale(1.05); }
.step__base { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step__base::before { content: counter(l, decimal-leading-zero); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.step__base::after { content: ""; order: 1; width: 18px; height: 2px; background: var(--yellow); }
.step__pos { display: none; }
.step__name { order: 2; font: 600 clamp(14px, 1.2vw, 19px)/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .03em; text-align: center; }
.step--top { z-index: 1; margin: -1px; border: 2px solid var(--yellow); background: var(--bg-2); }
.step--top::after {
  content: var(--top); position: absolute; top: 10px; right: 10px; padding: 5px 7px 4px; background: var(--yellow); color: var(--black);
  font: 500 10px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em;
}
.lg__progress { display: block; height: 3px; margin-top: 28px; background: linear-gradient(90deg, var(--sep) 0 68%, var(--yellow) 68%); }

.prog { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.prog li { display: flex; align-items: center; gap: 22px; padding: 4px clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.prog li:first-child { padding-left: 0; border-left: 0; }
.prog svg { width: 52px; height: 52px; fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linejoin: round; }
.prog svg .fill { fill: var(--yellow); stroke: none; }
.prog h3 { font: 600 clamp(20px, 1.8vw, 28px)/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.prog p { margin-top: 6px; color: var(--muted); }

/* ---------- скачать ---------- */

.download { overflow: hidden; }
.download__light {
  position: absolute; right: 2%; top: 0; bottom: 0; width: min(36vw, 560px); pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(120, 135, 220, .16) 30%, rgba(170, 185, 255, .24) 50%, rgba(120, 135, 220, .16) 70%, transparent);
  -webkit-mask-image: radial-gradient(50% 60% at 50% 40%, #000 30%, transparent); mask-image: radial-gradient(50% 60% at 50% 40%, #000 30%, transparent);
}
.download__hero { position: absolute; right: max(var(--pad), calc((100vw - 1480px) / 2 + var(--pad))); bottom: 0; height: min(90%, 720px); width: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
.download .wrap > * { max-width: min(1080px, calc(100% - 380px)); }
.dl { display: grid; grid-template-columns: 190px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: 20px; align-items: stretch; margin-top: clamp(32px, 4vw, 56px); }
.qr { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.qr img { width: 100%; height: auto; padding: 8px; background: #fff; }
.qr figcaption { display: flex; gap: 10px; font-size: 14px; line-height: 1.3; }
.qr figcaption svg { width: 22px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.qr figcaption b { display: block; font-weight: 500; }
.qr figcaption span { font: 500 11px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qr figcaption span b { font: 500 14px/1.3 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 4px; }
.store-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 26px 20px; }
.store-card--main { border: 2px solid var(--yellow); }
.store-card__head { display: flex; align-items: center; gap: 12px; font: 600 21px/1.15 var(--f-body); }
.store-card__head svg { width: 36px; height: 36px; }
.store-card__sub { font: 500 13px/1.4 var(--f-mono); letter-spacing: .05em; color: var(--muted); }
.store-card .btn-y, .store-card .btn-line { margin-top: 8px; align-self: stretch; }
.store-card__link { align-self: center; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.store-card__link:hover { color: var(--ink); }
.store-card__badge {
  position: absolute; top: -12px; left: 18px; padding: 6px 9px 5px; background: var(--yellow); color: var(--black);
  font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.soon { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.store-card.is-soon { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 16px 18px; box-shadow: none; color: #a8adb8; }
.store-card.is-soon .store-card__head { font-size: 17px; white-space: nowrap; }
.store-card.is-soon .store-card__head svg { width: 26px; height: 26px; opacity: .8; }
.store-card.is-soon .tag { font-size: 12px; }

/* ---------- вопросы ---------- */

.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.faq__head .sub { margin: 12px 0 18px; }
.faq__head .btn svg { width: 18px; height: 18px; }
.faq__list details { border-bottom: 1px solid var(--line); transition: background-color .2s; }
.faq__list summary {
  position: relative; display: block; padding: 22px 56px 22px 0; cursor: pointer; list-style: none;
  font: 500 clamp(20px, 1.8vw, 26px)/1.2 var(--f-head); letter-spacing: .01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 300 34px/1 var(--f-body); color: var(--ink); }
.faq__list summary:hover { color: var(--yellow); }
.faq__list details[open] { position: relative; z-index: 1; margin-bottom: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.faq__list details[open] summary { padding-left: 24px; }
.faq__list details[open] summary::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 5px; background: var(--yellow); }
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { padding: 0 32px 24px 24px; color: #cfd3db; }

/* ---------- подвал ---------- */

.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 36px; }
.foot__logo img { height: 96px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; padding-left: 36px; border-left: 1px solid var(--line); font-size: 14px; color: #c6cad3; }
.foot__links a { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border-left: 1px solid var(--line); }
.foot__links a:first-child { padding-left: 0; border-left: 0; }
.foot__links a:hover { color: var(--yellow); }
.foot__links svg { width: 18px; height: 18px; }
.foot__age { align-self: center; margin-left: auto; padding: 5px 8px 4px; background: none; border: 1px solid var(--sep); color: #c3cbe0; font-size: 13px; }
.foot__copy { font: 500 13px/1 var(--f-mono); color: var(--muted); }

/* ---------- плеер трейлера ---------- */

.player { width: min(1200px, 94vw); padding: 0; margin: auto; overflow: visible; border: 1px solid var(--line); background: #000; color: #fff; }
.player::backdrop { background: rgba(4, 10, 22, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player__close { position: absolute; right: -2px; top: -52px; width: 44px; height: 44px; font: 400 40px/1 var(--f-body); color: #fff; }

/* ---------- юридические страницы и 404 ---------- */

.legal-page { min-height: 100vh; }
.legal-top { border-bottom: 1px solid var(--line); }
.legal-top__in { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.legal-top__logo img { height: 56px; width: auto; }
.legal-top__back { font: 500 16px var(--f-head); letter-spacing: .03em; color: #c6cad3; }
.legal-top__back:hover { color: var(--yellow); }
.legal { max-width: 860px; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 96px); color: #d2d6de; line-height: 1.7; }
.chrome { font: 700 clamp(36px, 5vw, 64px)/1 var(--f-head); text-transform: uppercase; margin-bottom: 30px; }
.legal__date { color: var(--muted); font-size: 14px; }
.legal h2 { margin: 32px 0 8px; font: 600 24px/1.2 var(--f-head); text-transform: uppercase; color: #fff; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--yellow); text-decoration: underline; }
.legal .btn-neon { margin-top: 28px; text-decoration: none; color: var(--black); }
.vhs { display: none; }

/* ---------- планшеты ---------- */

@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .faq__in { grid-template-columns: 1fr; }
  .download__hero, .download__light { display: none; }
  .download .wrap > * { max-width: none; }
  .dl { grid-template-columns: 200px 1fr 1fr; }
  .soon { grid-column: 2 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__links, .nav__lang { display: none; }
  .nav__dl { margin-left: auto; }
  .nav__lang-mob { display: block; padding: 8px 4px; font: 500 16px/1 var(--f-head); text-transform: uppercase; color: var(--muted); }
  .nav__burger { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; }
  .nav__burger i { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0; display: flex; flex-direction: column; padding: 8px var(--pad) 24px;
    background: rgba(8, 17, 34, .97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .menu a { padding: 15px 0; border-bottom: 1px solid var(--line); font: 600 24px/1 var(--f-head); text-transform: uppercase; letter-spacing: .03em; }
  .menu a:last-child { border: 0; color: var(--muted); font-size: 18px; }
  .menu-open .menu { opacity: 1; visibility: visible; transform: none; }
  .menu-open .nav__burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .nav__burger i:nth-child(2) { opacity: 0; }
  .menu-open .nav__burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .heroes__stage { grid-template-columns: 1fr; }
  .heroes__info { align-items: center; text-align: center; }
  .heroes__info .tag { align-self: center; }
  .heroes__desc { text-align: left; }
  .heroes__figure { height: clamp(380px, 70vw, 560px); }
  .heroes__arrow {
    position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; transform: translateY(-50%);
    background: rgba(9, 21, 42, .7); border: 1px solid rgba(243, 241, 234, .7);
  }
  .heroes__arrow svg { width: 12px; height: 20px; }
  .heroes__arrow--prev { left: 0; }
  .heroes__arrow--next { right: 0; }
  .modes__grid { grid-template-columns: 1fr; }
  .lg { grid-template-columns: repeat(4, 1fr); }
  .step:nth-child(4) { border-right: 0; }
  .step:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .prog { grid-template-columns: 1fr; gap: 26px; }
  .prog li { padding: 0; border: 0; }
}

/* ---------- телефоны и портретные экраны ---------- */

/* на телефоне арт — отдельной картинкой сверху, логотип наезжает на его низ, кнопки под ним */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .hero { display: block; min-height: 0; padding: 0 0 40px; }
  .hero::before { display: none; }
  .hero { --hh: auto; height: auto; }
  .hero__art { position: relative; z-index: 0; display: block; height: min(66svh, 150vw); margin-top: var(--nav-h); }
  /* сдвиг сцены: верх букв (24% высоты сцены) — на 10% высоты блока; но сцена не поднимается выше, чем нужно, чтобы закрыть блок снизу */
  .hero__stage { left: 0; width: 100%; aspect-ratio: 1170 / 2069; top: max(calc(min(66svh, 150vw) - 176.84vw), calc(min(66svh, 150vw) * .1 - 176.84vw * .24)); }
  .hero__word { top: 24%; width: 88%; }
  .hero__cast { transform: none; }
  .hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 3%, rgba(9, 21, 42, .75) 20%, transparent 42%); }
  .hero__in { position: relative; margin-top: -96px; }

  .scene { display: block; min-height: 0; padding: 0 0 8px; }
  .scene__art { position: relative; display: block; aspect-ratio: 1; max-height: 80svh; }
  .scene__art img { z-index: 0; object-position: 50% 50%; }
  .scene::before { display: none; }
  .scene__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 14%, transparent 60%, var(--bg) 98%); }
  .scene__in { position: relative; margin-top: -56px; }

  .show { display: block; min-height: 0; padding: 0 0 24px; }
  .show::before { display: none; }
  .show__art { position: relative; display: block; aspect-ratio: 1; max-height: 80svh; overflow: hidden; }
  .show__art img { z-index: 0; object-position: 50% 30%; }
  .show__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 72%, var(--bg) 99%); }
  .show__screen { z-index: 1; }
  .show__in { position: relative; margin-top: -40px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .nav__in { gap: 14px; }
  .nav__logo img { height: 34px; }
  .nav__dl { display: none; }
  .nav__lang-mob { margin-left: auto; }
  .desk { display: none; }
  .hero__mark img { width: 84px; }
  .hero__mark::before, .hero__mark::after { width: 64px; }
  .hero__tagline { font-size: 14px; letter-spacing: .14em; }
  .hero__badges { flex-direction: column; align-self: stretch; gap: 12px; margin-top: 22px; }
  .badge { min-width: 0; height: 64px; }
  .badge.is-soon { height: 52px; }
  .mob { display: inline; }

  .sec { padding: 64px 0; }
  .h { font-size: clamp(38px, 11vw, 56px); }
  .h--md { font-size: clamp(28px, 8vw, 40px); }
  .lead { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 26px 0; margin-top: 34px; }
  .facts li:nth-child(2) { border-right: 1px solid var(--line); }
  .facts li:nth-child(3) { border-left: 1px solid var(--line); }
  .facts b { font-size: 16px; }

  .heroes__figure { height: min(118vw, 520px); }
  .heroes__name { font-size: clamp(48px, 15vw, 72px); }
  .picks {
    display: flex; gap: 12px; margin: 28px calc(var(--pad) * -1) 0; padding: 26px var(--pad) 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .picks::-webkit-scrollbar { display: none; }
  .picks li { flex: 0 0 86px; scroll-snap-align: center; }

  .mode__media { margin: 10px 10px 0; }
  .mode__body { padding: 20px 18px 20px; }
  .step { padding: 16px 4px 14px; gap: 8px; }
  .step img { width: 52px; height: 52px; }
  .step__base { gap: 7px; }
  .step__name { font-size: 13px; }
  .step--top::after { top: 6px; right: 6px; font-size: 9px; padding: 4px 5px 3px; }
  .lg__progress { display: none; }
  .prog li { gap: 16px; }

  .dl { grid-template-columns: 1fr; }
  .qr { display: none; }
  .soon { grid-column: auto; grid-template-columns: 1fr 1fr; gap: 14px; }
  .store-card.is-soon { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .store-card.is-soon .store-card__head { font-size: 16px; }

  .faq__list summary { font-size: 20px; padding-right: 44px; }
  .faq__list details p { padding: 0 18px 20px 24px; }

  .foot__in { flex-direction: column; align-items: flex-start; }
  .foot__links { flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; border: 0; }
  .foot__links a { padding: 0; border: 0; }
  .foot__age { align-self: flex-start; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .heroes__figure.is-switching .heroes__img { animation: none; opacity: .3; }
  .heroes__figure.is-in .heroes__img { animation: none; }
}
