/* ============================================================
   ArianWait — редизайн 2026 («Mystic Collection», кино-катушка)
   Загружается ПОСЛЕ arianwait-dark.css и переопределяет шапку,
   подвал и карточки; добавляет катушку на главной и сцену-«коробку»
   на списочных страницах. Вендорные стили (Bootstrap и пр.) на
   публичных страницах больше не подключаются, поэтому здесь же
   лежит минимальный reset.
   ============================================================ */

:root {
  --aw-navy-950: #070c1c;
  --aw-navy-850: #0e1733;
  --aw-teal-300: #7fe3dc;
  --aw-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --aw-header-h: 92px;
}

/* ---------- Reset (замена Bootstrap) ----------
   Через :where(), чтобы специфичность была нулевой и любые .aw-* правила
   перебивали reset без !important. */
body.aw-dark { margin: 0; line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.aw-dark *, body.aw-dark *::before, body.aw-dark *::after { box-sizing: border-box; }
:where(body.aw-dark) :where(img, svg, video) { max-width: 100%; vertical-align: middle; }
:where(body.aw-dark) :where(h1, h2, h3, h4, h5, h6) { margin: 0 0 0.5rem; line-height: 1.2; }
:where(body.aw-dark) p { margin: 0 0 1rem; }
:where(body.aw-dark) :where(ul, ol) { margin: 0 0 1rem; padding-left: 2rem; }
:where(body.aw-dark) figure { margin: 0 0 1rem; }
:where(body.aw-dark) a { color: var(--aw-teal-400); text-decoration: none; }
:where(body.aw-dark) a:hover { color: var(--aw-teal-300); }
:where(body.aw-dark) :where(button, input, select, textarea) { font-family: inherit; font-size: inherit; line-height: inherit; }
:where(body.aw-dark) hr { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 1rem 0; }
body.aw-dark main { overflow-x: clip; }

/* ---------- Прогресс чтения ---------- */
.aw-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60;
  background: linear-gradient(90deg, var(--aw-teal-500), var(--aw-teal-400)); pointer-events: none; }

/* ---------- Шапка ---------- */
.aw-header { position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,40,0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(43,196,186,0.2);
  transition: background 0.45s ease, border-color 0.45s ease; }
/* Прозрачность над первым экраном выставляет js/aw-motion.js инлайн-стилями:
   без JS шапка остаётся непрозрачной, и это безопасный вариант. */
.aw-header .aw-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; height: var(--aw-header-h);
  display: flex; align-items: center; justify-content: space-between;
  transition: height 0.4s var(--aw-ease-out); }
.aw-header.is-condensed .aw-inner { height: 68px; }
.aw-header .aw-logo { display: flex; align-items: center; gap: 14px; }
.aw-header .aw-logo img { height: 56px; width: auto; transition: height 0.4s var(--aw-ease-out); }
.aw-header.is-condensed .aw-logo img { height: 40px; }
.aw-header .aw-logo span { font-family: var(--aw-font-display); text-transform: uppercase;
  letter-spacing: 0.18em; color: #fff; font-weight: 700; font-size: 15px; }
.aw-nav { display: flex; gap: 4px; align-items: center; }
.aw-nav a { font-family: var(--aw-font-sans); font-weight: 600; font-size: 15px; padding: 10px 18px;
  border-radius: 50px; color: rgba(255,255,255,0.78); transition: color 0.3s ease, background 0.3s ease; }
.aw-nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.aw-nav a.active { color: #04201d; background: linear-gradient(135deg, var(--aw-teal-500), var(--aw-teal-400)); }
/* Над первым экраном подложки нет — тексту нужна тень, чтобы читаться на светлом кадре. */
.aw-header.is-over-hero .aw-logo span,
.aw-header.is-over-hero .aw-nav a:not(.active) { text-shadow: 0 2px 12px rgba(0,0,0,0.7); }

/* ---------- Кнопки ---------- */
.aw-btn { font-size: 17px; padding: 17px 34px; gap: 10px; }
.aw-btn-sm { font-size: 14px; padding: 12px 24px; }
.aw-btn-teal:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27,163,156,0.45); }
.aw-btn-ghost { background: rgba(11,18,40,0.45); border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.aw-btn-ghost:hover { transform: translateY(-3px); border-color: rgba(43,196,186,0.7); background: rgba(43,196,186,0.14); box-shadow: none; }
.aw-more-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  color: var(--aw-teal-400); padding: 12px 0; transition: transform 0.3s ease; white-space: nowrap; }
.aw-more-link:hover { transform: translateX(5px); }

