/* Сюаньлин — сайт игры. Стиль: нефрит + золото + алые печати, как интерфейс игры. */
@font-face { font-family: "Philosopher"; src: url(../assets/fonts/philosopher-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Philosopher"; src: url(../assets/fonts/philosopher-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url(../assets/fonts/ptsans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url(../assets/fonts/ptsans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "XL Serif SC"; src: url(../assets/fonts/notoserifsc-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "XL Sans SC"; src: url(../assets/fonts/notosanssc-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "XL Sans SC"; src: url(../assets/fonts/notosanssc-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #06110e;
  --jade-900: #081612;
  --jade-800: #0c211c;
  --jade-700: #123129;
  --jade-600: #1a4238;
  --jade-400: #2f7a67;
  --gold: #e8c37b;
  --gold-hi: #fbe7b8;
  --gold-lo: #a8752f;
  --crimson: #a61c2c;
  --cream: #f6e8cd;
  --text: #e6ddcb;
  --muted: #a9b8b0;
  --radius: 14px;
  --head: "Philosopher", "XL Serif SC", Georgia, serif;
  --body: "PT Sans", "XL Sans SC", "Segoe UI", Arial, sans-serif;
  --nav-h: 64px;
  color-scheme: dark;
}
:lang(zh) { --head: "XL Serif SC", "Philosopher", serif; --body: "XL Sans SC", "PT Sans", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--jade-900); color: var(--text);
  font: 400 17px/1.65 var(--body); overflow-x: hidden;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 195, 123, .08), transparent 60%),
    linear-gradient(180deg, rgba(8, 22, 18, .82), rgba(6, 17, 14, .96)),
    url(../assets/img/bg_sect.webp);
  background-size: auto, auto, cover; background-attachment: scroll, scroll, fixed; background-position: center;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

/* пока язык определяется (≤0.9 с) текст скрыт; страховка — через 1.5 с показать в любом случае */
html.i18n-wait .hero-content, html.i18n-wait main > .section, html.i18n-wait .footer { opacity: 0; animation: xl-show .3s 1.5s forwards; }
@keyframes xl-show { to { opacity: 1; } }
.hero-content, main > .section, .footer { transition: opacity .35s ease; }

#petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* ---------- рамка из интерфейса игры (textbox.png: нефрит + золотой орнамент) ---------- */
.frame {
  border: 30px solid transparent;
  border-image: url(../assets/img/frame.png) 86 fill / 34px / 0 stretch;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
}

