@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-garamond-cyrillic-500-normal.woff2) format("woff2"); font-weight: 500; unicode-range: U+0400-04FF; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-garamond-cyrillic-600-normal.woff2) format("woff2"); font-weight: 600; unicode-range: U+0400-04FF; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-garamond-cyrillic-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; unicode-range: U+0400-04FF; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Manrope"; src: url(assets/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 800; unicode-range: U+0400-04FF; }
@font-face { font-family: "Manrope"; src: url(assets/fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #0c0608; --bg2: #160a0e; --panel: rgba(24, 11, 16, .82);
  --wine: #7d1424; --wine-hi: #a8263a; --gold: #dcbb83; --gold-dim: #a88a5c;
  --ink: #f2e7dd; --ink2: #cdbcb1; --muted: #8f7d78; --line: rgba(220, 187, 131, .18); --line2: rgba(220, 187, 131, .34);
  --display: "Cormorant", Georgia, serif; --ui: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--ui); overflow-x: hidden; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--display); font-style: italic; color: var(--gold); font-weight: 500; }
h2 { font: 600 clamp(38px, 5vw, 72px)/1.05 var(--display); margin: 0 0 22px; letter-spacing: .01em; }
h2 em { font-weight: 500; }
.kicker { font: 700 13px/1 var(--ui); letter-spacing: .42em; color: var(--gold); margin: 0 0 18px; }
.sub { color: var(--ink2); max-width: 680px; margin: 0 auto 50px; }
section { position: relative; padding: 130px 6vw; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 700 15px/1 var(--ui); letter-spacing: .08em; padding: 18px 34px; border-radius: 999px; color: #fff1ea; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; will-change: transform; }
.btn.wine { background: linear-gradient(180deg, var(--wine-hi), var(--wine)); box-shadow: 0 18px 50px rgba(125, 20, 36, .45), 0 0 0 1px var(--line2) inset; }
.btn.wine:hover { box-shadow: 0 24px 70px rgba(168, 38, 58, .65), 0 0 0 1px var(--gold) inset; }
.btn.ghost { background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--line2) inset; backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(220, 187, 131, .1); }
.btn.small { padding: 12px 22px; font-size: 13px; }
.btn.big { padding: 24px 54px; font-size: 18px; }
.btn:active { transform: scale(.96); }