/* ---------- Заголовки секций ---------- */
.aw-kicker { font-size: 12px; letter-spacing: 0.3em; }
.aw-kicker-sm { font-family: var(--aw-font-display); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 10px; color: var(--aw-teal-300); }
.aw-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 60px); }
.aw-sec-head > div { max-width: 620px; }
.aw-sec-head .aw-kicker { display: block; margin-bottom: 20px; }
.aw-sec-head h1, .aw-sec-head h2 { font-family: var(--aw-font-serif); font-weight: 700; color: #fff;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; margin: 0; }
.aw-sec-head .aw-desc { color: rgba(255,255,255,0.6); font-size: 17px; line-height: 1.7; margin: 18px 0 0; }
.aw-sec-count { font-size: 15px; color: rgba(255,255,255,0.6); padding-bottom: 6px; white-space: nowrap; }

.aw-wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.aw-home-section { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid rgba(255,255,255,0.06); }

/* ---------- Появление блоков ---------- */
[data-reveal] { transition: opacity 0.7s var(--aw-ease-out), transform 0.7s var(--aw-ease-out); }
[data-reveal].is-hidden { opacity: 0; transform: translateY(22px); }

/* ============================================================
   Главная: кино-катушка
   ============================================================ */
.aw-reel { position: relative; height: 560vh; margin-top: calc(-1 * var(--aw-header-h)); --lab: 0; }
.aw-reel-stage { position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 4%, rgba(27,163,156,0.18) 0%, rgba(11,18,40,0) 54%),
              linear-gradient(180deg, var(--aw-navy-900) 0%, var(--aw-navy-850) 62%, var(--aw-navy-900) 100%); }
/* Кадры не ловят клики: первый лежит поверх остальных по z-index и иначе
   перехватывал бы нажатия на кнопки следующих кадров. Кликабельна только
   активная кнопка «Открыть профиль» (.aw-rf-cta.is-active). */
.aw-reel-frame { position: absolute; inset: 0; overflow: hidden; --out: 0; --in: 0; pointer-events: none; }
.aw-reel-frame.is-first { --in: 1; }
.aw-rf-bg { position: absolute; inset: 0; overflow: hidden; opacity: calc(1 - var(--out)); will-change: opacity; }
.aw-rf-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  transform: scale(calc(1.07 - 0.07 * var(--in) - 0.03 * var(--out))); will-change: transform; }
/* Фигуру ставит визуальный редактор админки: left/top/height приходят
   инлайном в долях от размера сцены, --aw-flip даёт отражение. */
.aw-rf-fig { position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; opacity: calc(clamp(0, 2.3 * var(--in) - 1.3, 1) * clamp(0, 1 - 2.3 * var(--out), 1)); will-change: opacity; }
.aw-rf-fig img { position: absolute; left: 50%; top: 100%; height: 88%; width: auto; max-width: none;
  object-fit: contain; --aw-flip: 1;
  transform: translate(-50%, -100%) scaleX(var(--aw-flip))
             translateY(calc(26px * clamp(0, 1 - var(--in), 1) + 14px * var(--out)));
  filter: drop-shadow(0 34px 64px rgba(7,12,28,0.6)); }
.aw-rf-shade { position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--out));
  background: linear-gradient(to top, rgba(11,18,40,0.95) 0%, rgba(11,18,40,0.55) 30%, rgba(11,18,40,0) 62%); }