/* ---------- навигация ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 50;
  display: flex; align-items: center; gap: 18px; padding: 0 clamp(14px, 3vw, 36px);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.solid { background: rgba(8, 22, 18, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(232, 195, 123, .25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); font: 700 20px/1 var(--head); letter-spacing: .08em; white-space: nowrap; }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font: 700 15px/1 var(--body); letter-spacing: .04em; padding: 10px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-hi); background: rgba(232, 195, 123, .09); }
.lang { display: flex; border: 1px solid rgba(232, 195, 123, .45); border-radius: 999px; overflow: hidden; background: rgba(6, 17, 14, .55); }
.lang button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 700 13px/1 var(--body); padding: 8px 11px; cursor: pointer; transition: color .2s, background .2s; }
.lang button:hover { color: var(--gold-hi); }
.lang button[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); }
.burger { display: none; appearance: none; background: rgba(6, 17, 14, .6); border: 1px solid rgba(232, 195, 123, .45); border-radius: 10px; width: 44px; height: 40px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--gold); margin: 4px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate;
  background: var(--jade-900) url(../assets/img/hero_poster.jpg) 74% 40% / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(6, 17, 14, .55), rgba(6, 17, 14, .15) 70%),
    linear-gradient(180deg, rgba(6, 17, 14, .55) 0%, rgba(6, 17, 14, .1) 30%, rgba(6, 17, 14, .35) 70%, var(--jade-900) 100%);
}
.hero-content { position: relative; text-align: center; padding: calc(var(--nav-h) + 24px) 18px 90px; max-width: 980px; }
.hero-formation { position: absolute; left: 50%; top: 38%; width: min(760px, 120vw); translate: -50% -50%; opacity: .16; z-index: -1; animation: spin 120s linear infinite; pointer-events: none; }
@keyframes spin { to { rotate: 360deg; } }
.hero-logo { width: min(640px, 88vw); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); animation: rise 1.2s ease-out both; }
.tagline { font: 700 clamp(20px, 3.2vw, 30px)/1.25 var(--head); color: var(--gold-hi); margin: 18px 0 8px; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); animation: rise 1.2s .15s ease-out both; }
.hero-sub { max-width: 720px; margin: 4px auto 20px; padding: 12px 18px; color: #f3ecdd; font-size: 16.5px; line-height: 1.6;
  background: rgba(6, 17, 14, .58); border: 1px solid rgba(232, 195, 123, .38); border-radius: 12px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); animation: rise 1.2s .25s ease-out both; }
.badges { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; animation: rise 1.2s .35s ease-out both; }
.badges li { font: 700 13px/1 var(--body); letter-spacing: .05em; color: var(--cream); padding: 8px 12px; border-radius: 999px; background: rgba(6, 17, 14, .6); border: 1px solid rgba(232, 195, 123, .4); backdrop-filter: blur(4px); }
.badges .b18 { background: var(--crimson); border-color: #d4495a; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: rise 1.2s .45s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(232, 195, 123, .6); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 12px; font: 700 17px/1.1 var(--body); letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-wish {
  position: relative; overflow: hidden; color: var(--cream);
  background: linear-gradient(180deg, #1f5d4e, #0e2e27);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(251, 231, 184, .25), 0 8px 24px rgba(0, 0, 0, .45), 0 0 26px rgba(232, 195, 123, .25);
}
.btn-wish .steam-logo { height: 26px; width: auto; flex: none; }
.btn-lg .steam-logo { height: 30px; }
.btn-sep { width: 1px; align-self: stretch; margin: 2px 4px; background: linear-gradient(180deg, transparent, rgba(232, 195, 123, .7), transparent); }
.btn-wish .heart { width: 22px; height: 22px; fill: #e8475d; filter: drop-shadow(0 0 6px rgba(232, 71, 93, .6)); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } }
.btn-wish::after { content: ""; position: absolute; inset: -2px auto -2px -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(251, 231, 184, .35), transparent); transform: skewX(-18deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn-wish[href]:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(251, 231, 184, .35), 0 12px 30px rgba(0, 0, 0, .5), 0 0 34px rgba(232, 195, 123, .45); }
.btn-wish[aria-disabled="true"] { cursor: default; }
.btn-ghost { color: var(--gold-hi); border: 1px solid rgba(232, 195, 123, .55); background: rgba(6, 17, 14, .45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(232, 195, 123, .12); transform: translateY(-2px); }
.btn-lg { min-height: 60px; font-size: 19px; padding: 14px 34px; }
.wish-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .03em; }
.wish-note::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: 10px; vertical-align: 2px; }

/* ---------- разделы ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.title { text-align: center; margin: 0 0 clamp(26px, 4vw, 44px); font: 700 clamp(32px, 5vw, 54px)/1.1 var(--head); letter-spacing: .07em; text-transform: uppercase; }
:lang(zh) .title { letter-spacing: .18em; }
.title span {
  background: linear-gradient(180deg, var(--gold-hi) 15%, var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(40, 18, 6, .9)) drop-shadow(0 0 18px rgba(232, 195, 123, .25));
  display: inline-flex; align-items: center; gap: 18px;
}
.title span::before, .title span::after { content: ""; width: clamp(28px, 8vw, 110px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.title span::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.lead { text-align: center; max-width: 720px; margin: -16px auto 36px; color: var(--muted); font-size: 18px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* сюжет */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.panel { font-size: 17.5px; }
.panel p { margin: 0 0 14px; }
.panel p:last-child { margin-bottom: 0; }
.panel .accent { color: var(--gold-hi); font-family: var(--head); font-size: 19px; }
.story-art { position: relative; margin: 0; }
.story-img { width: 100%; height: auto; border-radius: var(--radius); border: 2px solid rgba(232, 195, 123, .55); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.story-cat { position: absolute; right: -14px; bottom: -34px; width: 34%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .7)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* героини */
.heroines { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.card {
  --tone: 120, 200, 170;
  position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 50% 30%, rgba(var(--tone), .42), transparent 70%), linear-gradient(180deg, var(--jade-700), var(--jade-900) 75%);
  border: 1px solid rgba(232, 195, 123, .5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(251, 231, 184, .08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(232, 195, 123, .22); border-radius: 10px; pointer-events: none; z-index: 2; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 50px rgba(0, 0, 0, .6), 0 0 30px rgba(var(--tone), .35); }
.card .portrait { aspect-ratio: 4 / 4.2; overflow: hidden; }
.card .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s ease; }
.card:hover .portrait img { transform: scale(1.04); }
.card .info { position: relative; padding: 4px 22px 24px; text-align: center; background: linear-gradient(180deg, transparent, rgba(6, 17, 14, .6) 30%); margin-top: -34px; }
.card h3 { margin: 0; font: 700 28px/1.15 var(--head); color: var(--gold-hi); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.card .role { display: inline-block; margin: 6px 0 10px; font: 700 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); padding: 6px 10px; border-radius: 999px; }
:lang(zh) .card .role { letter-spacing: .3em; }
.card p { margin: 0; font-size: 15.5px; color: var(--text); }

/* особенности */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.feat { position: relative; padding: 26px 24px 24px 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(26, 66, 56, .72), rgba(8, 22, 18, .82)); border: 1px solid rgba(232, 195, 123, .32); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); transition: border-color .3s, transform .3s; }
.feat:hover { border-color: rgba(232, 195, 123, .75); transform: translateY(-3px); }
.feat img { width: 58px; height: auto; margin-bottom: 12px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); transform: rotate(-4deg); }
.feat h3 { margin: 0 0 8px; font: 700 21px/1.25 var(--head); color: var(--gold-hi); }
.feat p { margin: 0; color: var(--text); font-size: 16px; }