/* 18+ */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, #2a0c15, #060203 80%); transition: opacity .8s var(--ease), visibility .8s; }
.gate.gone { opacity: 0; visibility: hidden; }
.gate-box { text-align: center; max-width: 520px; padding: 30px; }
.gate-seal { width: 170px; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .7)); animation: breathe 4s ease-in-out infinite; }
.gate h2 { font-size: 46px; margin: 10px 0; }
.gate p { color: var(--ink2); }
.gate-btns { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
@keyframes breathe { 50% { transform: scale(1.05); filter: drop-shadow(0 20px 60px rgba(168, 38, 58, .55)); } }

/* угли и свет за курсором */
#embers { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.cursor-glow { position: fixed; z-index: 2; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(220, 120, 90, .1), transparent 60%); mix-blend-mode: screen; transition: opacity .4s; }
main, section, header { z-index: 3; }

/* навигация */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 5vw; transition: background .4s, padding .4s, backdrop-filter .4s; }
.nav.solid { background: rgba(12, 6, 8, .78); backdrop-filter: blur(14px); padding: 14px 5vw; box-shadow: 0 1px 0 var(--line); }
.logo { font: 600 26px/1 var(--display); letter-spacing: .18em; color: var(--gold); }
.nav nav { display: flex; gap: 28px; font: 600 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.nav nav a { color: var(--ink2); position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav nav a:hover { color: var(--ink); }
.nav nav a:hover::after { transform: none; }
.nav-secret { color: var(--wine-hi) !important; }
@media (max-width: 900px) { .nav nav { display: none; } }

/* hero */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 0 6vw; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; transform: scale(1.06); animation: heroIn 2.4s var(--ease) both; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(1.05) brightness(.62); transition: opacity 1.2s; }
@keyframes heroIn { from { transform: scale(1.25); filter: blur(20px); opacity: 0; } }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(12, 6, 8, .25), rgba(12, 6, 8, .9) 85%), linear-gradient(180deg, rgba(12, 6, 8, .6), transparent 30%, transparent 60%, var(--bg)); }
.hero-inner { position: relative; z-index: 2; }
.title { font: 600 clamp(80px, 15vw, 230px)/.85 var(--display); letter-spacing: .1em; margin: 10px 0 30px; display: flex; flex-direction: column; align-items: center; }
.title .split { display: block; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .55)); }
/* градиент на каждой букве: у анимированных букв (inline-block + transform) background-clip родителя не работает */
.title .split span { display: inline-block; background: linear-gradient(100deg, #f8e9d0 20%, var(--gold) 40%, #fff6e4 50%, var(--gold) 60%, #f8e9d0 80%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(40px) rotate(6deg); filter: blur(12px); animation: letter 1.2s var(--ease) forwards, shine 9s linear infinite; }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes shine { to { background-position: -250% 0; } }
.lead { font: italic 500 clamp(22px, 2.4vw, 32px)/1.4 var(--display); color: var(--ink2); margin: 0 0 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-notif { position: absolute; right: -30vw; top: 0; width: 360px; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line2); border-radius: 20px; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 2s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } }

/* плавающее уведомление в hero */
.toast-n { position: fixed; right: 30px; top: 110px; z-index: 20; display: flex; gap: 14px; align-items: center; width: min(380px, 90vw); padding: 14px 18px; border-radius: 22px; background: rgba(14, 6, 9, .9); border: 1px solid var(--line2); backdrop-filter: blur(12px); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: nIn .7s var(--ease) both; }
.toast-n.out { animation: nOut .6s var(--ease) both; }
.toast-n img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line2); }
.toast-n b { font: 600 20px/1 var(--display); color: var(--gold); display: block; margin-bottom: 4px; }
.toast-n p { margin: 0; font-size: 15px; line-height: 1.35; }
@keyframes nIn { from { opacity: 0; transform: translateX(60px) scale(.96); } }
@keyframes nOut { to { opacity: 0; transform: translateX(60px); } }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 60px 6vw 40px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(42, 12, 21, .35), transparent); }
.stat b { display: block; font: 600 clamp(54px, 7vw, 96px)/1 var(--display); color: var(--gold); }
.stat span { font: 600 13px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); }
.stat i { display: block; font-style: normal; color: var(--wine-hi); letter-spacing: .1em; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* переписка */
.chat-sec { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.chat-text p { color: var(--ink2); font-size: 18px; max-width: 560px; }
.chat-tabs { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chat-tabs li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; transition: all .35s var(--ease); color: var(--ink2); font-weight: 600; font-size: 14px; }
.chat-tabs li img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-tabs li.on, .chat-tabs li:hover { border-color: var(--gold); color: var(--ink); background: rgba(220, 187, 131, .08); }
.phone { position: relative; width: min(420px, 100%); height: 760px; margin: 0 auto; border-radius: 46px; padding: 14px; background: linear-gradient(160deg, #2a1a1f, #0e0709); box-shadow: 0 60px 140px rgba(0, 0, 0, .7), 0 0 0 1px var(--line2), inset 0 0 0 6px #1a0e12; display: flex; flex-direction: column; overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--ease); }
.phone:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.phone-top { display: flex; gap: 12px; align-items: center; padding: 18px 16px 14px; border-bottom: 1px solid var(--line); }
.phone-top img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-dim); }
.phone-top b { display: block; font: 600 22px/1 var(--display); color: var(--gold); }
.phone-top span { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.phone-feed { flex: 1; overflow: hidden; padding: 16px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: radial-gradient(80% 50% at 30% 0%, rgba(42, 12, 21, .6), transparent); }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.4; animation: msgIn .5s var(--ease) both; }
.msg.her { align-self: flex-start; background: rgba(36, 16, 23, .95); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: linear-gradient(180deg, var(--wine-hi), var(--wine)); border-bottom-right-radius: 6px; }
.msg.narr { align-self: center; max-width: 92%; background: none; font: italic 500 17px/1.35 var(--display); color: var(--gold-dim); text-align: center; }
.msg.typing { display: flex; gap: 5px; padding: 15px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-dim); animation: dot 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 40% { transform: translateY(-5px); opacity: .5; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.phone-choices { display: grid; gap: 8px; padding: 10px 12px 18px; min-height: 150px; align-content: end; }
.choice { padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--ink); font: 600 14.5px/1.3 var(--ui); text-align: left; animation: msgIn .5s var(--ease) both; transition: all .3s; }
.choice.pick { background: rgba(220, 187, 131, .16); border-color: var(--gold); transform: scale(1.02); }
.choice.fade { opacity: .25; }
.phone-toast { position: absolute; left: 24px; right: 24px; top: 92px; padding: 12px 16px; border-radius: 14px; background: rgba(14, 6, 9, .95); border: 1px solid var(--gold); font: italic 500 18px/1.2 var(--display); color: var(--gold); text-align: center; opacity: 0; transform: translateY(-14px); transition: all .5s var(--ease); }
.phone-toast.on { opacity: 1; transform: none; }
@media (max-width: 900px) { .chat-sec { grid-template-columns: 1fr; } .phone { transform: none; height: 680px; } }

/* персонажи */
.cast-sec, .fate-sec, .worlds-sec, .videos-sec, .secret-sec, .final { text-align: center; }
.cast-filter { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); margin: 10px 0 50px; }
.cast-filter button { border: 0; background: none; color: var(--ink2); font: 700 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: all .3s; }
.cast-filter button.on { background: var(--wine); color: #fff; }
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; text-align: left; }
.card { position: relative; aspect-ratio: 3/4.3; border-radius: 22px; overflow: hidden; cursor: pointer; border: 1px solid var(--line); background: var(--bg2); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s, opacity .5s, filter .5s; }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1.2s var(--ease), opacity .6s; }
.card video { opacity: 0; }
.card:hover video { opacity: 1; }
.card:hover img { transform: scale(1.07); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 4, 6, .96) 88%); }
.card .ci { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.card h3 { margin: 0; font: 600 34px/1 var(--display); letter-spacing: .06em; }
.card .role { font: 700 11px/1.3 var(--ui); letter-spacing: .18em; color: var(--gold); text-transform: uppercase; margin: 8px 0 0; }
.card .chip { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 700 10.5px/1 var(--ui); letter-spacing: .16em; background: rgba(12, 6, 8, .7); border: 1px solid var(--line2); color: var(--ink2); }
.card .chip.live { border-color: var(--gold); color: var(--gold); }
.card .vid-mark { position: absolute; top: 14px; right: 14px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(125, 20, 36, .85); font-size: 11px; }
.card:hover { box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--gold); }
.card.hide { display: none; }