.aw-rf-cap { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: clamp(24px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(64px, 7vw, 104px);
  display: flex; justify-content: flex-start; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  opacity: calc(clamp(0, 1 - 3.4 * var(--out), 1) * clamp(0, 2.1 * var(--in) - 1.1, 1) * var(--lab)); }
.aw-rf-cap-inner { transform: translateX(calc(-7vw * var(--out))); }
.aw-rf-race { font-family: var(--aw-font-display); text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px;
  font-weight: 600; color: var(--aw-teal-400); margin-bottom: 12px; }
.aw-rf-name { font-family: var(--aw-font-serif); font-weight: 700; color: #fff; font-size: clamp(38px, 6vw, 96px);
  line-height: 0.96; text-shadow: 0 10px 34px rgba(0,0,0,0.65); }
.aw-rf-cta { margin-top: 22px; pointer-events: none; }
.aw-rf-cta.is-active { pointer-events: auto; }

.aw-reel-veil { position: absolute; inset: 0; z-index: 15; background: rgba(7,12,28,0.62); pointer-events: none; }
.aw-reel-intro { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; text-align: center;
  padding: calc(var(--aw-header-h) + 8px) clamp(24px, 5vw, 72px) 96px; will-change: opacity, transform; }
.aw-reel-intro-inner { max-width: min(760px, 88%); display: flex; flex-direction: column; align-items: center; }
.aw-reel-intro .aw-kicker { color: #fff; font-size: clamp(10px, 1.1vw, 12px); text-shadow: 0 4px 18px rgba(0,0,0,0.9); }
.aw-reel-intro h1 { font-family: var(--aw-font-serif); font-weight: 800; color: #fff; font-size: clamp(26px, 3.8vw, 74px);
  line-height: 1.06; margin: clamp(10px, 1.6vw, 22px) 0; text-wrap: pretty; text-shadow: 0 14px 44px rgba(0,0,0,0.7); }
.aw-reel-intro h1 em { font-style: italic; color: var(--aw-teal-400); }
.aw-reel-intro p { color: #fff; font-size: clamp(13px, 1.25vw, 19px); line-height: 1.6; margin: 0 0 clamp(16px, 2.4vw, 34px);
  max-width: 520px; text-shadow: 0 6px 26px rgba(0,0,0,0.8); }
.aw-reel-intro-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.aw-reel-intro-actions .aw-btn { padding: clamp(11px, 1.3vw, 17px) clamp(20px, 2.4vw, 34px); font-size: clamp(13px, 1.2vw, 17px); }

.aw-reel-dots { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.aw-reel-dots span { --a: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  opacity: calc(0.22 + 0.78 * var(--a)); transform: scale(calc(1 + 0.55 * var(--a))); }
.aw-reel-dots span:first-child { --a: 1; }
.aw-reel-counter { position: absolute; left: 32px; bottom: 26px; z-index: 30; display: flex; align-items: baseline; gap: 8px;
  pointer-events: none; font-variant-numeric: tabular-nums; }
.aw-reel-counter b { font-family: var(--aw-font-serif); font-weight: 700; color: #fff; font-size: 28px; line-height: 1; }
.aw-reel-counter small { font-family: var(--aw-font-display); font-size: 10px; letter-spacing: 0.24em; color: rgba(255,255,255,0.55); }
.aw-scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 30;
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.aw-scroll-hint span { font-family: var(--aw-font-display); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); text-shadow: 0 2px 12px rgba(0,0,0,0.9); }
.aw-scroll-hint i { display: block; width: 1px; height: 28px;
  background: linear-gradient(180deg, rgba(127,227,220,1), rgba(127,227,220,0)); animation: awScrollHint 2.4s ease-in-out infinite; }
@keyframes awScrollHint { 0% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Полоса-цитата ---------- */
.aw-quote { position: relative; min-height: clamp(360px, 46vw, 520px); display: flex; align-items: center; overflow: hidden; }
.aw-quote-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.aw-quote-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,18,40,0.97) 0%, rgba(11,18,40,0.9) 42%, rgba(11,18,40,0.55) 78%, rgba(11,18,40,0.3) 100%); }
.aw-quote .aw-wrap-wide { position: relative; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.aw-quote-inner { max-width: 640px; }
.aw-quote .aw-kicker { display: block; margin-bottom: 22px; }
.aw-quote blockquote { font-family: var(--aw-font-serif); font-style: italic; font-weight: 500; color: #fff;
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.4; margin: 0 0 32px; text-shadow: 0 2px 18px rgba(11,18,40,0.75); }

/* ---------- Карточки-обложки (игры на главной) ---------- */
.aw-games-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.aw-games-feature-col { display: grid; grid-auto-rows: 1fr; gap: 24px; }
.aw-gcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 208px;
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); color: inherit; }
.aw-gcard--big { min-height: 440px; }
.aw-gcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aw-gcard-shade { position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,18,40,0.95) 8%, rgba(11,18,40,0.45) 60%, rgba(11,18,40,0.1) 100%); }
.aw-gcard--big .aw-gcard-shade { background: linear-gradient(to top, rgba(11,18,40,0.96) 6%, rgba(11,18,40,0.5) 46%, rgba(11,18,40,0.1) 80%); }
.aw-gcard-body { position: relative; padding: 26px; }
.aw-gcard--big .aw-gcard-body { padding: 36px; }
.aw-gcard-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.aw-gcard-title { font-family: var(--aw-font-serif); font-weight: 700; color: #fff; font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.aw-gcard--big .aw-gcard-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; margin-bottom: 12px; }
.aw-gcard p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.6; margin: 0; }
.aw-gcard--big p { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.65; margin: 0 0 22px; max-width: 46ch; }
.aw-gcard-placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, #1e3c72, #2a5298); }
.aw-status { padding: 5px 14px; font-size: 11px; letter-spacing: 0.08em; }