/* скриншоты */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shot { appearance: none; padding: 0; border: 1px solid rgba(232, 195, 123, .4); border-radius: 10px; overflow: hidden; background: var(--jade-800); cursor: zoom-in; aspect-ratio: 16 / 9; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); transition: transform .3s, border-color .3s; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover { border-color: var(--gold); transform: translateY(-3px); }
.shot:hover img { transform: scale(1.05); }

/* трейлер */
.trailer { max-width: 980px; margin: 0 auto; }
.trailer-facade, .trailer iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
.trailer-facade { position: relative; padding: 0; cursor: pointer; background: #000; overflow: hidden; }
.trailer-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .6s; }
.trailer-facade:hover img { opacity: 1; transform: scale(1.03); }
.play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; translate: -50% -50%; border-radius: 50%; background: rgba(6, 17, 14, .7); border: 2px solid var(--gold); box-shadow: 0 0 30px rgba(232, 195, 123, .45); }
.play::after { content: ""; position: absolute; left: 36px; top: 27px; border-left: 30px solid var(--gold-hi); border-top: 19px solid transparent; border-bottom: 19px solid transparent; }

/* призыв */
.cta { max-width: none; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--jade-900), rgba(8, 22, 18, .5) 30%, rgba(8, 22, 18, .6) 70%, var(--jade-900)), url(../assets/img/library_hero.webp) center 30% / cover no-repeat; z-index: -1; }
.cta-inner { position: relative; max-width: 860px; margin: 0 auto; text-align: center; padding: 10px 12px 6px; }
.cta-seal { width: 42px; margin: -4px auto 10px; }
.cta-title { margin: 0 0 12px; font: 700 clamp(28px, 4.2vw, 44px)/1.15 var(--head); color: var(--gold-hi); text-shadow: 0 2px 0 rgba(40, 18, 6, .9), 0 0 20px rgba(232, 195, 123, .25); }
.cta-text { max-width: 620px; margin: 0 auto 24px; }
.follow, .facts-title { margin: 34px 0 14px; font: 700 20px/1.2 var(--head); color: var(--gold); letter-spacing: .06em; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.socials a, .socials span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font: 700 15px/1 var(--body); text-decoration: none; border: 1px solid rgba(232, 195, 123, .5); color: var(--cream); background: rgba(6, 17, 14, .55); transition: background .2s, transform .2s; }
.socials a:hover { background: rgba(232, 195, 123, .15); transform: translateY(-2px); }
.socials img { width: 20px; height: 20px; }
.socials .steam-logo { width: auto; height: 20px; }
.socials .off { opacity: .6; cursor: default; }
.socials .off small { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .04em; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; margin: 0; text-align: left; }
.facts div { padding: 10px 0; border-bottom: 1px solid rgba(232, 195, 123, .18); }
.facts dt { font: 700 12.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 4px 0 0; font-size: 15.5px; }

/* подвал */
.footer { text-align: center; padding: 50px 18px calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14.5px; border-top: 1px solid rgba(232, 195, 123, .2); background: rgba(4, 11, 9, .7); }
.footer p { margin: 6px auto; max-width: 760px; }
.footer .small { font-size: 12.5px; opacity: .8; }
.footer-seal { width: 30px; margin: 0 auto 14px; opacity: .9; }
.to-top { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }

/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(3, 9, 7, .92); display: grid; place-items: center; padding: 60px 70px; backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.lb-close, .lb-nav { position: absolute; appearance: none; border: 1px solid rgba(232, 195, 123, .6); background: rgba(8, 22, 18, .8); color: var(--gold-hi); border-radius: 50%; width: 50px; height: 50px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* ---------- адаптив ---------- */
@media (max-width: 1060px) {
  .heroines { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  .burger { display: block; order: 3; }
  .lang { margin-left: auto; }
  .nav { gap: 10px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 16px 18px;
    background: rgba(8, 22, 18, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(232, 195, 123, .3);
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { padding: 14px 10px; font-size: 17px; border-bottom: 1px solid rgba(232, 195, 123, .12); }
  .story-grid { grid-template-columns: 1fr; }
  .story-art { order: -1; }
  .story-cat { width: 30%; right: 6px; bottom: -26px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .lang button { padding: 8px 9px; font-size: 12.5px; }
  .hero-content { padding-bottom: 80px; }
  .hero-sub { font-size: 15px; padding: 10px 14px; }
  .hero { background-position: 27% 40%; }
  .hero-video { object-position: 27% 40%; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
  .frame { border-width: 22px; border-image-width: 26px; }
  .panel { font-size: 16px; }
  /* героини — горизонтальная карусель с прокруткой пальцем */
  .heroines { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 6px 16px 18px; scrollbar-width: none; }
  .heroines::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78%; scroll-snap-align: center; }
  .features { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .feat img { width: 50px; margin: 2px 0 0; grid-row: span 2; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .facts { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 8px; }
  .lb-nav { top: auto; bottom: 16px; translate: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