/* модалка героя */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(6, 2, 3, .86); backdrop-filter: blur(12px); animation: fadeIn .4s var(--ease); padding: 20px; }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-x { position: absolute; top: 18px; right: 26px; background: none; border: 0; color: var(--ink); font-size: 46px; cursor: pointer; }
.modal-body { width: min(1100px, 100%); max-height: 90vh; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.94) translateY(20px); opacity: 0; } }
.modal-body video.wide { width: 100%; border-radius: 18px; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.hero-card { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; text-align: left; background: var(--panel); border: 1px solid var(--line2); border-radius: 28px; overflow: hidden; }
.hero-card .media { height: 600px; position: relative; }
.hero-card .media img, .hero-card .media video { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-card .txt { padding: 40px 40px 40px 0; }
.hero-card h3 { font: 600 64px/1 var(--display); margin: 0 0 10px; }
.hero-card .q { font: italic 500 26px/1.35 var(--display); color: var(--ink); margin: 26px 0; }
.hero-card .w { color: var(--ink2); }
@media (max-width: 800px) { .hero-card { grid-template-columns: 1fr; } .hero-card .media { height: 360px; } .hero-card .txt { padding: 0 24px 30px; } }

/* последствия */
.fate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.fate { height: 300px; perspective: 1200px; cursor: pointer; }
.fate-in { position: relative; width: 100%; height: 100%; transition: transform 1s var(--ease); transform-style: preserve-3d; }
.fate:hover .fate-in, .fate.flip .fate-in { transform: rotateY(180deg); }
.fate-f, .fate-b { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; overflow: hidden; }
.fate-f { border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(10, 4, 6, .2), rgba(10, 4, 6, .92)), var(--img) center 20%/cover; }
.fate-f small, .fate-b small { font: 700 11px/1 var(--ui); letter-spacing: .24em; color: var(--gold); }
.fate-f h4 { margin: 0; font: italic 500 27px/1.2 var(--display); }
.fate-f h4::before { content: "Ты решаешь: "; display: block; font: 700 11px/2 var(--ui); font-style: normal; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.fate-b { transform: rotateY(180deg); background: radial-gradient(100% 80% at 0% 0%, #3a0d18, #120609); border: 1px solid var(--wine-hi); }
.fate-b p { margin: 0; font: 500 21px/1.4 var(--display); color: var(--ink); }
.fate-b.good { background: radial-gradient(100% 80% at 0% 0%, #2b2412, #120a06); border-color: var(--gold); }
.fate-b .tag { font: 700 11px/1 var(--ui); letter-spacing: .2em; color: var(--wine-hi); }
.fate-b.good .tag { color: var(--gold); }

/* миры */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.world { position: relative; height: 460px; perspective: 1600px; cursor: pointer; outline: none; }
.world .flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.world.open .flip { transform: rotateY(180deg); }
.world .face { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line); transition: border-color .5s, box-shadow .5s var(--ease); }
.world:hover .face, .world:focus-visible .face { border-color: var(--gold); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.world .front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.world:hover .front img { transform: scale(1.04); }
.world .front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 4, 6, .95)); }
.world .wt { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; text-align: left; }
.world h3 { margin: 6px 0 0; font: 600 34px/1.05 var(--display); }
.world .who { font: 700 11px/1.5 var(--ui); letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.world .turn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 11px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); opacity: .75; }
.world .turn svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2; }
.world .back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 30px 28px; text-align: left; background: radial-gradient(120% 80% at 0% 0%, rgba(125, 20, 36, .35), transparent 60%), linear-gradient(160deg, #1c1014, #0c0608); }
.world .back::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 18px; pointer-events: none; }
.world .back h3 { font-size: 40px; color: var(--gold); }
.world .back p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.6; }
.world .back .turn { margin-top: 4px; }
@media (max-width: 1000px) { .worlds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .worlds { grid-template-columns: 1fr; } .world { height: 500px; } .world .back { padding: 26px 22px; } }