/* Подъём на ховере: один класс для всех карточек. */
.aw-lift { transition: transform 0.4s var(--aw-ease-out), border-color 0.4s ease, box-shadow 0.4s ease; }
.aw-lift .aw-lift-img { transition: transform 0.9s var(--aw-ease-out); }
.aw-lift:hover { transform: translateY(-8px); border-color: rgba(43,196,186,0.45); box-shadow: 0 28px 60px rgba(0,0,0,0.5); }
.aw-lift:hover .aw-lift-img { transform: scale(1.06); }

/* ---------- Универсальная карточка (персонаж, статья, игра) ---------- */
.aw-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.aw-cards-grid--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* auto-fill, а не auto-fit: одна статья не должна растягиваться на всю ширину. */
.aw-cards-grid--fit { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.aw-card { display: flex; flex-direction: column; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px; overflow: hidden; color: inherit; }
.aw-card:hover { color: inherit; }
.aw-card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: rgba(255,255,255,0.04); }
.aw-card-media--wide { aspect-ratio: 16 / 10; }
.aw-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-card-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,12,28,0.8) 0%, rgba(7,12,28,0) 52%); }
.aw-card-media .aw-status, .aw-card-tag { position: absolute; top: 16px; left: 16px; z-index: 1; }
.aw-card-tag { display: inline-block; padding: 5px 13px; border-radius: 25px; color: #fff; font-size: 12px; font-weight: 600; }
.aw-card-media .aw-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%;
  background: linear-gradient(135deg, #1e3c72, #2a5298); font-size: 2.4rem; color: rgba(255,255,255,0.5); }
.aw-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.aw-card-kicker { margin-bottom: 8px; }
.aw-card-meta { font-size: 12px; color: rgba(255,255,255,0.45); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.aw-card-meta i { color: var(--aw-teal-400); margin-right: 6px; }
.aw-card-title { font-family: var(--aw-font-serif); font-weight: 700; color: #fff; font-size: 24px; line-height: 1.08; }
.aw-card-title--post { font-size: 22px; line-height: 1.2; }
.aw-card-text { color: rgba(255,255,255,0.68); font-size: 14px; line-height: 1.6; margin: 10px 0 0; flex: 1; }
.aw-card-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; color: var(--aw-teal-400); margin-top: 18px; }
.aw-card-link.is-muted { color: rgba(255,255,255,0.5); }

/* ---------- Метка контента, созданного с помощью ИИ ---------- */
/* Нейтральная, а не бирюзовая: иначе её легко спутать с бейджем автора. */
.aw-ai-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 25px;
  background: rgba(11,18,40,0.72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.aw-ai-badge i { margin: 0; color: inherit; font-size: 12px; opacity: 0.85; }
/* pointer-events: none — клик по метке на плитке галереи должен открывать работу. */
.aw-ai-badge--overlay { position: absolute; top: 14px; right: 14px; z-index: 2; pointer-events: none; }
.aw-ai-badge-short { display: none; }
/* Первый экран: правый нижний угол. На главной метка зеркалит счётчик кадров
   и лежит над вуалью титульного экрана, на сценах — под подсказкой «Пролистайте». */
.aw-scene-ai { position: absolute; right: 32px; bottom: 26px; z-index: 30; pointer-events: none; }
.aw-stage-frame .aw-scene-ai { right: clamp(24px, 5vw, 72px); bottom: clamp(16px, 2.4vw, 32px); z-index: 3; }

/* ---------- Финальный призыв ---------- */
.aw-cta { padding: clamp(80px, 11vw, 140px) 0; background: radial-gradient(80% 120% at 50% 0%, rgba(27,163,156,0.16), rgba(11,18,40,0) 62%); }
.aw-cta .aw-grain { background-size: 180px; opacity: 0.5; }
.aw-cta img.aw-emblem { height: 104px; filter: drop-shadow(0 0 26px rgba(27,163,156,0.4)); margin-bottom: 16px; }
.aw-cta h2 { font-size: clamp(28px, 3.4vw, 46px) !important; line-height: 1.14; }
.aw-cta .aw-desc { font-size: 18px; line-height: 1.7; margin: 20px auto 36px; max-width: 520px; color: rgba(255,255,255,0.65); }
.aw-cta .aw-btn-ghost { background: transparent; border-color: rgba(255,255,255,0.3); }
.aw-cta .aw-btn-ghost:hover { background: rgba(43,196,186,0.08); border-color: rgba(43,196,186,0.7); }

/* ---------- Подвал ---------- */
.aw-footer { position: relative; z-index: 3; }
.aw-footer .aw-inner { max-width: 1240px; padding: 48px 32px; display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: center; }
.aw-footer .aw-fbrand img { height: 64px; }
.aw-fnav { display: flex; gap: 24px; flex-wrap: wrap; }
.aw-fnav a { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; }
.aw-fnav a:hover { color: #fff; }
.aw-footer .aw-fnote { margin: 0; font-size: 13px; max-width: 440px; line-height: 1.6; text-align: right; color: rgba(255,255,255,0.55); }

/* ============================================================
   Списочные страницы: сцена и «коробка» каталога
   ============================================================ */
.aw-stage-wrap { position: relative; margin-top: calc(-1 * var(--aw-header-h)); }
.aw-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--aw-navy-950); }
.aw-stage-blur { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover;
  filter: blur(40px) brightness(0.45) saturate(0.85); }
/* Кадр сцены: при нескольких кадрах они лежат друг на друге и
   переключаются прокруткой (js/aw-motion.js). --k — доля проявления кадра. */
.aw-stage-frame { position: absolute; inset: 0; --k: 0; opacity: var(--k); pointer-events: none; }
.aw-stage-frame.is-active { pointer-events: auto; }
.aw-stage-frame:only-of-type { --k: 1; }
.aw-stage-scene { position: absolute; inset: 0; margin: auto; aspect-ratio: 16 / 9; max-width: 100%; max-height: 100%; width: 100%;
  will-change: transform; }
.aw-stage-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* Раскладку фигуры ставит визуальный редактор админки: left/top/height
   приходят инлайном в долях от размера сцены, --aw-flip даёт отражение. */
.aw-stage-figure { position: absolute; left: 50%; top: 100%; height: 88%; width: auto; max-width: none;
  object-fit: contain; --aw-flip: 1;
  transform: translate(-50%, -100%) scaleX(var(--aw-flip)); transform-origin: 50% 100%;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,0.55)); will-change: transform, filter; }
.aw-stage-cta { margin-top: 20px; }
.aw-stage-hint { position: absolute; right: clamp(24px, 5vw, 72px); bottom: clamp(52px, 7vw, 88px); z-index: 4; }
.aw-stage-hint .aw-scroll-hint { position: static; transform: none; }
.aw-stage-hint .aw-scroll-hint span { color: #fff; }
.aw-stage .aw-reel-dots { z-index: 5; }
.aw-stage-fade { position: absolute; inset: 0; opacity: 0.6; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,12,28,0.5) 0%, rgba(7,12,28,0.15) 32%, rgba(7,12,28,0.5) 70%, rgba(7,12,28,0.95) 100%); }
.aw-stage-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(24px, 5vw, 72px) clamp(52px, 7vw, 88px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; will-change: opacity, transform; }
.aw-stage-copy > div:first-child { max-width: 470px; }
.aw-stage-kicker { font-family: var(--aw-font-display); text-transform: uppercase; letter-spacing: 0.3em; font-size: 11px; font-weight: 600;
  color: var(--aw-teal-300); margin-bottom: 14px; text-shadow: 0 2px 14px rgba(0,0,0,0.95); }
