/* Лендинг pokeslime.com — база: токены, шрифты, шапка, кнопки «Играть», сторы, подвал.
   Вид — макет .superpowers/brainstorm/landing/b-full.html (common.css). Разделы дописывают свои стили ниже. */
:root {
  --ink: #fff8ec;
  --ink-dim: rgba(255, 248, 236, .72);
  --ink-faint: rgba(255, 255, 255, .4);
  --night: #0b0710;
  --night-deep: #07050a;
  --gold: #ffd25a;
  --gold-deep: #e39a1c;
  --tg: #2aabee;
  --tg-deep: #1689c9;
  --line: rgba(255, 255, 255, .08);
  --gutter: clamp(16px, 5vw, 64px);
  --font-display: 'Lilita One', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 500 16px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; }
.display, .sh { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── шапка: прозрачная над первым экраном, плотная (.solid) ниже — с золотой «Play now» */
.topbar {
  position: fixed; z-index: 30; left: 0; right: 0; top: 0;
  display: flex; align-items: center; gap: 28px;
  padding: calc(14px + env(safe-area-inset-top)) max(clamp(16px, 4vw, 48px), env(safe-area-inset-right)) 14px max(clamp(16px, 4vw, 48px), env(safe-area-inset-left));
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar.solid { background: rgba(10, 7, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.topbar .brand { display: block; flex: none; }
.topbar .mini-logo { height: 40px; width: auto; }
.topbar .nav { display: flex; gap: 26px; margin-left: auto; }
.topbar .nav a { color: var(--ink-dim); text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.topbar .nav a:hover, .topbar .nav a:focus-visible { color: var(--ink); }
.topbar .lang { font-weight: 800; font-size: 13px; color: var(--ink-dim); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 10px; border-radius: 999px; }
.topbar .play-mini {
  display: none; height: 40px; padding: 0 18px; border-radius: 12px; align-items: center;
  font: 400 17px/1 var(--font-display); color: #4a2300; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #fff1a8, var(--gold) 40%, var(--gold-deep)); box-shadow: 0 3px 0 #9a5a06;
}
.topbar.solid .play-mini { display: inline-flex; }
.topbar .burger { display: none; margin-left: auto; width: 40px; height: 40px; padding: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); cursor: pointer; }
.topbar .burger i { display: block; height: 2px; background: var(--ink); margin: 6px 10px; border-radius: 2px; transition: transform .25s, opacity .25s; }
.topbar.open .burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.topbar.open .burger i:nth-child(2) { opacity: 0; }
.topbar.open .burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 760px) {
  .topbar { gap: 12px; }
  .topbar .lang { display: none; }
  .topbar .burger { display: block; }
  .topbar .mini-logo { height: 34px; }
  /* на телефоне логотип шапки появляется только с плотной шапкой: над первым экраном — большой логотип */
  .topbar:not(.solid):not(.open) .brand { visibility: hidden; }
  .topbar.solid .play-mini { margin-left: auto; }
  .topbar.solid .burger { margin-left: 0; }
  .topbar .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 0; margin: 0;
    padding: 6px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
    background: rgba(10, 7, 16, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar.open { background: rgba(10, 7, 16, .94); }
  .topbar.open .nav { display: flex; }
  .topbar .nav a { padding: 14px 4px; font-size: 16px; border-top: 1px solid var(--line); }
  .topbar .nav a:first-child { border-top: 0; }
}

/* ── кнопки «Играть» */
.cta { display: flex; flex-direction: column; gap: 14px; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 64px; padding: 0 28px 0 22px; border-radius: 18px;
  font: 400 22px/1 var(--font-display); letter-spacing: .02em; color: #fff; text-decoration: none;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), filter .2s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn svg { width: 30px; height: 30px; flex: none; }
.btn small { display: block; font: 800 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.btn .t { display: flex; flex-direction: column; align-items: flex-start; }
.btn-tg {
  background: linear-gradient(180deg, #4cc3ff, var(--tg) 45%, var(--tg-deep));
  box-shadow: 0 6px 0 #0f5f8f, 0 14px 30px rgba(42, 171, 238, .45), inset 0 2px 0 rgba(255, 255, 255, .45);
}
.btn-web {
  color: #4a2300;
  background: linear-gradient(180deg, #fff1a8, var(--gold) 40%, var(--gold-deep));
  box-shadow: 0 6px 0 #9a5a06, 0 14px 30px rgba(255, 190, 60, .45), inset 0 2px 0 rgba(255, 255, 255, .7);
}
.btn-web small { color: #7a3f00; }
.cta-sm .btn { height: 52px; font-size: 18px; padding: 0 20px 0 16px; border-radius: 14px; }
.cta-sm .btn svg { width: 24px; height: 24px; }

/* ── сторы: без адреса — приглушены с «Coming soon» */
.stores { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px 0 12px; border-radius: 12px;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .18); color: var(--ink-dim);
  font-size: 13px; font-weight: 800; line-height: 1.05; text-decoration: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
a.store { color: var(--ink); border-color: rgba(255, 255, 255, .45); transition: border-color .2s, background .2s; }
a.store:hover { background: rgba(0, 0, 0, .65); border-color: var(--ink); }
.store[aria-disabled="true"] { cursor: default; }
.store svg { width: 20px; height: 20px; opacity: .8; flex: none; }
.store em { display: block; font-style: normal; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

@media (max-width: 760px) {
  .btn { height: 58px; font-size: 19px; padding: 0 20px 0 16px; flex: 1 1 0; justify-content: center; }
  .btn svg { width: 26px; height: 26px; }
  .ctas { width: 100%; gap: 10px; }
  .store { height: 38px; font-size: 12px; }
}
@media (max-width: 360px) {
  .btn { font-size: 17px; padding: 0 12px; gap: 8px; }
  .btn svg { width: 22px; height: 22px; }
}

/* ── каркас разделов */
.wrap { max-width: 1180px; margin: 0 auto; position: relative; }
.sect { position: relative; padding: clamp(72px, 11vw, 140px) var(--gutter); overflow: hidden; }
.sh { margin: 10px 0 14px; font-size: clamp(40px, 5.4vw, 72px); line-height: .95; text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.lead { max-width: 520px; color: var(--ink-dim); font-size: 18px; margin: 0; }

/* ── первый экран (макет B): фон — постер и петли из игры, поверх логотип, кнопки, плитки блоков.
   Телефон (< 768): одно вертикальное видео, кнопки внизу, без плиток. Шире: три вертикальных окна рядом, края гаснут. */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 28px;
  padding: calc(84px + env(safe-area-inset-top)) var(--gutter) calc(26px + env(safe-area-inset-bottom)); text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--night); }
.hero-poster { position: absolute; inset: 0; transition: opacity .8s, filter .8s; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.hero.playing .hero-poster { opacity: .35; filter: blur(14px); }
.hero-wins { position: absolute; inset: 0; display: flex; justify-content: center; }
.hero-win {
  position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: 9 / 16; margin: 0 -2.5vw;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
}
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s; filter: saturate(1.15) contrast(1.05); }
.hero-video.on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 42%, rgba(8, 4, 14, .15), rgba(8, 4, 14, .55) 70%, rgba(8, 4, 14, .85)),
    linear-gradient(to bottom, rgba(8, 4, 14, .7), transparent 18%, transparent 55%, rgba(8, 4, 14, .96) 92%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url%28%23n%29'/%3E%3C/svg%3E");
}
/* «шторки» кино: сверху и снизу, съезжают при загрузке. Вход первого экрана короткий: логотип, слоган и кнопки
   «Играть» видны целиком к 0,6 с (кнопки начинают с 0,15 с); при prefers-reduced-motion — без анимации */
.hero-bar { position: absolute; left: 0; right: 0; height: 9vh; background: #000; animation: hero-bars .6s cubic-bezier(.7, 0, .2, 1) forwards; }
.hero-bar-t { top: 0; }
.hero-bar-b { bottom: 0; }
@keyframes hero-bars { to { height: 0; } }

.hero-in { align-self: center; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1100px; }
.hero-title { margin: 0; }
.hero-logo {
  width: min(560px, 74vw, calc((100svh - 560px) * 1.64)); min-width: min(300px, 74vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, .7));
  animation: hero-logo .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.hero-tag { margin: 12px 0 24px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); animation: hero-up .45s ease .05s both; }
.hero-tag b { color: var(--gold); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 22px; animation: hero-up .4s ease .15s both; }
.hero-actions .cta { display: contents; }
.hero-actions .ctas { flex-basis: 100%; }
.hero .ctas, .hero .stores, .final .ctas, .final .stores { justify-content: center; }
.hero .watch { order: 1; }
.hero .stores { order: 2; }
.final { text-align: center; }
@keyframes hero-logo { from { opacity: 0; transform: scale(.7) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes hero-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* «Watch trailer» — круг с пульсом */
.watch {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; background: none; border: 0; cursor: pointer;
  color: var(--ink); font: 900 14px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.watch i { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .25); transition: background .2s, border-color .2s; }
.watch i::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); animation: hero-ping 2s ease-out infinite; }
.watch svg { width: 18px; height: 18px; margin-left: 3px; }
.watch:hover i { background: rgba(255, 255, 255, .14); border-color: #fff; }
.watch:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 999px; }
@keyframes hero-ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* плитки: пять блоков игры, только на десктопе */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; width: min(1180px, 100%); animation: hero-up .4s ease .2s both; }
.tile {
  position: relative; height: 112px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(10, 8, 18, .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--ink); text-decoration: none; text-align: left; transition: transform .25s, border-color .25s;
}
.tile:hover, .tile:focus-visible { transform: translateY(-6px); border-color: rgba(255, 210, 90, .7); }
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tile-img { position: absolute; right: -6px; bottom: -4px; height: 100%; width: auto; max-width: 44%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); transition: transform .3s; }
.tile:hover .tile-img { transform: scale(1.08) rotate(-3deg); }
.tile .tx { position: relative; z-index: 1; max-width: 62%; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.tile-h { display: block; margin: 0 0 3px; font: 400 22px/1 var(--font-display); }
.tile-p { display: block; font-size: 12.5px; line-height: 1.3; color: var(--ink-dim); }

@media (max-width: 1100px) {
  .tile { padding: 12px; }
  .tile-h { font-size: 19px; }
  .tile-p { font-size: 12px; }
}
/* планшет: плитка — картинка в углу и заголовок внизу, без подписи */
@media (max-width: 1023.98px) {
  .tiles { gap: 10px; }
  .tile { height: 92px; }
  .tile-img { top: 6px; right: 6px; bottom: auto; height: 58%; max-width: 50%; }
  .tile .tx { max-width: none; }
  .tile-h { font-size: 18px; margin: 0; }
  .tile-p { display: none; }
}
@media (max-width: 767.98px) {
  .hero { grid-template-rows: 1fr; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .hero-in { align-self: end; }
  .hero-logo { width: min(70vw, 420px, calc((100svh - 400px) * 1.64)); min-width: min(220px, 70vw); margin-bottom: 4px; }
  .hero-tag { font-size: 22px; margin: 6px 0 18px; }
  .hero-actions { gap: 12px 16px; }
  .watch { font-size: 12px; }
  .watch i { width: 40px; height: 40px; }
  .watch i::after { inset: -6px; }
  .hero-wins-desk, .tiles { display: none; }
  .hero-win { width: 100%; height: 100%; aspect-ratio: auto; margin: 0; -webkit-mask-image: none; mask-image: none; }
  .hero-shade { background: linear-gradient(to bottom, rgba(8, 4, 14, .55), transparent 20%, transparent 38%, rgba(8, 4, 14, .97) 78%); }
}
@media (min-width: 768px) {
  .hero-wins-mob { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bar { display: none; }
  .hero-logo, .hero-tag, .hero-actions, .tiles { animation: none; }
  .watch i::after { animation: none; opacity: 0; }
  .hero-poster, .hero-video, .tile, .tile-img { transition: none; }
}

/* окно трейлера со звуком: горизонтальный ролик на десктопе, вертикальный на телефоне */
.trailer-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .9); }
.trailer-modal[hidden] { display: none; }
.trailer-modal video { display: block; width: min(1200px, 94vw, calc(86vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.trailer-modal.vertical video { width: min(94vw, calc(86vh * 9 / 16)); aspect-ratio: 9 / 16; }
.trailer-close {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 20px; cursor: pointer;
}
.trailer-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
html.modal-open { overflow: hidden; }

/* ── подвал */
.site-footer { padding: 48px var(--gutter) calc(36px + env(safe-area-inset-bottom)); background: var(--night-deep); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.site-footer .footer-logo { height: 46px; width: auto; }
.site-footer .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .legal a { color: var(--ink-dim); text-decoration: none; font-weight: 700; font-size: 14px; }
.site-footer .legal a:hover { color: var(--ink); }
.site-footer .soc { display: flex; gap: 10px; margin-left: auto; }
.site-footer .soc a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--ink-dim); font-weight: 900; font-size: 12px; text-decoration: none; }
.site-footer .copy { width: 100%; font-size: 12px; color: var(--ink-faint); }
@media (max-width: 760px) { .site-footer .soc { margin-left: 0; } }

/* ── коллекция (макет B, .s-slimes): вкладки стихий, четыре облика с именами, чемпион; фон — цвет стихии (--sg: r,g,b) */
.coll { background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(var(--sg), .28), transparent 70%), #0b0812; }
.coll [hidden] { display: none !important; }
.coll-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.coll-text { min-width: 0; }
.coll-tabs { display: flex; gap: 8px; margin: 28px 0 26px; flex-wrap: wrap; }
.coll-tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  color: var(--ink-dim); font: 800 14px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.coll-tab:hover { color: var(--ink); border-color: rgba(var(--sg), .7); }
.coll-tab[aria-selected="true"] { background: rgb(var(--sg)); color: #120a04; border-color: transparent; box-shadow: 0 0 24px rgba(var(--sg), .6); }
.coll-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.looks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.look {
  min-width: 0; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  padding: 6px 6px 9px; text-align: center; transition: transform .25s;
}
.look:hover { transform: translateY(-5px) rotate(-2deg); }
.look img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.look-name { display: block; margin-top: 2px; font-weight: 800; font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.looks-cap { margin: 12px 0 0; font-size: 13px; color: var(--ink-dim); }
.champs { min-width: 0; }
.champ { position: relative; aspect-ratio: 1; margin: 0; }
.champ::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--sg), .55), transparent); filter: blur(20px); }
.champ img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); animation: coll-breathe 3s ease-in-out infinite; transform-origin: 50% 90%;
}
@keyframes coll-breathe { 50% { transform: scale(1.025, .975); } }
.champ .badge {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 210, 90, .6); font: 400 18px/1 var(--font-display); color: var(--gold); white-space: nowrap;
}

/* ── фьюз (макет B, .s-fuse): реактор с колбами → стрелка → итог с чипами; строка редкого облика */
.fuse { background: radial-gradient(ellipse 50% 60% at 35% 55%, rgba(255, 122, 26, .18), transparent 70%), #0d0806; }
.fuse-head { text-align: center; }
.fuse-head .lead { margin: 0 auto; }
.fuse-row { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 56px); margin-top: 40px; }
.reactor { position: relative; width: min(560px, 100%); aspect-ratio: 1; flex: 0 1 560px; }
.reactor-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.pod { position: absolute; transform: translate(-50%, -50%); }
.pod img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .7)); animation: fuse-bob 2.4s ease-in-out infinite; }
.pod.main { left: 50%; top: 31%; width: 30%; }
.pod.m1 { left: 16%; top: 46%; width: 18%; }
.pod.m2 { left: 84%; top: 46%; width: 18%; }
.pod.m3 { left: 50%; top: 70%; width: 18%; }
.pod.m1 img { animation-delay: -.5s; }
.pod.m2 img { animation-delay: -1s; }
.pod.m3 img { animation-delay: -1.5s; }
@keyframes fuse-bob { 50% { transform: translateY(-6px); } }
.pod em {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: -4px; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .2); font: 800 10px/1.2 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase; font-style: normal; white-space: nowrap; color: var(--ink-dim);
}
.pod.main em { border-color: var(--gold); color: var(--gold); font-size: 11px; }
.fuse-arrow { flex: none; font: 400 clamp(44px, 5vw, 72px)/1 var(--font-display); color: var(--gold); text-shadow: 0 0 24px rgba(255, 190, 60, .7); animation: fuse-nudge 1.6s ease-in-out infinite; }
@keyframes fuse-nudge { 50% { transform: translateX(8px); } }
.result { position: relative; flex: 0 1 300px; width: min(300px, 70vw); text-align: center; }
.result .orb { position: relative; aspect-ratio: 1; }
.result .orb::before {
  content: ''; position: absolute; inset: 4%; border-radius: 50%; opacity: .55; filter: blur(34px);
  background: conic-gradient(from 0deg, #ff7a1a, #ffd25a, #79c94a, #2aa8ff, #b38cff, #ff7a1a); animation: fuse-spin 7s linear infinite;
}
@keyframes fuse-spin { to { transform: rotate(1turn); } }
.result .orb img { position: relative; width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.res-name { margin-top: 4px; font: 400 34px/1 var(--font-display); text-shadow: 0 0 24px rgba(121, 201, 74, .7); }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.chip { padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .16); font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.chip.up { border-color: var(--gold); color: var(--gold); }
.chip.prism {
  border-color: transparent;
  background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)) padding-box, linear-gradient(90deg, #ff7a1a, #ffd25a, #79c94a, #2aa8ff, #b38cff) border-box;
}
.fuse-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; color: var(--ink-dim); font-size: 14px; }
.fuse-note span { max-width: 520px; text-align: left; }
.fuse-note img { flex: none; width: 44px; filter: drop-shadow(0 0 12px rgba(255, 255, 255, .4)); }
.fuse-note b { background: linear-gradient(90deg, #ff7a1a, #ffd25a, #79c94a, #2aa8ff, #b38cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 860px) {
  .coll-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .champs { width: 82%; margin: 0 auto; }
  .looks-grid { gap: 8px; }
  .fuse-row { flex-direction: column; gap: 6px; }
  .reactor { flex: none; }
  .result { flex: none; width: 100%; }
  .result .orb { width: min(230px, 64vw); margin: 0 auto; }
  .fuse-arrow { transform: rotate(90deg); animation: none; }
}
@media (max-width: 560px) {
  .coll-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .coll-tab { padding: 10px 4px; font-size: 13px; letter-spacing: .04em; }
  .look { padding: 4px 4px 7px; border-radius: 12px; }
  .look-name { font-size: 11.5px; }
  .champ .badge { font-size: 16px; padding: 7px 13px; }
}
@media (max-width: 360px) {
  .looks-grid { gap: 6px; }
  .look { padding: 3px 3px 6px; }
  .look-name { font-size: 10.5px; letter-spacing: -.01em; }
}
@media (prefers-reduced-motion: reduce) {
  .champ img, .pod img, .fuse-arrow, .result .orb::before { animation: none; }
  .look, .coll-tab { transition: none; }
}

/* ── тропа (макет B, .s-trail): главы на пунктирной дорожке, чётные ниже; на телефоне — лента вбок */
.trail { background: linear-gradient(180deg, #0b0812, #0a0710); }
.chapters { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; padding: 0 0 26px; list-style: none; }
.chapters::before { content: ''; position: absolute; left: 4%; right: 4%; top: 46%; border-top: 3px dashed rgba(255, 210, 90, .35); }
.ch {
  position: relative; min-width: 0; aspect-ratio: 3 / 4.4; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); background: #120d18; transition: transform .3s, border-color .3s;
}
.ch:nth-child(even) { transform: translateY(26px); }
@media (hover: hover) {
  .ch:hover { transform: translateY(-6px); border-color: var(--gold); }
  .ch:nth-child(even):hover { transform: translateY(20px); }
}
.ch-img { position: absolute; inset: 0 0 auto; width: 100%; height: 66%; object-fit: cover; }
.ch-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(to top, #120d18 62%, transparent); }
.ch-num { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ch h3 { margin: 4px 0 6px; font: 400 21px/1 var(--font-display); }
.ch p { margin: 0; font-size: 12.5px; line-height: 1.35; color: var(--ink-dim); }
.ch-el { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 5px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); }
.ch-el img { width: 100%; height: 100%; object-fit: contain; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 28px 0 0; padding: 0; list-style: none; }
.fact { padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-weight: 800; font-size: 14px; }
.fact b { font: 400 22px/1 var(--font-display); color: var(--gold); margin-right: 2px; }

/* ── боссы (макет B, .s-boss): большой кадр с подписью, под ним ряд-выбор; кадры сменяются растворением */
.boss { background: #07070d; }
.boss-stage {
  position: relative; margin-top: 34px; aspect-ratio: 2 / 1; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); background: #0d0b14;
}
.boss-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.boss-slide.on { opacity: 1; visibility: visible; transition: opacity .6s, visibility 0s; }
.boss-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.boss-slide.on .boss-banner { transform: scale(1.06); }
.boss-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 32px 26px; background: linear-gradient(to top, rgba(4, 4, 8, .95), transparent); }
.boss-cap h3 { margin: 0; font: 400 clamp(30px, 4vw, 54px)/1 var(--font-display); }
.boss-cap p { margin: 6px 0 0; max-width: 560px; color: var(--ink-dim); }
.boss-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.boss-tab {
  position: relative; height: 92px; padding: 10px 12px; border-radius: 16px; overflow: hidden; cursor: pointer;
  display: flex; align-items: flex-end; text-align: left; color: var(--ink);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .25s, background .25s;
}
.boss-tab img { position: absolute; right: -6px; top: -6px; height: 96px; width: auto; max-width: 70%; object-fit: contain; opacity: .9; transition: transform .3s; }
.boss-tab span { position: relative; font: 400 17px/1 var(--font-display); text-shadow: 0 2px 8px #000; }
.boss-tab[aria-selected="true"] { border-color: var(--gold); background: rgba(255, 210, 90, .1); }
.boss-tab:hover img { transform: scale(1.1); }
.boss-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ── арена (макет B, .s-arena): панель снаряжения слева, текст и места справа; на телефоне текст выше */
.arena { background: radial-gradient(ellipse 60% 60% at 25% 50%, rgba(255, 170, 60, .12), transparent 70%), linear-gradient(180deg, #07070d, #120c06); }
.arena-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.arena-text { grid-column: 2; grid-row: 1; min-width: 0; }
.loadout {
  grid-column: 1; grid-row: 1; min-width: 0; position: relative; padding: 26px; border-radius: 28px;
  background: rgba(10, 8, 16, .6); border: 1px solid rgba(255, 210, 90, .3); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.loadout .lbl { margin-bottom: 22px; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.slot {
  position: relative; aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(255, 210, 90, .18), rgba(0, 0, 0, .35)); border: 2px solid rgba(255, 210, 90, .55);
}
.slot img { width: 74%; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)); animation: arena-bob 2.6s ease-in-out infinite; }
.slot:nth-child(2) img { animation-delay: -.8s; }
.slot:nth-child(3) img { animation-delay: -1.6s; }
@keyframes arena-bob { 50% { transform: translateY(-6px); } }
.slot-r {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px;
  background: var(--gold); color: #3a1c00; font: 900 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.slot-n {
  position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px;
  background: #000; border: 1px solid rgba(255, 255, 255, .2); font: 800 11px/1.1 var(--font-body); white-space: nowrap;
}
.combo { margin: 30px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(42, 168, 255, .1); border: 1px solid rgba(42, 168, 255, .35); font-size: 14px; font-weight: 700; }
.combo b { color: #9ff0ff; }
.armory { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; }
.armory li { min-width: 0; }
.armory img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .04); transition: transform .2s, background .2s; }
.armory img:hover { transform: scale(1.35); background: rgba(255, 210, 90, .15); }
.places-cap { margin: 18px 0 0; color: var(--ink-dim); font-size: 14px; max-width: 520px; }
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.place { min-width: 0; text-align: center; }
.pi { position: relative; aspect-ratio: 2 / 3; margin-bottom: 8px; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255, 210, 90, .45); background: #120c06; }
.pi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pi-em { position: absolute; left: 50%; bottom: 8px; width: 58%; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); }
.pn { display: block; font: 400 15px/1.1 var(--font-display); }
.place small { display: block; margin-top: 3px; font: 700 11px/1.3 var(--font-body); color: var(--ink-dim); }

@media (max-width: 860px) {
  /* лента глав: на всю ширину блока, листается вбок, страница не шире экрана */
  .chapters {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 32px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 34px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .chapters::-webkit-scrollbar { display: none; }
  .chapters::before { display: none; }
  .ch { flex: 0 0 min(62vw, 240px); scroll-snap-align: start; }
  .facts { margin-top: 8px; }
  .boss-stage { aspect-ratio: 4 / 5; }
  .boss-cap { padding: 60px 18px 18px; }
  .boss-cap p { font-size: 14px; }
  .boss-list {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 12px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter);
  }
  .boss-list::-webkit-scrollbar { display: none; }
  .boss-tab { flex: 0 0 min(42vw, 180px); height: 84px; scroll-snap-align: start; }
  .boss-tab img { height: 84px; }
  .arena-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .arena-text, .loadout { grid-column: auto; grid-row: auto; }
  .loadout { padding: 24px 14px 18px; }
  .armory { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .slots { gap: 10px; }
  .slot { border-radius: 16px; }
  .slot-r { padding: 3px 7px; font-size: 10px; letter-spacing: .06em; }
  .slot-n { bottom: -14px; max-width: calc(100% + 6px); padding: 3px 6px; font-size: 10px; white-space: normal; text-align: center; width: max-content; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pi { aspect-ratio: 4 / 3; }
  .pi-em { width: 36%; bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch, .boss-tab, .boss-tab img, .armory img { transition: none; }
  .boss-slide, .boss-slide.on { transition: none; }
  .boss-banner, .boss-slide.on .boss-banner { transition: none; transform: none; }
  .slot img { animation: none; }
}

/* ── трейлер (макет B, .s-trailer): плеер 16:9 с постером; без файла трейлера — кадр без кнопки */
.trailer { background: #0b0812; text-align: center; }
.player {
  position: relative; display: block; width: 100%; max-width: 1080px; margin: 34px auto 0; padding: 0; aspect-ratio: 16 / 9;
  border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #0d0b14;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6); color: #111;
}
button.player { cursor: pointer; font: inherit; }
.player-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
button.player .player-img { filter: brightness(.7); }
button.player:hover .player-img { transform: scale(1.03); filter: brightness(.8); }
.player .pb {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 14px rgba(255, 255, 255, .18); transition: transform .25s;
}
.player .pb svg { width: 34px; height: 34px; margin-left: 6px; }
button.player:hover .pb { transform: scale(1.08); }
button.player:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* ── финальный призыв (макет B, .s-final): фон bg-spring, три слайма, кнопки «Играть» */
.final { min-height: 90svh; display: flex; align-items: center; justify-content: center; }
.final > .wrap { width: 100%; }
.final-bg { position: absolute; inset: 0; }
.final-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.final-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, #0b0812, rgba(11, 8, 18, .55) 30%, rgba(11, 8, 18, .62) 70%, var(--night-deep)); }
.trio { width: min(560px, 86vw); margin: 0 auto -10px; display: flex; justify-content: center; align-items: flex-end; }
.trio-slime { width: 30%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); animation: coll-breathe 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
.trio picture:nth-child(2) .trio-slime { width: 40%; animation-delay: -.6s; }
.trio picture:nth-child(3) .trio-slime { animation-delay: -1.3s; }
.final .lead { margin: 0 auto 28px; text-wrap: balance; }
@media (max-width: 760px) {
  .player { border-radius: 18px; margin-top: 26px; }
  .player .pb { width: 72px; height: 72px; margin: -36px 0 0 -36px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); }
  .player .pb svg { width: 26px; height: 26px; margin-left: 4px; }
  .final { min-height: 0; }
  .final .lead { font-size: 16px; margin-bottom: 22px; }
}

/* ── появление блоков при прокрутке: прячем только когда работает main.js (html.js), иначе всё видно сразу */
html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .player-img, .player .pb { transition: none; }
  .trio-slime { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