/* ролики */
.reels { max-width: 1200px; margin: 0 auto; display: grid; gap: 22px; }
.reels-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.reels-tall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line2); background: #000; cursor: pointer; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.reels-tall .reel { flex: 0 0 calc((100% - 6 * 14px) / 7); }
.reel.wide { aspect-ratio: 16/9; }
.reel:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px var(--gold); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font: 700 12px/1.2 var(--ui); letter-spacing: .2em; text-align: left; }
.reels-tall .reel span { padding: 30px 8px 12px; font-size: 10.5px; letter-spacing: .14em; text-align: center; }
.reel .play { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 6, 8, .55); border: 1px solid var(--gold); backdrop-filter: blur(6px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.reel .play svg { width: 22px; height: 22px; fill: var(--gold); margin-left: 3px; }
.reel:hover .play { opacity: 0; transform: scale(.8); }
.reels-tall .reel .play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
@media (max-width: 1100px) { .reels-tall .reel { flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 700px) { .reels-wide { grid-template-columns: 1fr; } .reels-tall .reel { flex-basis: calc((100% - 14px) / 2); } }

/* тайна */
.secret-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; max-width: 1200px; margin: 0 auto; }
.secret { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(168, 38, 58, .5); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s; }
.secret.big { grid-column: span 2; grid-row: span 2; }
.secret.wide { grid-column: span 2; }
.secret:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 40px rgba(168, 38, 58, .35); }
.secret img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: blur(9px) saturate(1.25) brightness(.85); animation: drift 9s ease-in-out infinite alternate; transition: filter .8s; }
.secret:hover img { filter: blur(7px) saturate(1.35) brightness(.95); }
.secret:nth-child(2n) img { animation-delay: -4s; }
.secret::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(220, 187, 131, .14) 50%, transparent 60%); transform: translateX(-120%); animation: sweep 8s ease-in-out infinite; pointer-events: none; }
.secret:nth-child(3n)::after { animation-delay: -3s; } .secret:nth-child(3n+1)::after { animation-delay: -5.5s; }
@keyframes sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.secret .age { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; font: 700 10.5px/1 var(--ui); letter-spacing: .2em; color: var(--gold); background: rgba(12, 6, 8, .65); border: 1px solid var(--line2); }
.secret .lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 0 16px; background: radial-gradient(circle, rgba(12, 6, 8, .15), rgba(12, 6, 8, .75)); }
.secret .lock svg { width: 34px; height: 34px; stroke: var(--gold); filter: drop-shadow(0 0 12px rgba(220, 187, 131, .5)); animation: breathe 3s ease-in-out infinite; }
.secret .lock b { font: 600 30px/1 var(--display); color: var(--gold); letter-spacing: .04em; }
.secret .lock i { font: italic 500 18px/1.25 var(--display); color: var(--ink2); }
.secret.big .lock svg { width: 46px; height: 46px; }
.secret.big .lock b { font-size: 52px; }
.secret.big .lock i { font-size: 24px; }
.secret-note { color: var(--muted); font-size: 14px; margin-top: 34px; }
@media (max-width: 800px) { .secret-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .secret.big .lock b { font-size: 40px; } }