.aw-stage-title { font-family: var(--aw-font-serif); font-weight: 700; color: #fff; font-size: clamp(44px, 6vw, 96px); line-height: 0.94;
  text-shadow: 0 12px 40px rgba(0,0,0,0.9); margin: 0; }
.aw-stage-sub { font-family: var(--aw-font-display); text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px; color: #fff;
  margin: 16px 0 0; text-shadow: 0 2px 14px rgba(0,0,0,0.95); }
.aw-stage-copy { z-index: 3; }

/* Контейнер списка накрывает сцену прозрачной областью пустышки —
   клики отдаём сцене, а содержимому возвращаем точечно. */
.aw-stage-content { position: relative; z-index: 2; margin-top: -100vh; pointer-events: none; }
.aw-stage-content > :not(.aw-stage-spacer) { pointer-events: auto; }
/* Без кадров сцены нет: содержимое идёт сразу, ему нужен обычный отступ
   сверху вместо подъёма из-под сцены. */
.aw-stage-content--bare { margin-top: 0; padding-top: clamp(40px, 6vw, 80px); }
.aw-stage-spacer { height: 100vh; pointer-events: none; }
.aw-box-section { position: relative; padding: 0 clamp(12px, 3vw, 32px) clamp(60px, 8vw, 110px); }
.aw-box { max-width: 1100px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 44px) clamp(36px, 4.6vw, 64px);
  background: rgba(7,12,28,0.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 30px;
  box-shadow: 0 -12px 60px rgba(0,0,0,0.45), 0 40px 100px rgba(0,0,0,0.6); }