/* финал */
.final { min-height: 90vh; display: grid; place-content: center; justify-items: center; overflow: hidden; }
.final-bg { position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 50%, #3a0d18, transparent 70%); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(1.1); } }
.final-seal { width: 200px; position: relative; animation: breathe 4s ease-in-out infinite; }
.final h2 { position: relative; margin-top: 20px; }
.final p { position: relative; font-size: 28px; margin: 0 0 30px; }
.fine { color: var(--muted); font-size: 12px; letter-spacing: .14em; margin-top: 60px; text-transform: uppercase; }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; filter: none; } }
@media (max-width: 700px) {
  .toast-n { right: 12px; top: 74px; width: calc(100vw - 24px); }
  .nav .btn.small { padding: 10px 14px; font-size: 11px; white-space: nowrap; }
  .logo { font-size: 20px; }
  section { padding: 90px 18px; }
  .hero-bg { grid-template-columns: 1fr; }
  .hero-bg video:not(:first-child) { display: none; }
}

/* нижняя навигация на телефоне (владелец 21.11: «футер, чтобы был ориентир по сайту») */
.mnav { display: none; }
@media (max-width: 900px) {
  .mnav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(12, 6, 8, .9); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); }
  .mnav a { flex: 1; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    font: 600 10px/1 var(--ui); letter-spacing: 0; color: var(--muted); white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: color .3s; }
  .mnav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mnav a.on { color: var(--gold); }
  .mnav a.mnav-secret { color: var(--wine-hi); }
  .mnav a.mnav-secret.on { color: #e0566a; }
  .mnav a:active { transform: scale(.94); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.locked .mnav { display: none; }
}

/* ---------- «Напиши ей» — мини-игра и предзаказ (владелец 22.11) ---------- */
.try-sec { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.try-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 14px; }
.try-pick button { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink2); font: 600 14px var(--ui); cursor: pointer; transition: all .3s var(--ease); }
.try-pick button img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.try-pick button.on, .try-pick button:hover { border-color: var(--gold); color: var(--ink); background: rgba(220, 187, 131, .08); }
.try-restart { background: none; border: 0; color: var(--gold-dim); font: 600 13px var(--ui); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.try-phone { transform: none; }
.try-phone:hover { transform: none; }
.try-feed { overflow-y: auto; justify-content: flex-start; scrollbar-width: none; }
.try-feed::-webkit-scrollbar { display: none; }
.try-feed > :first-child { margin-top: auto; }
.try-choices { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 14px; }
.try-choices .choice { cursor: pointer; }
.try-choices .choice:hover { border-color: var(--gold); background: rgba(220, 187, 131, .1); }
.try-cta { display: none; margin: 0 12px 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(180deg, var(--wine-hi), var(--wine)); color: #fff; font: 600 14px/1.35 var(--ui); text-decoration: none; text-align: center; }
.try-cta.on { display: block; animation: msgIn .5s var(--ease) both; }
.preorder { position: relative; z-index: 1; width: min(560px, 92vw); margin: 0 auto 34px; padding: 26px 26px 18px; border-radius: 22px; border: 1px solid var(--line2); background: rgba(16, 8, 11, .82); backdrop-filter: blur(8px); text-align: left; }
.preorder h3 { margin: 0 0 6px; font: 600 30px/1.1 var(--display); color: var(--gold); scroll-margin-top: 120px; }
.preorder p { font-size: 15px; margin: 0 0 14px; color: var(--ink2); }
.preorder-row { display: flex; gap: 10px; margin-bottom: 12px; }
.preorder-row input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .35); color: var(--ink); font: 500 16px var(--ui); }
.preorder-row input:focus { outline: none; border-color: var(--gold); }
.preorder label { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; font-size: 14px; color: var(--ink2); cursor: pointer; }
.preorder label input { margin-top: 3px; accent-color: var(--wine-hi); }
.preorder button:disabled { opacity: .5; cursor: default; }
.preorder .preorder-msg { margin: 10px 0 0; min-height: 1.2em; font-size: 14px; color: var(--gold); }
.preorder .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 900px) {
  .try-sec { grid-template-columns: 1fr; }
  .try-phone { height: 620px; }
  .preorder-row { flex-direction: column; }
}

/* ---------- «Об игре» и SEO (22.11) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.about-sec { max-width: 1240px; margin: 0 auto; }
.about-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5vw; margin-top: 30px; align-items: start; }
.about-text p { color: var(--ink2); font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.about-sec h3 { font: 600 26px/1.2 var(--display); color: var(--gold); margin: 26px 0 12px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.about-list li { color: var(--ink2); line-height: 1.55; padding-left: 16px; border-left: 2px solid var(--line2); }
.about-list b { color: var(--ink); }
.about-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.about-faq summary { cursor: pointer; font: 600 17px/1.35 var(--ui); color: var(--ink); list-style: none; }
.about-faq summary::-webkit-details-marker { display: none; }
.about-faq summary::after { content: '+'; float: right; color: var(--gold); }
.about-faq details[open] summary::after { content: '−'; }
.about-faq details p { color: var(--ink2); margin: 8px 0 0; line-height: 1.6; }
@media (max-width: 900px) { .about-cols { grid-template-columns: 1fr; } }
.nav nav a { white-space: nowrap; }
@media (max-width: 1350px) { .nav nav { gap: 18px; letter-spacing: .08em; font-size: 12px; } }
@media (max-width: 1150px) { .nav nav a[href="#fate"], .nav nav a[href="#about"] { display: none; } }

/* ---------- Страницы героинь (22.11, SEO) ---------- */
body.hp { background: radial-gradient(70% 50% at 70% 0%, #2a0c15, var(--bg, #0b0608) 70%); }
.hp .nav { background: rgba(11, 6, 8, .85); backdrop-filter: blur(10px); }
.hp-main { max-width: 1180px; margin: 0 auto; padding: 120px 5vw 60px; }
.hp-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hp-crumbs a { color: var(--gold-dim); }
.hp-hero { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 5vw; align-items: start; }
.hp-portrait { width: 100%; border-radius: 22px; border: 1px solid var(--line2); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); position: sticky; top: 100px; }
.hp-body h1 { font: 600 clamp(40px, 6vw, 76px)/1 var(--display); margin: 6px 0 14px; color: var(--ink); }
.hp-epi { font: italic 500 24px/1.35 var(--display); color: var(--gold); margin: 0 0 8px; }
.hp-facts { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.hp-body > p:not(.kicker):not(.hp-epi):not(.hp-facts) { color: var(--ink2); font-size: 17.5px; line-height: 1.75; margin: 0 0 14px; }
.hp-body .hero-cta { margin-top: 26px; justify-content: flex-start; }
.hp-world, .hp-video, .hp-more { margin-top: 64px; }
.hp-world h2, .hp-more h2 { font: 600 34px/1.1 var(--display); color: var(--gold); margin: 0 0 12px; }
.hp-world p { color: var(--ink2); font-size: 18px; line-height: 1.7; max-width: 70ch; }
.hp-video video { display: block; max-height: 80vh; max-width: 100%; margin: 0 auto; border-radius: 20px; border: 1px solid var(--line2); }
.hp-others { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-other { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); font-weight: 600; }
.hp-other img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hp-other:hover { border-color: var(--gold); color: var(--ink); }
.hp .fine { margin-top: 60px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .hp-hero { grid-template-columns: 1fr; } .hp-portrait { position: static; max-width: 420px; margin: 0 auto; } .hp .nav nav { display: none; } .hp-main { padding-top: 96px; } }

/* ---------- Полоса прокрутки (владелец 22.11, вариант 2): видна только при наведении ---------- */
* { scrollbar-width: thin; scrollbar-color: transparent transparent; }
*:hover { scrollbar-color: rgba(168, 38, 58, 0.75) transparent; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; border-radius: 6px; }
*:hover::-webkit-scrollbar-thumb { background: rgba(168, 38, 58, 0.75); }
::-webkit-scrollbar-button { display: none; }

/* переключатель языка RU / EN (22.11) */
.lang-switch { margin-left: auto; margin-right: 14px; font: 600 12px/1 var(--ui); letter-spacing: .16em; color: var(--ink2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; transition: color .3s, border-color .3s; }
.lang-switch:hover { color: var(--ink); border-color: var(--gold); }
@media (max-width: 900px) { .lang-switch { margin-right: 8px; padding: 7px 10px; } }

/* ---------- телефон: шапка закреплена ровно, ничего не прячется под нижним меню (владелец 22.11) ---------- */
body { overflow-x: hidden; overflow-x: clip; } /* clip не делает body прокручиваемым: на iPhone fixed-шапка перестаёт «ездить» */
@media (max-width: 900px) {
  .nav, .nav.solid { padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: rgba(12, 6, 8, .88);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transition: none; transform: translateZ(0); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .preorder { scroll-margin-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .preorder label { padding: 8px 0; font-size: 15px; align-items: center; }
  .preorder label input { width: 22px; height: 22px; margin: 0; flex: none; }
}

/* ---------- «Спасибо» после заявки ---------- */
.preorder-thanks { display: grid; justify-items: center; gap: 10px; padding: 18px 8px 10px; text-align: center; animation: thanksIn .7s var(--ease) both; }
.preorder-thanks img { width: 92px; height: 92px; filter: drop-shadow(0 10px 30px rgba(168, 38, 58, .55)); animation: thanksSeal 1.1s var(--ease) both; }
.preorder-thanks h3 { margin: 6px 0 0; font: 600 34px/1.1 var(--display); color: var(--gold); }
.preorder-thanks p { margin: 0; max-width: 360px; font-size: 16px; color: var(--ink); }
.preorder-thanks small { color: var(--muted); font-size: 13px; }
@keyframes thanksIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes thanksSeal { 0% { opacity: 0; transform: scale(1.6) rotate(-14deg); } 60% { opacity: 1; transform: scale(.94) rotate(3deg); } 100% { transform: none; } }