.aw-box .aw-sec-head { margin-bottom: clamp(26px, 3.4vw, 44px); }
.aw-box .aw-sec-head .aw-kicker { margin-bottom: 14px; }
.aw-box .aw-sec-head h1 { line-height: 1.08; }
.aw-box-tools { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; justify-content: space-between;
  margin-bottom: clamp(22px, 2.8vw, 34px); }
.aw-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.aw-chips .aw-chip { margin: 0; font-size: 14px; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14); transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.aw-chips .aw-chip:hover { transform: translateY(-2px); background: rgba(43,196,186,0.14); color: #fff; }
.aw-chips .aw-chip.active { color: #04201d; background: linear-gradient(135deg, var(--aw-teal-500), var(--aw-teal-400)); border-color: rgba(43,196,186,0.5); }
.aw-box .aw-search { max-width: 340px; width: 100%; margin: 0; border-radius: 50px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); }
.aw-box .aw-search input { background: transparent; color: #fff; border: 0; padding: 12px 20px; font-size: 14px; }
.aw-box .aw-search input::placeholder { color: rgba(255,255,255,0.45); }
.aw-box .aw-search button { border-radius: 0; padding: 0 18px; }
.aw-box .aw-pagination { margin-top: clamp(30px, 3.6vw, 48px); }
.aw-box .aw-empty { padding: 50px 20px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .aw-scroll-hint i { animation: none; }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
  .aw-lift:hover, .aw-btn:hover, .aw-more-link:hover, .aw-chips .aw-chip:hover { transform: none; }
  .aw-lift:hover .aw-lift-img { transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 991px) {
  .aw-header .aw-inner { padding: 0 20px; }
  .aw-header .aw-nav { top: 100%; background: rgba(11,18,40,0.97); }
  .aw-header .aw-nav a { text-shadow: none; }
  .aw-games-feature { grid-template-columns: 1fr; }
  .aw-gcard--big { min-height: 360px; }
  .aw-footer .aw-inner { flex-direction: column; align-items: flex-start; }
  .aw-footer .aw-fnote { text-align: left; }
  /* Узкий экран: фигуру не даём выйти за края, раскладка из админки сохраняется. */
  .aw-rf-fig img { max-width: 80vw; }
  .aw-reel-dots { right: 14px; }
}
@media (max-width: 575px) {
  .aw-wrap-wide, .aw-header .aw-inner { padding-left: 18px; padding-right: 18px; }
  .aw-reel { height: 480vh; }
  .aw-rf-fig img { max-width: 92vw; }
  .aw-rf-cap { padding-bottom: 72px; }
  .aw-reel-counter { left: 18px; }
  .aw-stage-scene { aspect-ratio: auto; }
  .aw-stage-scene > img { object-fit: cover; }
  .aw-stage-figure { height: 72%; }
  .aw-stage-copy { padding-bottom: 40px; }
  .aw-stage-hint { display: none; }
  /* Полный текст метки на узком экране наезжает на «Пролистайте» по центру. */
  .aw-ai-badge--responsive .aw-ai-badge-long { display: none; }
  .aw-ai-badge--responsive .aw-ai-badge-short { display: inline; }
  .aw-scene-ai, .aw-stage-frame .aw-scene-ai { right: 18px; }
  .aw-stage-frame .aw-scene-ai { bottom: 12px; }
  .aw-box { border-radius: 22px; }
  .aw-box .aw-search { max-width: none; }
  .aw-cards-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .aw-cards-grid--wide, .aw-cards-grid--fit { grid-template-columns: 1fr; }
  .aw-card-title { font-size: 20px; }
  .aw-footer .aw-fnote { text-align: left; }
}
