/* =====================================================================
   Another World — новый сайт (страницы с сервера: server/src/web).
   Стиль «Ethereal Glass»: глубокий чёрный, красные свечения, стекло только на фиксированных слоях.
   Только токены /vendor/aw-tokens.css. Сначала телефон. Анимации — transform/opacity.
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Телефон: без зума двойным тапом и задержки нажатия; щипок двумя пальцами остаётся (доступность, WCAG 1.4.4) */
body, a, button, input, select, textarea, label, summary { touch-action: manipulation; }
/* iOS приближает страницу при фокусе на поле с шрифтом меньше 16px */
@media (max-width: 1024px) { input, select, textarea { font-size: max(16px, 1em); } }
body {
    margin: 0; background: var(--aw-bg); color: var(--aw-text);
    font-family: var(--aw-font-body); font-size: 1.0625rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Плёночное зерно — фиксированный слой, не мешает прокрутке */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.035;
    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 type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.mono { font-family: var(--aw-font-mono); }
.center { text-align: center; }
/* Обычные блоки — до 1240 px (владелец 24.10: «на всю ширину слишком растянуто»); на всю ширину — только карточки первого экрана (--hero-gut) */
:root { --gut: 20px; --hero-gut: clamp(16px, 3.2vw, 56px); --maxw: 1400px;   /* карточки первого экрана: шире плашки меню (1180), но не во весь монитор — владелец 25.10 */ }
@media (min-width: 768px) { :root { --gut: 32px; } }
/* ПК с боковой панелью 01–09 (от 1360 px): карточки первого экрана не заходят под неё */
@media (min-width: 1360px) { :root { --hero-gut: max(96px, 4vw); } }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--aw-accent); color: #fff; }
:root { --ease: cubic-bezier(0.32, 0.72, 0, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1); --hair: rgba(255, 255, 255, 0.09); }

/* ---------- Появление при прокрутке (IntersectionObserver в site.js) ---------- */
/* Появление блоков — только прозрачность и сдвиг (размытие убрано: оно тяжёлое для видеокарты и дёргается на слабых телефонах) */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; } .rv.d4 { transition-delay: 0.32s; }
.no-js .rv { opacity: 1; transform: none; filter: none; }

/* ---------- Кнопки: таблетка + кнопка-в-кнопке ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 6px 8px 6px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; white-space: nowrap;
    transition: transform 0.5s var(--ease), background 0.3s var(--ease), box-shadow 0.5s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn .ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform 0.5s var(--ease); }
.btn .ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .ic { transform: translate(3px, -1px) scale(1.06); }
.btn-primary { background: var(--aw-accent); color: #fff; box-shadow: 0 18px 40px -16px var(--aw-accent-glow), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary .ic { background: rgba(0, 0, 0, 0.18); }
.btn-primary:hover { background: var(--aw-accent-soft); box-shadow: 0 22px 50px -14px var(--aw-accent-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--hair); color: var(--aw-text); }
.btn-ghost .ic { background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-plain { padding: 0 24px; }
.btn-sm { min-height: 42px; padding: 4px 6px 4px 18px; font-size: 0.92rem; }
.btn-sm .ic { width: 32px; height: 32px; }

/* ---------- Плавающее меню-остров ---------- */
.nav {
    position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: var(--aw-z-nav);
    width: calc(100% - 24px); max-width: 1180px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 16px; border-radius: 999px;
    background: rgba(12, 12, 14, 0.62); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--hair); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8);
    transition: transform 0.6s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.nav-logo { display: flex; align-items: center; gap: 9px; font-family: var(--aw-font-display); font-weight: 600; letter-spacing: 0.06em; font-size: 0.92rem; white-space: nowrap; }
.nav-links { display: none; gap: 4px; }
/* пункты меню — светлые и крупнее (владелец 27.10: «текст меню хочется более светлым и больше») */
.nav-links :is(a, button) { padding: 9px 12px; border-radius: 999px; font-size: 1rem; font-weight: 500; color: var(--aw-text); white-space: nowrap; transition: color 0.3s, background 0.3s; }
.nav-links :is(a, button):hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.dd-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 0.4s var(--ease); }
/* сплошной фон: вложенный backdrop-filter внутри меню-острова в Chrome не работает */
.dd-panel { position: absolute; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); border-radius: 24px; top: 100%; left: -8px; width: 600px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd:hover .dd-btn svg, .dd:focus-within .dd-btn svg { transform: rotate(180deg); }
.dd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; border-radius: 24px 24px 0 0; background: #0c0c0e; border: 1px solid var(--hair); border-bottom: 0; }
.nav-links .dd-tile { position: relative; display: block; aspect-ratio: 3 / 4; padding: 0; border-radius: 16px; overflow: hidden; isolation: isolate; color: #fff; }
.dd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.dd-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(5,5,5,0.9)); }
.dd-tile:hover img { transform: scale(1.07); }
.dd-tile span { position: absolute; left: 10px; right: 10px; bottom: 10px; font-family: var(--aw-font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.1; }
/* «Ver los 25 juegos» — низ панели (фон панели не меняется при наведении), внутри — кнопка-ссылка со своим скруглением */
.nav-links .dd-all, .nav-links .dd-all:hover { display: block; padding: 0 10px 10px; border-radius: 0 0 24px 24px; background: #0c0c0e; border: 1px solid var(--hair); border-top: 0; }
.dd-all span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 16px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--hair); color: var(--aw-text-muted);
    font-family: var(--aw-font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.dd-all i { font-style: normal; transition: transform 0.4s var(--ease); }
.dd-all:hover span, .dd-all:focus-visible span { background: rgba(255,59,78,0.12); border-color: rgba(255,59,78,0.4); color: var(--aw-text); }
.dd-all:hover i, .dd-all:focus-visible i { transform: translateX(4px); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.05); }
.lang a { font-family: var(--aw-font-mono); font-size: 0.78rem; padding: 7px 8px; border-radius: 999px; color: var(--aw-text); opacity: 0.8; min-width: 32px; text-align: center; transition: opacity 0.3s, background 0.3s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="true"] { background: rgba(255,255,255,0.14); color: #fff; opacity: 1; }
@media (max-width: 479px) { .nav-logo span { display: none; } .nav .btn-sm { padding-left: 14px; } }

/* ---------- Кнопки-иконки шапки: контакты 🎧, бургер, закрыть ---------- */
.nav-ico { display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,255,255,0.06);
    border: 1px solid var(--hair); color: var(--aw-text); transition: background 0.3s var(--ease), transform 0.2s var(--ease); }
.nav-ico:hover, .nav-ico[aria-expanded="true"] { background: rgba(255,255,255,0.12); }
.nav-ico:active { transform: scale(0.95); }
.nav-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-right .lang, .cmenu { display: none; }
@media (min-width: 1024px) { .nav-right .lang, .cmenu { display: flex; } .nav-burger { display: none; } }
/* Меню контактов: позвонить / WhatsApp — сплошной фон (вложенный backdrop-filter в меню-острове Chrome не рисует) */
.cmenu { position: relative; }
.cmenu-pop { position: absolute; right: 0; top: calc(100% + 12px); min-width: 250px; display: grid; gap: 4px; padding: 8px; border-radius: 22px;
    background: #0c0c0e; border: 1px solid var(--hair); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); animation: pop-in 0.28s var(--ease) both; }
.cmenu-pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.cm-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; color: var(--aw-text); transition: background 0.25s var(--ease); }
.cm-item:hover, .cm-item:focus-visible { background: rgba(255,255,255,0.06); }
.cm-item > span:last-child { display: grid; gap: 2px; }
.cm-item small { color: var(--aw-text-muted); font-size: 0.72rem; }
.cm-item .ic, .btn .ic svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cm-item .ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.cm-item .ic svg { width: 18px; height: 18px; }

/* ---------- Окна: «Dónde estamos» и мобильное меню (нижний лист на телефоне) ---------- */
html.modal-open { overflow: hidden; }
dialog.sheet { width: 100%; max-width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; background: transparent; color: var(--aw-text); overflow: visible; }
dialog.sheet::backdrop { background: rgba(5,5,7,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheet-in 0.4s var(--ease) both; }
dialog.sheet[open]::backdrop { animation: fade-in 0.3s ease-out both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.sheet-in { position: relative; max-height: inherit; overflow: auto; overscroll-behavior: contain; padding: 30px 28px 28px; border-radius: 30px;
    background: #0c0c0e; border: 1px solid var(--hair); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.06); }
.sheet-x { position: absolute; top: 14px; right: 14px; }
.sheet-t { margin: 6px 0 12px; font-family: var(--aw-font-display); font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.05; }
.where-addr { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.5; }
.where-l { margin: 0 0 16px; color: var(--aw-text-muted); }
.where-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.where-list li { display: grid; gap: 3px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.where-list b { font-family: var(--aw-font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-accent-soft); }
.where .hero-cta { margin: 0; }
.where-route { justify-self: start; margin-top: 4px; font-size: 0.86rem; color: var(--aw-accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.where-route:hover { color: #fff; }
.msheet-nav { display: grid; margin: 8px 0 22px; }
.msheet-nav > :is(a, button) { display: block; width: 100%; padding: 15px 2px; text-align: left; font-family: var(--aw-font-display); font-size: 1.125rem; font-weight: 600;
    border-bottom: 1px solid var(--hair); color: var(--aw-text); }
.msheet-h { margin: 18px 0 6px; font-family: var(--aw-font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-text-muted); }
.msheet-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.msheet-sub a { padding: 12px 14px; font-size: 1.125rem; font-weight: 500; color: var(--aw-text); border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.msheet-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.msheet-contact .btn { justify-content: space-between; min-width: 0; width: 100%; min-height: 56px; padding-left: 16px; font-size: 0.98rem; }
.msheet .lang { display: inline-flex; }
@media (max-width: 767px) {
    dialog.sheet { max-width: 100%; margin: auto 0 0; max-height: 92dvh; }
    dialog.sheet[open] { animation-name: sheet-up; }
    @keyframes sheet-up { from { transform: translateY(100%); } }
    .sheet-in { border-radius: 28px 28px 0 0; padding-bottom: calc(28px + env(safe-area-inset-bottom)); border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { dialog.sheet[open], dialog.sheet[open]::backdrop, .cmenu-pop { animation: none; } }

/* ---------- Боковая панель с якорями (главная, ПК от 1360 px — уже налезает на текст разделов): стекло как у меню; названия — при наведении ---------- */
.side { display: none; }
@media (min-width: 1360px) {
    .side { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: var(--aw-z-nav); display: flex; flex-direction: column; gap: 2px; padding: 8px;
        border-radius: 30px; background: rgba(12, 12, 14, 0.62); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
        border: 1px solid var(--hair); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); }
    .side a { position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--aw-text-muted); white-space: nowrap; transition: color 0.3s, background 0.3s; }
    .side a:hover { color: var(--aw-text); background: rgba(255,255,255,0.06); }
    .side-n { font-family: var(--aw-font-mono); font-size: 0.72rem; letter-spacing: 0.08em; }
    .side-l { max-width: 0; overflow: hidden; opacity: 0; font-size: 0.9rem; transition: max-width 0.5s var(--ease), opacity 0.3s ease, margin 0.5s var(--ease); }
    .side:is(:hover, :focus-within) .side-l { max-width: 170px; opacity: 1; margin-left: 12px; }
    .side a[aria-current="true"] { color: var(--aw-text); background: rgba(255,255,255,0.08); }
    .side a[aria-current="true"] .side-n { color: var(--aw-accent-soft); }
    .side a[aria-current="true"]::before { content: ''; position: absolute; left: -5px; top: 50%; width: 3px; height: 16px; margin-top: -8px; border-radius: 2px; background: var(--aw-accent); box-shadow: 0 0 10px var(--aw-accent); }
}

/* ---------- Нижняя панель брони на телефоне (после первого экрана) ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--aw-z-nav);
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px;
    background: rgba(12,12,14,0.72); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--hair);
    transform: translateY(160%); transition: transform 0.6s var(--ease); }
.mbar.show { transform: none; }
.mbar-txt { display: grid; line-height: 1.2; font-size: 0.8rem; color: var(--aw-text-muted); }
.mbar-txt b { color: var(--aw-text); font-size: 1rem; }
@media (min-width: 1024px) { .mbar { display: none; } }

.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; }

/* ---------- Первый экран: 4 направления 2×2 на весь экран, без текста; при наведении блок растёт и раскрывает пункты и бронь ---------- */
.hero4 { position: relative; padding: 104px var(--hero-gut) 8px; }
/* Первый экран по макету владельца 24.10: заголовок по центру + 4 широкие карточки 2×2, шире верхней плашки */
.h4-head { text-align: center; margin: 0 auto 26px; max-width: 900px; }
/* Видимый H1 (SEO, владелец 25.10): маленькая строка над главным заголовком */
.h4-kicker { margin: 0 0 12px; text-align: center; font-family: var(--aw-font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aw-text-muted); }
.h4-title { margin: 0; font-family: var(--aw-font-display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(255,255,255,0.12); }
.h4-title em { font-style: normal; color: var(--aw-accent); text-shadow: 0 0 34px rgba(255,59,78,0.45); }
.h4-lead { margin: 10px 0 0; color: var(--aw-text-muted); font-size: clamp(0.95rem, 1.4vw, 1.1rem); }
.cards4 { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: var(--maxw); margin: 0 auto; }
.card4 { position: relative; isolation: isolate; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 18px;
    background: #101014; border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
    animation: card4-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: calc(var(--i) * 70ms);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s ease; }
.card4 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
/* Затемнение снизу, чтобы белый текст читался на любой картинке */
.card4::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(8,8,10,0) 35%, rgba(8,8,10,0.55) 62%, rgba(8,8,10,0.92) 100%); }
.card4-go { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(12,12,14,0.62); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.card4-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card4-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 2px; }
.card4-kicker { font-family: var(--aw-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-accent-soft); }
.card4-title { font-family: var(--aw-font-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: #fff; }
.card4-sub { color: rgba(255,255,255,0.88); font-size: clamp(0.92rem, 1.2vw, 1.05rem); }
.card4-cta { margin-top: 10px; justify-self: start; padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #fff; background: rgba(255,59,78,0.22); border: 1px solid rgba(255,59,78,0.5); transition: background 0.3s var(--ease); }
.card4:hover .card4-cta { background: var(--aw-accent); }
.card4:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
/* Наведение (владелец 24.10: «живее»): карточка наклоняется за курсором в 3D, картинка уходит в глубину навстречу,
   по стеклу бежит блик от курсора, текст чуть приподнимается. Значения --rx/--ry/--mx/--my ставит site.js. */
.cards4 { perspective: 1400px; }
.card4::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), rgba(255,59,78,0.08) 35%, transparent 65%);
    mix-blend-mode: screen; }
.card4-body, .card4-go { z-index: 2; }
.card4-body { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) {
    .card4.tilt { transition: transform 0.18s ease-out, border-color 0.4s ease, box-shadow 0.6s ease; }
    .card4:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.012);
        border-color: rgba(255,59,78,0.45); box-shadow: 0 50px 80px -34px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,59,78,0.25), 0 24px 70px -24px rgba(255,59,78,0.45); }
    .card4:hover::after { opacity: 1; }
    .card4:hover img { transform: scale(1.12) translate(var(--px, 0px), var(--py, 0px)); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    .card4:hover .card4-body { transform: translate(calc(var(--px, 0px) * -0.6), -4px); }
    .card4:hover .card4-go { background: var(--aw-accent); border-color: var(--aw-accent); transform: rotate(-45deg) scale(1.08); box-shadow: 0 0 24px rgba(255,59,78,0.6); }
}
.card4:active { transform: scale(0.99); }
@keyframes card4-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@media (min-width: 760px) { .cards4 { grid-template-columns: 1fr 1fr; gap: 14px; } .card4 { aspect-ratio: 2.15 / 1; } }
@media (min-width: 760px) and (max-height: 820px) { .card4 { aspect-ratio: 2.25 / 1; } }
@media (prefers-reduced-motion: reduce) { .card4, .card4 img, .card4-go { animation: none; transition: none; } }
/* Фон — как в админке (владелец 24.10): графит, сверху слабый красный свет
   (владелец 24.10: «жидкость» не продаёт — клиенты в основном родители 30+ с детьми). */
.page-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(120% 60% at 50% -10%, rgba(255, 59, 78, 0.10), transparent 60%), var(--aw-bg); overflow: hidden; }
/* Как в админке: два слоя мягких свечений плывут каждый своим путём (только transform — дёшево) */
.page-fx::before, .page-fx::after { content: ""; position: absolute; pointer-events: none; }
.page-fx::before { inset: -20%;
    background: radial-gradient(32% 38% at 22% 30%, rgba(255, 59, 78, 0.13), transparent 70%), radial-gradient(28% 34% at 82% 82%, rgba(255, 181, 71, 0.07), transparent 70%), radial-gradient(40% 40% at 70% 10%, rgba(255, 59, 78, 0.06), transparent 70%);
    animation: fx-drift 38s ease-in-out infinite alternate; }
.page-fx::after { inset: -10%;
    background: radial-gradient(26% 30% at 62% 55%, rgba(255, 59, 78, 0.08), transparent 70%), radial-gradient(22% 26% at 14% 86%, rgba(255, 181, 71, 0.05), transparent 70%);
    animation: fx-drift-b 22s ease-in-out infinite alternate; }
@keyframes fx-drift { to { transform: translate3d(4%, -3%, 0) scale(1.06); } }
@keyframes fx-drift-b { 40% { transform: translate3d(-5%, 4%, 0) scale(0.94); } to { transform: translate3d(3%, -5%, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .page-fx::before, .page-fx::after { animation: none; } }
/* «Жидкость» со страницы входа в админку (site.js рисует в canvas), сильнее размыта; поверх — затемнение,
   чтобы текст читался. Пока canvas не загорелся (или нет WebGL) — видны CSS-свечения выше. */
.page-fx canvas { position: absolute; inset: -8%; width: 116%; height: 116%; display: block; filter: blur(34px) saturate(0.9) brightness(1.1);
    opacity: 0; transition: opacity 1.6s ease; }
.page-fx.gl canvas { opacity: 1; }
.page-fx.gl::before { opacity: 0; transition: opacity 1.6s ease; }
.page-fx.gl::after { inset: 0; animation: none; transform: none;
    background: radial-gradient(80% 90% at 50% 40%, rgba(13,13,16,0.3), rgba(13,13,16,0.74)); }
    filter: blur(45px) saturate(1.9) brightness(1.35); opacity: 0.95; transform: scale(1.07); }
.off, .off::before, .off::after, .off *, .off *::before, .off *::after { animation-play-state: paused !important; }
.tile-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile-go { z-index: 2; pointer-events: none; }
.tile-body { z-index: 2; pointer-events: none; }
.tile-cta { pointer-events: auto; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tile-more ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.tile-more li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--aw-accent); box-shadow: 0 0 10px var(--aw-accent); }
.tile:focus-within { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px;
    font-family: var(--aw-font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aw-text);
    background: rgba(255,255,255,0.06); border: 1px solid var(--hair); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--aw-accent); box-shadow: 0 0 12px var(--aw-accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Факты: стеклянная полоса */
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border-radius: 24px; overflow: hidden; background: var(--hair); max-width: 720px; }
.facts li { display: grid; gap: 2px; padding: 16px 18px; background: rgba(10,10,12,0.78); font-size: 0.85rem; color: var(--aw-text-muted); }
.fact-n { font-family: var(--aw-font-display); font-size: 1.7rem; line-height: 1; color: var(--aw-text); font-weight: 600; }
.stats { margin: 0 auto; max-width: 980px; }
.stats li { position: relative; isolation: isolate; text-align: center; padding: 28px 16px; transition: color 0.4s ease; }
/* Владелец 25.10: цифры — Manrope (не дисплейный шрифт), значение всегда в одну строку; размер — от ширины колонки */
.stats .fact-n { font-family: 'Manrope', var(--aw-font-body, sans-serif); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; height: 1.15em; line-height: 1.15;   /* ★ из запасного шрифта не раздувает строку */
    font-size: clamp(1.05rem, 5vw, 1.6rem); display: inline-block; font-variant-numeric: tabular-nums; transition: transform 0.5s var(--ease), color 0.3s ease; }
.stats li { padding: 22px 10px; }
.stats li.hot .fact-n { color: var(--aw-accent); }
/* Цифры: появляются по очереди, считаются от нуля (site.js); под курсором — красное свечение за ним и полоска снизу */
.stats li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(240px circle at var(--x, 50%) var(--y, 50%), var(--aw-accent-glow), transparent 70%); opacity: 0; transition: opacity 0.4s ease; }
.stats li::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: 0; height: 2px; border-radius: 2px; background: var(--aw-accent); box-shadow: 0 0 12px var(--aw-accent); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.stats li:hover { color: var(--aw-text); }
.stats li:hover::before { opacity: 1; }
.stats li:hover::after { transform: scaleX(1); }
.stats li:hover .fact-n { transform: translateY(-4px) scale(1.06); color: var(--aw-accent-soft); }
.stats.rv { transform: none; filter: none; }
.stats.rv li { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.4s ease; }
.stats.rv.in li { opacity: 1; transform: none; }
.stats.rv li:nth-child(2) { transition-delay: 0.12s; } .stats.rv li:nth-child(3) { transition-delay: 0.24s; } .stats.rv li:nth-child(4) { transition-delay: 0.36s; }
.no-js .stats.rv li { opacity: 1; transform: none; }
/* «Ambient» как у YouTube (владелец 27.10: «чтобы видео взаимодействовало с фоном, больше расширялось»): цвета кадра самого
   трейлера (canvas 64×36 из site.js — второго видео нет, рассинхрона быть не может) растянуты на всю ширину секции и ±200–300 px
   по вертикали, сильно размыты; края растворяются радиальной маской. До первого кадра и на телефоне — размытый постер */
.reel-wrap { position: relative; isolation: isolate; margin-top: 40px; }
.reel-amb { position: absolute; inset: -32% 0 -40%; z-index: -1; pointer-events: none; overflow: hidden;
    left: calc((100vw - 100%) / -2); right: calc((100vw - 100%) / -2);   /* во всю ширину экрана, но не дальше его края */
    -webkit-mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,0.8) 76%, rgba(0,0,0,0.46) 88%, rgba(0,0,0,0.14) 96%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,0.8) 76%, rgba(0,0,0,0.46) 88%, rgba(0,0,0,0.14) 96%, transparent 100%); }
.reel-amb::before, .reel-amb canvas { content: ''; position: absolute; inset: 12% 14%; width: auto; height: auto; filter: blur(90px) saturate(1.2) brightness(1.15);
    transform: scale(1.55) translateZ(0); }
.reel-amb::before { background: url('/trailer-ambient.webp') center / cover; opacity: 0.6; transition: opacity 0.8s var(--ease); }
.reel-amb canvas { width: 72%; height: 76%; opacity: 0; transition: opacity 0.8s var(--ease); will-change: transform; }
.reel-amb.live canvas { opacity: 1; }
.reel-amb.live::before { opacity: 0; }
/* Вариант B: карточка растёт к центру экрана (0,9 → почти на всю ширину) и обратно — scroll-driven, без JS-прокрутки */
@supports (animation-timeline: view()) {
    .reel-wrap[data-amb="b"] .reel { animation: reel-grow linear both; animation-timeline: view(); animation-range: cover 5% cover 95%; }
}
@keyframes reel-grow { 0%, 100% { transform: scale(0.9); border-radius: 24px; } 50% { transform: scale(var(--grow, 1)); border-radius: 12px; } }
@supports not (animation-timeline: view()) {
    .reel-wrap[data-amb="b"] .reel { transform: scale(0.9); border-radius: 24px; transition: transform 0.9s var(--ease), border-radius 0.9s var(--ease); }
    .reel-wrap[data-amb="b"].grown .reel { transform: scale(var(--grow, 1)); border-radius: 12px; }
}
.reel-wrap .reel { margin-top: 0; }
.reel { margin-top: 40px; border-radius: 34px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0b0e url('/trailer_poster.webp') center / cover; border: 1px solid var(--hair); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
@supports (animation-timeline: view()) {
    .reel { animation: reel linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes reel { from { transform: scale(0.86); border-radius: 64px; filter: brightness(0.5); } to { transform: none; border-radius: 34px; filter: none; } }
}

/* Что это / для кого: фото + список с иконками */
.duo { display: grid; gap: 28px; align-items: center; }
.duo-img { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--hair); background: #111; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; }
.ilist { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.ilist li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.ilist b { display: block; font-family: var(--aw-font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 2px; }
.ilist p { margin: 0; color: var(--aw-text-muted); font-size: 0.95rem; }

/* Подарочная карта (блок со старой главной): видео карты на фоне, затемнение с красным оттенком */
.gift { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: 40px 28px; border-radius: 34px; border: 1px solid var(--hair);
    background: radial-gradient(70% 120% at 0% 0%, rgba(255,59,78,0.22), transparent 70%), #0b0b0e; }
.gift-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gift-bg video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4) contrast(1.1) saturate(0.8); }
.gift-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,59,78,0.1) 0%, rgba(5,5,5,0.85) 100%); }
.gift .section-title { margin-bottom: 14px; }
/* ===== Страница игр (владелец 26.10): 7 сцен — ролик на фоне, игра крупно, сценарии плиткой, бронь с выбранной игрой ===== */
.gp-filter button { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--hair);
    font: inherit; font-size: 0.92rem; color: var(--aw-text-muted); cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.2s var(--ease); }
.gp-filter button:hover { color: var(--aw-text); }
.gp-filter button:active { transform: scale(0.97); }
.gp-filter button[aria-pressed="true"] { background: var(--aw-text); border-color: var(--aw-text); color: #050505; font-weight: 600; }
/* Сцены «выплывают» из фона страницы (свечение .page-fx) и уходят в него. Ролик — на всю ширину, без боковой маски (она давала «коробку»).
   Сверху — длинное растворение (--ft: 40 % сцены на десктопе, не меньше 300 px) по плавной кривой, а не линейно: линейное давало полосу.
   Каждая сцена заходит под предыдущую / под шапку на --ov: верх следующей проявляется, пока низ предыдущей гаснет. */
.gstage { --ft: clamp(150px, 24%, 260px); --fb: clamp(120px, 16%, 200px); --ov: 100px;
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: calc(min(88vh, 780px) + var(--ov));
    margin-top: calc(-1 * var(--ov)); scroll-margin-top: 70px; pointer-events: none; }
.gstage-copy, .gstage-list { pointer-events: auto; }   /* перекрытие сцен не перехватывает клики у кнопок соседней сцены */
.gstage[hidden] { display: none; }
.gp-hero { position: relative; z-index: 2; }            /* фильтр — над верхом первой сцены */
.gstage-media, .gstage::before {
    --m: linear-gradient(180deg, transparent 0, rgba(0,0,0,0.02) calc(var(--ft) * 0.1), rgba(0,0,0,0.08) calc(var(--ft) * 0.25), rgba(0,0,0,0.2) calc(var(--ft) * 0.4),
        rgba(0,0,0,0.35) calc(var(--ft) * 0.55), rgba(0,0,0,0.55) calc(var(--ft) * 0.68), rgba(0,0,0,0.75) calc(var(--ft) * 0.8), rgba(0,0,0,0.92) calc(var(--ft) * 0.92), #000 var(--ft),
        #000 calc(100% - var(--fb)), rgba(0,0,0,0.9) calc(100% - var(--fb) * 0.88), rgba(0,0,0,0.6) calc(100% - var(--fb) * 0.62), rgba(0,0,0,0.3) calc(100% - var(--fb) * 0.38),
        rgba(0,0,0,0.1) calc(100% - var(--fb) * 0.16), transparent 100%);
    -webkit-mask-image: var(--m); mask-image: var(--m); }
.gstage-media { position: absolute; inset: 0; z-index: -2; }
.gstage-media video, .gstage-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gstage::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, var(--aw-bg) 0%, rgba(10,10,12,0.9) 40%, rgba(10,10,12,0.66) 75%, rgba(10,10,12,0.78) 100%); }   /* телефон: текст поверх ролика читается */
.gstage-in { display: grid; gap: 26px; padding-top: calc(var(--ov) + 110px); padding-bottom: calc(var(--ov) + 40px); }   /* текст — выше зоны, где следующая сцена заходит сверху */
.gstage-kick { margin: 0 0 10px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aw-accent-soft); }
.gstage-title { margin: 0 0 14px; font-family: var(--aw-font-display); font-weight: 700; font-size: clamp(2.4rem, 7vw, 5.2rem); line-height: 0.92; letter-spacing: -0.02em; text-wrap: balance; }
.gstage-pitch { margin: 0 0 18px; max-width: 46ch; font-size: 1.06rem; color: rgba(255,255,255,0.86); text-wrap: pretty; }
.gstage-price { display: grid; gap: 4px; margin: 0 0 22px; }
.gstage-price span { color: rgba(255,255,255,0.8); }
.gstage-price b { font-family: 'Manrope', var(--aw-font-body); font-weight: 700; font-size: 2rem; color: #fff; letter-spacing: -0.02em; white-space: nowrap; }
.gstage-price small { font-family: var(--aw-font-mono); font-size: 0.74rem; color: var(--aw-text-muted); text-transform: capitalize; }
.gstage-list-t { margin: 0 0 10px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-text-muted); }
.gstage-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.gstage-list a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.45s var(--ease), border-color 0.3s; }
.gstage-list a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,7,0.9)); }
.gstage-list img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s, transform 0.7s var(--ease); }
.gstage-list span { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; font-size: 0.84rem; font-weight: 600; line-height: 1.15; }
.gstage-list a:hover { transform: translateY(-3px); border-color: var(--aw-accent); }
.gstage-list a:hover img { opacity: 1; transform: scale(1.06); }
.gstage-list a:focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
@media (min-width: 1000px) { .gstage { --ft: clamp(300px, 40%, 460px); --fb: clamp(220px, 28%, 340px); --ov: 200px; } }
@media (min-width: 1024px) {
    /* затемнение под текстом — мягкое пятно, а не тёмная полоса от края кадра */
    .gstage::before { background: radial-gradient(ellipse 62% 70% at 24% 72%, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.62) 45%, rgba(10,10,12,0.18) 85%), rgba(10,10,12,0.14); }
    .gstage.rev::before { background: radial-gradient(ellipse 62% 70% at 76% 72%, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.62) 45%, rgba(10,10,12,0.18) 85%), rgba(10,10,12,0.14); }
    .gstage-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 56px; padding-bottom: calc(var(--ov) + 56px); }
    .gstage.rev .gstage-copy { order: 2; }
}
.gp-table { overflow-x: auto; }
.gp-table .tiers { min-width: 560px; }
.gp-table .tiers a { color: var(--aw-text); }
.gp-table .tiers a:hover { color: var(--aw-accent-soft); }
.g-part { display: inline-grid; gap: 2px; margin-top: 14px; padding: 10px 16px; border-radius: 16px; background: rgba(10,10,12,0.55); border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color 0.3s; }
.g-part span { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aw-accent-soft); }
.g-part b { font-weight: 600; }
.g-part:hover { border-color: var(--aw-accent); }


/* Страница «Tarjeta regalo»: карта-предпросмотр + выбор суммы и как купить */
.gc-grid { display: grid; gap: 32px; align-items: center; margin-top: 8px; }
.gc-card-wrap { perspective: 1200px; }
.gc-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; aspect-ratio: 1.586; max-width: 520px; padding: 26px 28px;
    border-radius: var(--aw-radius-xl); color: #fff; border: 1px solid rgba(255,255,255,0.14);
    background: radial-gradient(120% 90% at 100% 0%, rgba(255,59,78,0.55), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(120,20,60,0.6), transparent 60%), #0b0b0f;
    box-shadow: 0 40px 80px -40px rgba(255,59,78,0.45), inset 0 1px 0 rgba(255,255,255,0.12); transform: rotateY(-8deg) rotateX(4deg); transition: transform 0.8s var(--ease); }
.gc-card:hover, .gc-card-wrap:hover .gc-card { transform: none; }
.gc-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.12) 50%, transparent 65%); background-size: 250% 100%; animation: gc-shine 6s ease-in-out infinite; }
@keyframes gc-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.gc-logo { font-family: var(--aw-font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 0.95rem; }
.gc-kicker { font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aw-accent-soft); }
.gc-amount { align-self: center; font-family: 'Manrope', var(--aw-font-body); font-weight: 700; font-size: clamp(2.6rem, 8vw, 4rem); letter-spacing: -0.02em; white-space: nowrap; }
.gc-foot { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.gc-pick { border: 0; padding: 0; margin: 0 0 18px; }
.gc-pick legend { font-weight: 600; margin-bottom: 10px; }
.gc-how { margin: 0 0 22px; padding-left: 20px; display: grid; gap: 8px; color: rgba(255,255,255,0.85); }
@media (min-width: 900px) { .gc-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
@media (prefers-reduced-motion: reduce) { .gc-card { transform: none; } .gc-card::after { animation: none; } }
.gift .lead { margin: 0; color: rgba(255,255,255,0.8); }
.gift-cta { display: grid; gap: 12px; }
.gift-cta .btn { justify-content: center; }
.gift-sub { margin: 0; font-family: var(--aw-font-mono); font-size: 0.8rem; color: var(--aw-text-muted); text-align: center; }

/* Соцсети */
.social { display: grid; gap: 24px; align-items: end; padding: 36px 28px; border-radius: 34px; border: 1px solid var(--hair);
    background: radial-gradient(70% 120% at 100% 100%, rgba(255,59,78,0.28), transparent 70%), radial-gradient(60% 100% at 0% 0%, rgba(255,138,92,0.12), transparent 70%), #0b0b0e; }
.social .head { margin: 0; }
.social .btn { justify-self: start; }

/* Не нашли ответ */
.ask { max-width: 860px; margin: 0 auto; display: grid; gap: 18px; padding: 26px; border-radius: 26px; background: rgba(255,59,78,0.07); border: 1px solid rgba(255,59,78,0.22); }
.ask b { font-family: var(--aw-font-display); font-size: 1.3rem; font-weight: 600; }
.ask p { margin: 4px 0 0; color: var(--aw-text-muted); }

/* ---------- Секции ---------- */
.section { position: relative; padding-top: 96px; }
.hero4 + .section { padding-top: 40px; } /* сразу под 4 блоками — без лишней пустоты */
.section.first { padding-top: 128px; }
.head { display: grid; gap: 14px; margin-bottom: 36px; justify-items: start; }
.head.center { justify-items: center; text-align: center; }
.section-title { margin: 0; font-family: var(--aw-font-display); font-weight: 600; font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.section-title em { font-style: normal; color: var(--aw-accent); }
.lead { max-width: 58ch; color: var(--aw-text-muted); font-size: 1.08rem; margin: 0; }

/* Двойная рамка (оболочка + сердцевина) */
.shell { padding: 6px; border-radius: 30px; background: rgba(255,255,255,0.035); border: 1px solid var(--hair); }
.core { border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); box-shadow: inset 0 1px 1px rgba(255,255,255,0.08); overflow: hidden; }

/* ---------- Плитки направлений ---------- */
.tile { position: relative; display: block; min-height: 280px; border-radius: 30px; overflow: hidden; isolation: isolate; border: 1px solid var(--hair); background: #111; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,5,0.05) 20%, rgba(5,5,5,0.88) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: grid; gap: 6px; }
.tile-kicker { font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.tile-title { font-family: var(--aw-font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 600; line-height: 1.02; }
.tile-sub { color: rgba(255,255,255,0.75); font-size: 0.95rem; max-width: 36ch; }
.tile-go { position: absolute; right: 18px; top: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 0.6s var(--ease), background 0.4s; }
.tile-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.tile:hover .tile-go { transform: rotate(-45deg) scale(1.06); background: var(--aw-accent); }

/* ---------- Лента игр ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 14px; overflow-x: auto; padding: 4px var(--gut) 20px; margin: 0 calc(-1 * var(--gut)); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.game-grid { display: grid; gap: 14px; }
.game { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: #0d0d10; border: 1px solid var(--hair); transition: transform 0.6s var(--ease), border-color 0.4s; }
.game:hover { transform: translateY(-4px); border-color: rgba(255,59,78,0.35); }
.game-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #16161a; }
.game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.game:hover .game-img img { transform: scale(1.07); }
.game-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,13,16,0.95)); }
.game-body { display: grid; gap: 10px; align-content: start; padding: 4px 20px 20px; }
.game-body h3 { margin: 0; font-family: var(--aw-font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.1; }
.game-body p { margin: 0; color: var(--aw-text-muted); font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--aw-font-mono); font-size: 0.7rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72); }
.top-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--aw-accent); color: #fff; font-family: var(--aw-font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 10px 24px -8px var(--aw-accent-glow); }
.game .btn { margin-top: 4px; justify-self: start; }

.filter { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--hair); font-size: 0.92rem; color: var(--aw-text-muted); transition: background 0.3s, color 0.3s; }
.filter a:hover { color: var(--aw-text); }
.filter a[aria-current="page"] { background: var(--aw-text); border-color: var(--aw-text); color: #050505; font-weight: 600; }

/* ---------- Иконка в кружке ---------- */
.why-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(12,12,14,0.62); border: 1px solid rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
/* Иконки белые на тёмной подложке: на красном фоне-«жидкости» красное на красном не читалось (владелец 24.10) */
.why-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Как это работает ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps .core { position: relative; padding: 26px; height: 100%; }
.steps b { display: block; margin-top: 30px; font-family: var(--aw-font-display); font-size: 1.25rem; font-weight: 600; }
.steps span.d { color: var(--aw-text-muted); font-size: 0.95rem; }
.step-n { position: absolute; top: 18px; right: 22px; font-family: var(--aw-font-display); font-size: 3.4rem; line-height: 1; color: rgba(255,255,255,0.06); }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aw-accent); box-shadow: 0 0 16px var(--aw-accent); }
.steps .hot .core { background: linear-gradient(180deg, rgba(255,59,78,0.16), rgba(255,59,78,0.04)); }

/* ---------- Метки ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--hair); font-size: 0.88rem; }

/* ---------- Цены ---------- */
.price-grid { display: grid; gap: 12px; }
.price .core { padding: 28px 24px; height: 100%; display: grid; align-content: start; gap: 6px; }
.price h3 { margin: 0; font-family: var(--aw-font-display); font-size: 1.4rem; font-weight: 600; }
.price-meta { font-family: var(--aw-font-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--aw-accent-soft); }
.price-n { font-family: var(--aw-font-display); font-size: 3.4rem; line-height: 1; font-weight: 600; margin: 14px 0 2px; }
.price-n small { font-size: 1rem; color: var(--aw-text-muted); font-family: var(--aw-font-body); font-weight: 400; margin-left: 4px; }
.price-unit { color: var(--aw-text-muted); font-size: 0.92rem; margin: 0 0 16px; }
.price.featured .shell { background: linear-gradient(180deg, rgba(255,59,78,0.35), rgba(255,59,78,0.05)); border-color: rgba(255,59,78,0.35); }
.tiers { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 6px 0 18px; }
.tiers th, .tiers td { padding: 9px 0; border-bottom: 1px solid var(--hair); text-align: left; }
.tiers th { font-weight: 400; color: var(--aw-text-muted); font-size: 0.8rem; }
.tiers td:not(:first-child), .tiers th:not(:first-child) { text-align: right; font-family: var(--aw-font-mono); }
.tiers s { color: var(--aw-text-faint); margin-right: 6px; }

/* ---------- Отзывы, FAQ, место ---------- */
.reviews { display: grid; gap: 12px; }
.review .core { padding: 24px; height: 100%; }
.review blockquote { margin: 10px 0; font-size: 1.02rem; }
.review figcaption { color: var(--aw-text-muted); font-size: 0.85rem; }
.stars { color: #f5b301; letter-spacing: 2px; }
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto 32px; }
.faq details { border-radius: 22px; background: rgba(255,255,255,0.035); border: 1px solid var(--hair); transition: background 0.3s; }
.faq details[open] { background: rgba(255,255,255,0.06); }
.faq summary { cursor: pointer; padding: 20px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: var(--aw-accent-soft); font-size: 1.2rem; transition: transform 0.5s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--aw-text-muted); }

/* ---------- Финальный призыв ---------- */
.final { position: relative; margin-top: 96px; padding: 72px 24px; border-radius: 36px; overflow: hidden; text-align: center; isolation: isolate;
    background: radial-gradient(80% 120% at 50% 0%, rgba(255,59,78,0.35), rgba(5,5,5,0) 70%), #0b0b0e; border: 1px solid rgba(255,59,78,0.25); }
.final .section-title { max-width: 16ch; margin: 0 auto 18px; }
.final .hero-cta { justify-content: center; }

/* ---------- Страница игры ---------- */
.g-hero { position: relative; min-height: 78dvh; display: flex; align-items: flex-end; overflow: hidden; }
.g-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--aw-bg) 4%, rgba(24,24,27,0.6) 50%, rgba(24,24,27,0.15)); }
.g-hero .wrap { position: relative; z-index: 2; padding-bottom: 36px; padding-top: 110px; }
.g-title { margin: 6px 0 16px; font-family: var(--aw-font-display); font-size: clamp(2.4rem, 8vw, 5.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.02em; }
.g-video { margin: 0 0 28px; max-width: 880px; border-radius: var(--aw-radius-xl); overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 80px -40px rgba(0,0,0,0.8); }
.g-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.g-desc { max-width: 62ch; color: rgba(255,255,255,0.78); font-size: 1.12rem; margin: 0 0 26px; }
.back { display: inline-flex; gap: 6px; color: var(--aw-text-muted); font-size: 0.9rem; padding: 10px 0; margin-bottom: 8px; }
.points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.points li { position: relative; padding: 16px 18px 16px 50px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.points li::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--aw-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Подвал ---------- */
.foot { padding: 64px 0 110px; color: var(--aw-text-muted); font-size: 0.92rem; margin-top: 96px; border-top: 1px solid var(--hair);
    background: radial-gradient(60% 80% at 50% 0%, rgba(255,59,78,0.08), transparent 70%), #050505; }
.foot-grid { display: grid; gap: 36px; align-items: start; }
.foot-brand { display: grid; gap: 14px; justify-items: start; align-content: start; max-width: 320px; }
.foot-brand .nav-logo { color: var(--aw-text); }
.foot-brand p { margin: 0; }
.foot h3 { margin: 0 0 12px; font-family: var(--aw-font-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aw-text); }
.foot nav { display: grid; align-content: start; }
.foot nav a, .foot-links a { display: block; padding: 6px 0; }
.foot a:hover { color: var(--aw-text); }
.foot-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.foot-list span { display: block; font-size: 0.75rem; color: var(--aw-text-faint); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 0.82rem; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-legal nav a { padding: 0; }
.foot-pay { display: flex; align-items: center; gap: 8px; flex-basis: 100%; color: var(--aw-text-muted); font-size: 0.78rem; }
.foot-pay svg { width: 44px; height: 28px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1); }

/* ---------- Планшет и ПК ---------- */
@media (min-width: 768px) {


    .facts { grid-template-columns: repeat(4, 1fr); }
    .stats li { padding: 28px 16px; }
    .stats .fact-n { font-size: clamp(1.05rem, 2vw, 1.85rem); }
    .hero4 { padding-top: 96px; padding-bottom: 24px; }
    .social { grid-template-columns: 1fr auto; padding: 56px 48px; }
    .gift { grid-template-columns: 1.5fr 1fr; gap: 40px; padding: 60px; }
    .ask { grid-template-columns: 1fr auto; align-items: center; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: repeat(3, 1fr); }
    .section { padding-top: 140px; }
    .nav-links { display: flex; }
}
@media (min-width: 1024px) {
    .game-grid { grid-template-columns: repeat(3, 1fr); }
    .duo { grid-template-columns: 1fr 1fr; gap: 64px; }
    .duo.rev .duo-img { order: 2; }
    .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .reviews { grid-template-columns: repeat(3, 1fr); }
    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; filter: none; transition: none; }
    .stats.rv li { opacity: 1; transform: none; transition: none; }
    .reel, .reel-wrap[data-amb] .reel { animation: none; transform: none; }
    .reel video { display: none; }
}
/* ---------- Бронь: одна панель-таймлайн вместо отдельных коробок ---------- */
.book-grid { display: grid; gap: 24px; align-items: start; }
.book-steps {
    position: relative; min-width: 0; padding: 8px; border-radius: 32px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--aw-line);
}
.book-steps-core {
    border-radius: 26px; background: var(--aw-surface-2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); padding: 8px 0;
}
.bstep { position: relative; margin: 0; padding: 22px 24px 24px 64px; border: 0; min-width: 0; }
.bstep + .bstep { border-top: 1px solid var(--aw-line); }
/* линия таймлайна и номер шага */
.bstep::before { content: ''; position: absolute; left: 35px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--aw-line), var(--aw-line)); }
.bstep:first-child::before { top: 30px; }
.bstep:last-child::before { bottom: calc(100% - 30px); }
.bstep legend { float: left; width: 100%; margin-bottom: 16px; font-family: var(--aw-font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.bstep legend .mono {
    position: absolute; left: 22px; top: 21px; width: 28px; height: 28px; display: grid; place-items: center; z-index: 1;
    border-radius: 50%; background: var(--aw-surface-3); border: 1px solid var(--aw-line-strong);
    color: var(--aw-text-muted); font-size: 0.68rem; margin: 0; transition: background var(--aw-dur-fast), color var(--aw-dur-fast), border-color var(--aw-dur-fast);
}
.bstep.done legend .mono { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; box-shadow: 0 0 18px var(--aw-accent-25); }
.bstep > *:not(legend) { clear: both; }

/* Горизонтальные ленты: без системной полосы, мягкое затухание по краям, стрелки */
.hs { position: relative; }
.hs-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent 100%); }
.hs-track::-webkit-scrollbar { display: none; }
.hs.can-l .hs-track { --fl: 48px; }
.hs.can-r .hs-track { --fr: 48px; }
.hs-btn {
    position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
    display: grid; place-items: center; color: var(--aw-text);
    background: rgba(20,20,22,0.82); border: 1px solid var(--aw-line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    opacity: 0; pointer-events: none; transition: opacity var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring);
}
.hs-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-btn:hover { transform: scale(1.08); }
.hs-btn.l { left: -6px; } .hs-btn.r { right: -6px; }
.hs.can-l .hs-btn.l, .hs.can-r .hs-btn.r { opacity: 1; pointer-events: auto; }
@media (hover: none) { .hs-btn { display: none; } }

/* Игры: крупные карточки, название на картинке */
.gopt {
    position: relative; flex: 0 0 168px; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; text-align: left; padding: 0;
    background: var(--aw-surface-3); border: 0; scroll-snap-align: start; isolation: isolate;
    box-shadow: inset 0 0 0 1px var(--aw-line); transition: transform var(--aw-dur-fast) var(--aw-ease-spring), box-shadow var(--aw-dur-fast);
}
.gopt:hover { transform: translateY(-2px); }
.gopt:active { transform: scale(0.97); }
.gopt .gimg { position: absolute; inset: 0; z-index: -2; background: var(--aw-surface-3) center / cover no-repeat; transition: transform 0.7s var(--ease); }
.gopt:hover .gimg { transform: scale(1.05); }
.gopt::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85)); }
.gopt .gname { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: var(--aw-fs-sm); font-weight: 600; line-height: 1.25; color: #fff; }
.gopt .gmeta { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font-family: var(--aw-font-mono); font-size: 0.68rem; }
.gopt.on { box-shadow: inset 0 0 0 2px var(--aw-accent), 0 12px 30px -12px var(--aw-accent-25); }
.gopt.on::before { content: '✓'; position: absolute; top: 10px; right: 10px; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--aw-accent); color: #fff; font-size: 0.8rem; font-weight: 700; }
.gopt.any .gimg { background: radial-gradient(circle at 50% 38%, var(--aw-accent-25), transparent 60%), var(--aw-surface-3); }
.gopt.any .gimg::after { content: ''; position: absolute; inset: 0; background: url('/favicon.svg') center 38% / 46px no-repeat; }
/* Прайс 25.10: цена «desde» на карточке игры; без праздника — карточка неактивна */
.gopt .gprice { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.7rem; font-weight: 600; }
.gopt.on .gprice { right: 42px; }
.gopt.off { opacity: 0.38; cursor: not-allowed; filter: grayscale(0.6); }
.gopt.off:hover { transform: none; }
.hint.scen { margin: 10px 0 0; }
.seg3.kind { display: grid; grid-template-columns: 1fr 1fr; }
.seg3.kind span { display: grid; gap: 2px; border-radius: 18px; height: 100%; }
.seg3.kind small { color: var(--aw-text-muted); font-size: 0.8rem; }
.seg3 label.off { opacity: 0.4; }
.seg3 label.off span { cursor: not-allowed; }
.bday-box { margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--aw-accent-10); border: 1px solid rgba(255,59,78,0.35); }
.bday-box ul { margin: 8px 0 6px; padding-left: 18px; display: grid; gap: 4px; font-size: var(--aw-fs-sm); }
.bday-box .hint { margin: 0; }
.day .dp { font-size: 0.68rem; color: var(--aw-text-muted); }
.day.on .dp { color: rgba(255,255,255,0.9); }
.dg-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dg-prices:empty { display: none; }
.dgp { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); transition: border-color var(--aw-dur-fast), background var(--aw-dur-fast); }
.dgp.on { border-color: var(--aw-accent); background: var(--aw-accent-10); }
.dgp-name { font-size: 0.78rem; color: var(--aw-text-muted); text-transform: capitalize; }
.dgp-name em { font-style: normal; color: var(--aw-accent-soft); text-transform: none; }
.dgp small { font-size: 0.72rem; color: var(--aw-accent-soft); }
.sum-game small { display: block; color: var(--aw-text-muted); font-size: 0.8rem; }
.tiers td small { display: block; font-size: 0.7rem; color: var(--aw-text-muted); }
.tiers th small { display: block; font-weight: 400; color: var(--aw-accent-soft); }
@media (max-width: 520px) { .seg3.kind, .dg-prices { grid-template-columns: 1fr; } }
.gopt:first-child::after { background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6)); }

/* Игроки */
.stepper-lg { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line); }
.st-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--aw-surface-3); border: 1px solid var(--aw-line-strong); font-size: 1.4rem; color: var(--aw-text); transition: transform var(--aw-dur-fast) var(--aw-ease-spring), background var(--aw-dur-fast); }
.st-btn:hover:not(:disabled) { background: var(--aw-accent); border-color: var(--aw-accent); }
.st-btn:active { transform: scale(0.9); }
.st-btn:disabled { opacity: 0.3; }
.stepper-lg output { min-width: 64px; text-align: center; font-size: 2rem; }
.hint { color: var(--aw-text-muted); font-size: var(--aw-fs-sm); margin: 12px 0 0; }
.hint.small { font-size: var(--aw-fs-xs); }
.hint a { text-decoration: underline; }

/* Дни */
.day { flex: 0 0 64px; display: grid; justify-items: center; gap: 4px; padding: 12px 0; border-radius: 18px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); scroll-snap-align: start; transition: background var(--aw-dur-fast), border-color var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring); }
.day:hover { border-color: var(--aw-line-strong); }
.day:active { transform: scale(0.95); }
.day.we .dw { color: var(--aw-accent-soft); }
.day.on { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; box-shadow: 0 10px 24px -10px var(--aw-accent-25); }
.day.on .dw { color: rgba(255,255,255,0.85); }
.dw { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aw-text-muted); }
.dn { font-size: 1.35rem; }

/* Время */
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.tm { display: grid; justify-items: center; gap: 2px; min-height: 54px; padding: 8px 4px; border-radius: 16px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); font-size: 1.02rem; transition: background var(--aw-dur-fast), border-color var(--aw-dur-fast), transform var(--aw-dur-fast) var(--aw-ease-spring); }
.tm:hover:not(:disabled) { border-color: var(--aw-line-strong); }
.tm:active:not(:disabled) { transform: scale(0.95); }
.tm small { font-size: 0.64rem; color: var(--aw-text-muted); }
.tm.pop { border-color: var(--aw-accent-25); }
.tm.pop small { color: var(--aw-accent-soft); }
.tm.on { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; box-shadow: 0 10px 24px -10px var(--aw-accent-25); }
.tm.on small { color: #fff; }
.tm:disabled { opacity: 0.28; text-decoration: line-through; }

/* Повод */
.seg3 { display: flex; flex-wrap: wrap; gap: 8px; }
.seg3 label { position: relative; }
.seg3 input { position: absolute; opacity: 0; }
.seg3 span { display: block; padding: 12px 18px; border-radius: 999px; background: rgba(0,0,0,0.22); border: 1px solid var(--aw-line); cursor: pointer; transition: background var(--aw-dur-fast), border-color var(--aw-dur-fast); }
.seg3 span:hover { border-color: var(--aw-line-strong); }
.seg3 input:checked + span { border-color: var(--aw-accent); background: var(--aw-accent-10); color: #fff; }
.seg3 input:focus-visible + span { outline: 2px solid var(--aw-accent); outline-offset: 2px; }

/* Контакты */
.fld { display: grid; gap: 6px; margin-bottom: 14px; }
.fld span { font-size: var(--aw-fs-sm); color: var(--aw-text-muted); }
.fld small { color: var(--aw-text-faint); font-size: var(--aw-fs-xs); }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 16px; background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line-strong); color: var(--aw-text); font: inherit; outline: none; transition: border-color var(--aw-dur-fast), box-shadow var(--aw-dur-fast); }
.fld input:focus, .fld textarea:focus { border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
.chk { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; min-height: 44px; cursor: pointer; font-size: var(--aw-fs-sm); color: var(--aw-text-muted); line-height: 1.45; }
.chk input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--aw-accent); cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Итог */
.summary { position: sticky; bottom: 12px; z-index: 5; display: grid; gap: 12px; padding: 20px; border-radius: 28px 28px 0 0; background: var(--aw-glass); backdrop-filter: var(--aw-blur-glass); -webkit-backdrop-filter: var(--aw-blur-glass); border: 1px solid var(--aw-line-strong); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.sum-game { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--aw-line); }
.sum-game .gimg { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: var(--aw-surface-3) center / cover no-repeat; }
.sum-rows { display: none; margin: 0; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: var(--aw-fs-sm); }
.sum-rows dt { color: var(--aw-text-muted); }
.sum-rows dd { margin: 0; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--aw-font-display); font-size: 1.2rem; padding-top: 12px; border-top: 1px solid var(--aw-line); }
.sum-total .mono { font-size: 1.8rem; }
.sum-total .old { font-size: 0.9rem; color: var(--aw-text-faint); margin-right: 6px; }
.sum-btn { width: 100%; justify-content: center; }
.form-err { color: var(--aw-accent-soft); margin: 0; min-height: 1em; font-size: var(--aw-fs-sm); }
.book-ok { padding: 32px; border-radius: 28px; background: var(--aw-accent-10); border: 1px solid var(--aw-accent-25); }
@media (min-width: 1024px) {
    .book-grid { grid-template-columns: minmax(0, 1fr) 380px; }
    .summary { top: 96px; bottom: auto; border-radius: 28px; }
    .sum-rows { display: grid; }
}
/* Телефон: шаги без лишних отступов; итог — полоска «сумма + кнопка» */
@media (max-width: 1023px) {
    .book-steps { padding: 0; border: 0; background: none; }
    .book-steps-core { border-radius: 24px; }
    .bstep { padding: 18px 16px 20px 52px; }
    .bstep::before { left: 29px; }
    .bstep legend .mono { left: 16px; top: 17px; width: 26px; height: 26px; }
    .gopt { flex-basis: 140px; }
    .summary { grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); margin: 0 calc(-1 * var(--aw-gutter)); }
    .sum-game, .summary .hint { display: none; }
    .sum-total { display: grid; gap: 0; font-size: 0.8rem; color: var(--aw-text-muted); padding: 0; border: 0; }
    .sum-total .mono { font-size: 1.4rem; color: var(--aw-text); }
    .sum-btn { width: auto; min-width: 140px; max-width: 58vw; white-space: normal; text-align: center; line-height: 1.15; font-size: 0.9rem; padding-inline: 16px; }
    .chk-step { margin-top: 16px; }
    .form-err { grid-column: 1 / -1; }
    .form-err:empty { display: none; }
}
@media (min-width: 1024px) { .only-mobile { display: none; } }
@media (prefers-reduced-motion: reduce) { .hs-track { scroll-behavior: auto; } .gopt .gimg { transition: none; } }
/* Бронь: видимый фокус с клавиатуры */
.book :is(.day, .tm, .gopt, .st-btn, .hs-btn):focus-visible { outline: 2px solid var(--aw-accent); outline-offset: 3px; }
/* Бронь: место под ленты резервируется заранее — содержимое приходит скриптом, вёрстка не должна прыгать (CLS) */
#bGame { min-height: 222px; }
#bDays { min-height: 78px; }
#bTimes { min-height: 116px; }
.sum-rows { min-height: 132px; }
@media (max-width: 1023px) { #bGame { min-height: 187px; } .sum-rows { min-height: 0; } }

/* ================= Главная: живые блоки (заголовки по словам, свет за курсором, параллакс, лента игр, рамки) ================= */
/* Заголовки разделов: слова выезжают снизу из-под маски по очереди (site.js разбивает на слова) */
.section-title.words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.section-title.words .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease) calc(var(--i) * 70ms + 0.08s); }
.rv.in .section-title.words .w > span, .section-title.words.rv.in .w > span { transform: none; }

/* Свет за курсором у карточек */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: radial-gradient(340px circle at var(--x, 50%) var(--y, 50%), rgba(255, 59, 78, 0.16), transparent 65%); opacity: 0; transition: opacity 0.45s ease; }
.glow:hover::before { opacity: 1; }

/* «Что это» / «Для кого»: пункты — мягкая подложка при наведении, иконка появляется с поворотом */
.ilist li { padding: 12px 14px; margin: -12px -14px; border-radius: 20px; transition: background 0.3s; }
.ilist li:hover { background: rgba(255, 255, 255, 0.03); }
.ilist li.rv .why-ico { opacity: 0; transform: scale(0.5) rotate(-20deg); transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s, opacity 0.5s ease 0.25s, background 0.3s; }
.ilist li.rv.in .why-ico { opacity: 1; transform: none; }
.ilist li:hover .why-ico { background: var(--aw-accent); box-shadow: 0 10px 24px -10px var(--aw-accent-glow); }
.ilist li:hover .why-ico svg { stroke: #fff; }

/* Картинки разделов: параллакс при прокрутке, приближение при наведении, плашки-факты в стекле */
.duo-img { position: relative; }
.duo-img :is(img, .duo-vid) { transition: scale 1.4s var(--ease); }
.duo-img:hover :is(img, .duo-vid) { scale: 1.06; }
/* Видео поверх картинки блока: проявляется, когда пошли кадры; тот же наезд и параллакс, что у картинки */
.duo-img .duo-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease), scale 1.4s var(--ease); }
.duo-img .duo-vid.on { opacity: 1; }
@supports (animation-timeline: view()) {
    .duo-img :is(img, .duo-vid) { scale: 1.14; animation: duo-par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .duo-img:hover :is(img, .duo-vid) { scale: 1.2; }
    @keyframes duo-par { from { translate: 0 -5%; } to { translate: 0 5%; } }
}
.chip-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: #fff;
    background: rgba(16, 16, 20, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.8); animation: bob 6s ease-in-out infinite; }
.chip-float svg { width: 18px; height: 18px; fill: none; stroke: var(--aw-accent-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip-float.two { border-radius: 18px; padding: 10px 16px 10px 13px; }
.chip-float.two > span { display: grid; line-height: 1.15; }
.chip-float.two small { font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.7); }
.chip-float.c1 { left: 16px; bottom: 16px; }
.chip-float.c2 { right: 16px; top: 16px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Лента игр: края гаснут, пока есть что листать; стрелки — на компьютере */
.rail-wrap { position: relative; }
.rail { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.rail-wrap.at-start .rail { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 94%, transparent 100%); }
.rail-wrap.at-end .rail { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 100%); }
.rail-wrap.at-start.at-end .rail { -webkit-mask-image: none; mask-image: none; }
.rail-btn { display: none; }
@media (hover: hover) and (min-width: 768px) {
    .rail-btn { position: absolute; top: 30%; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; color: #fff;
        background: rgba(16, 16, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s, background 0.3s; }
    .rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .rail-btn.prev { left: -8px; }
    .rail-btn.prev svg { transform: rotate(180deg); }
    .rail-btn.next { right: -8px; }
    .rail-btn:hover { background: var(--aw-accent); transform: scale(1.08); box-shadow: 0 18px 40px -14px var(--aw-accent-glow); }
    .rail-btn:disabled { opacity: 0; transform: scale(0.8); pointer-events: none; }
}
.game:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 59, 78, 0.18); }

/* Instagram и финальная бронь: по рамке бежит красно-янтарный блик */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.social { position: relative; isolation: isolate; transition: transform 0.6s var(--ease); }
.social:hover { transform: translateY(-4px); }
.social::after, .final::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--spin), transparent 0 55%, rgba(255, 59, 78, 0.9) 70%, rgba(255, 181, 71, 0.85) 80%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: spin 7s linear infinite; }
@keyframes spin { to { --spin: 360deg; } }
/* Финальная бронь: за текстом медленно плывут свечения, главная кнопка «дышит» */
.final::before { content: ''; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
    background: radial-gradient(30% 40% at 30% 40%, rgba(255, 59, 78, 0.32), transparent 70%), radial-gradient(25% 35% at 72% 62%, rgba(255, 181, 71, 0.16), transparent 70%);
    animation: drift-f 14s ease-in-out infinite alternate; }
@keyframes drift-f { to { transform: translate3d(8%, -6%, 0) rotate(12deg); } }
.final .btn-primary { animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 18px 40px -16px var(--aw-accent-glow), 0 0 0 0 rgba(255, 59, 78, 0.45); } 60% { box-shadow: 0 18px 40px -16px var(--aw-accent-glow), 0 0 0 14px rgba(255, 59, 78, 0); } }

/* Вопросы: ответ раскрывается плавно (где браузер умеет), рамка светлеет при наведении */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details { transition: background 0.3s, border-color 0.3s; }
.faq details:hover { border-color: rgba(255, 255, 255, 0.16); }

@media (prefers-reduced-motion: reduce) {
    .chip-float, .social::after, .final::after, .final::before, .final .btn-primary, .duo-img :is(img, .duo-vid) { animation: none; }
    .ilist li.rv .why-ico { opacity: 1; transform: none; }
    .faq details::details-content { transition: none; }
}

/* ================= Все страницы: картинки проявляются плавно, свет за курсором у карточек-«ракушек», блик у выделенной цены ================= */
img { transition: opacity 0.6s ease; }
img.fade { opacity: 0; }
/* У карточек с внутренней подложкой свет ложится поверх (режим «экран» — текст не тускнеет) */
.glow:has(> .shell)::before { z-index: 1; mix-blend-mode: screen; }
.points li { transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.points li:hover { background: rgba(255, 59, 78, 0.07); border-color: rgba(255, 59, 78, 0.28); transform: translateX(4px); }
.price .shell, .steps .shell, .review .shell { transition: transform 0.5s var(--ease), border-color 0.3s; }
.price:hover .shell, .steps li:hover .shell, .review:hover .shell { transform: translateY(-4px); border-color: rgba(255, 59, 78, 0.3); }
.price.featured .shell { position: relative; }
.price.featured .shell::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--spin), transparent 0 55%, rgba(255, 59, 78, 0.9) 70%, rgba(255, 181, 71, 0.85) 80%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 7s linear infinite; }
/* Внутренние страницы: обложка (игра, дни рождения) мягко растворяется в живой фон */
.g-hero { isolation: isolate; }
.g-hero-img { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); transform-origin: 50% 100%; animation: hero-zoom 14s ease-out both; }
.g-hero::before { background: linear-gradient(0deg, transparent 0%, rgba(10, 10, 12, 0.4) 35%, rgba(10, 10, 12, 0.1) 100%); }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .g-hero-img { animation: none; } }
@media (prefers-reduced-motion: reduce) { .price.featured .shell::after { animation: none; } img { transition: none; } }

/* Картинки «Что это» / «Для кого» тоже наклоняются за курсором (site.js ставит .tilt и --rx/--ry/--px/--py/--mx/--my) */
.duo-img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, opacity 0.9s var(--ease), filter 0.9s var(--ease); }
.duo-img::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.14), rgba(255,59,78,0.07) 35%, transparent 65%); mix-blend-mode: screen; }
.duo-img.tilt { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
    transition: transform 0.18s ease-out, box-shadow 0.6s ease; box-shadow: 0 50px 80px -34px rgba(0,0,0,0.9), 0 24px 70px -24px rgba(255,59,78,0.35); }
.duo-img.tilt::after { opacity: 1; }
.duo-img.tilt :is(img, .duo-vid) { scale: 1.1; translate: var(--px, 0px) var(--py, 0px); transition: scale 0.8s var(--ease), translate 0.6s cubic-bezier(0.16, 1, 0.3, 1); }

/* Живые карточки игр (web/game-fx.js): поверх картинки — canvas со своей анимацией у каждой игры */
.game-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; }
.game-fx.on { opacity: 1; }
.game-img::after { z-index: 2; pointer-events: none; }
.game.fx-on { border-color: rgba(255,59,78,0.4); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,59,78,0.22), 0 24px 60px -26px rgba(255,59,78,0.45); }
.game.fx-on .game-img img { transform: scale(1.1); transition: transform 3s cubic-bezier(0.16, 1, 0.3, 1); }
/* Свой характер картинки под эффект: Kernel — сбой изображения, тревога — красная вспышка, сны — мигание, зомби — холодный зелёный */
.game.fx-hud .game-img img { animation: fx-glitch 2.6s steps(1) infinite; }
@keyframes fx-glitch { 0%, 86%, 100% { filter: none; translate: 0 0; } 88% { filter: hue-rotate(90deg) saturate(1.6); translate: -3px 0; } 90% { filter: none; translate: 2px 1px; } 92% { filter: contrast(1.4) hue-rotate(-40deg); translate: -1px 0; } }
.game.fx-zombie .game-img img { filter: saturate(0.7) hue-rotate(25deg) brightness(0.85); transition: filter 1s ease, transform 3s cubic-bezier(0.16, 1, 0.3, 1); }
.game.fx-dreams .game-img img { filter: sepia(0.4) saturate(1.3); }
.game.fx-space .game-img img { transform: scale(1.18); transition: transform 4s cubic-bezier(0.16, 1, 0.3, 1); }
/* Настоящий ролик игры при наведении (game-fx.js): поверх обложки, под анимацией-эффектом */
.game-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }
.game-clip.on { opacity: 1; }
.game-clip.on ~ .game-fx.on { opacity: 0.8; }

/* Иконки списков «Qué es» / «Para quién» (владелец 25.10: «красиво анимировать»):
   при появлении каждая иконка прорисовывается линией, дальше у каждой своё движение по смыслу,
   при наведении — строка сдвигается, иконка загорается и «играет». Только transform/opacity/stroke-dashoffset. */
.why-ico svg * { transform-box: fill-box; transform-origin: 50% 50%; }
.ilist li.rv .why-ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ilist li.rv.in .why-ico svg * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.45s; }
.ilist li.rv.in .why-ico svg :nth-child(2) { transition-delay: 0.75s; }
.ilist li.rv.in .why-ico svg :nth-child(3) { transition-delay: 1s; }
.ilist li { transition: background 0.3s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.ilist b { transition: color 0.3s; }
@media (hover: hover) {
    .ilist li:hover { transform: translateX(6px); }
    .ilist li:hover b { color: var(--aw-accent-soft); }
    .ilist li:hover .why-ico { transform: scale(1.08) rotate(-4deg); }
}
/* Постоянные «живые» движения (тихие): часы идут, у геймпада мигает кнопка, сердце бьётся */
.ilist li.in [data-ic="clock"] svg :nth-child(2) { transform-origin: 0% 0%; transform-box: view-box; transform-origin: 12px 12px; animation: ic-tick 6s steps(12) 1.6s infinite; }
@keyframes ic-tick { to { transform: rotate(360deg); } }
.ilist li.in [data-ic="pad"] svg :nth-child(3) { animation: ic-blink 1.6s ease-in-out 1.6s infinite; stroke: var(--aw-accent-soft); stroke-width: 3; }
@keyframes ic-blink { 50% { opacity: 0.15; } }
.ilist li.in [data-ic="heart"] svg { animation: ic-beat 2.4s ease-in-out 1.6s infinite; }
@keyframes ic-beat { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(0.96); } 30% { transform: scale(1.1); } }
/* Наведение: своё движение у каждой иконки */
@media (hover: hover) {
    .ilist li:hover [data-ic="clock"] svg :nth-child(2) { animation: ic-tick 0.8s cubic-bezier(0.65, 0, 0.35, 1); }
    .ilist li:hover [data-ic="free"] svg :nth-child(2) { animation: ic-drop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
    @keyframes ic-drop { 0% { transform: translateY(-3px); opacity: 0.4; } 60% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(-3px); opacity: 0.4; } }
    .ilist li:hover [data-ic="group"] svg :nth-child(1) { animation: ic-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
    .ilist li:hover [data-ic="group"] svg :nth-child(2) { animation: ic-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s; }
    @keyframes ic-pop { 40% { transform: scale(1.45); } }
    .ilist li:hover [data-ic="pad"] svg { animation: ic-wiggle 0.6s ease-in-out; }
    @keyframes ic-wiggle { 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
    .ilist li:hover [data-ic="star"] svg { animation: ic-spin 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); }
    @keyframes ic-spin { from { transform: rotate(-144deg) scale(0.6); } }
    .ilist li:hover [data-ic="gift"] svg :nth-child(3) { animation: ic-hop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
    @keyframes ic-hop { 40% { transform: translateY(-4px) rotate(-8deg); } }
    .ilist li:hover [data-ic="shield"] svg :nth-child(2) { animation: ic-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
    @keyframes ic-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .ilist li.rv .why-ico svg * { stroke-dashoffset: 0; transition: none; }
    .why-ico svg, .why-ico svg * { animation: none !important; }
    .ilist li:hover { transform: none; }
}
.no-js .ilist li .why-ico svg * { stroke-dashoffset: 0; }

/* ===== Портал к играм: прокрутка — проход в другое измерение, из которого выходят карточки (владелец 25.10) =====
   Сцена «Los más jugados» лежит внутри портала. Без класса .on (нет JS, «меньше движения») — обычный раздел.
   С .on: блок 260vh, внутри «залипающий» экран; site.js каждый кадр (только пока блок виден) переводит прокрутку
   в переменные: --dark темнота, --wo/--ws надпись, --ro/--rs разлом, --fl вспышка, --so/--ho сцена и заголовок,
   у карточек --cg/--co (вылет из глубины разлома). Движутся только transform/translate и opacity. */
.portal { --void: #050507; position: relative; }
.portal-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.portal-fx { display: none; }
.portal.on { --dark: 0; --wo: 0; --ws: 1; --ro: 0; --rs: 0.04; --fl: 0; --so: 0; --ho: 0; height: 260vh; }
/* «Juegos» в меню ведёт в конец портала — сразу к карточкам на месте */
.portal.on .portal-anchor { top: auto; bottom: 0; height: 100vh; }
.portal.on::before { content: ''; position: absolute; left: 0; right: 0; height: 40vh; pointer-events: none; bottom: 100%; background: linear-gradient(transparent, var(--void)); opacity: var(--dark); }
.portal.on .portal-in { position: sticky; top: 0; min-height: 100vh; overflow: hidden; display: grid; align-items: center; }
.portal.on .portal-fx { display: grid; place-items: center; position: absolute; inset: 0; pointer-events: none; transition: opacity 0.4s ease; }
.portal-fx > * { position: absolute; }
/* В конце портала (--fade 0→1) темнота снизу растворяется в фон сайта — без шва, когда экран «отлипает» */
.portal-veil { inset: 0; background: var(--void); opacity: var(--dark);
    -webkit-mask-image: linear-gradient(#000 calc(100% - var(--fade, 0) * 38vh), transparent); mask-image: linear-gradient(#000 calc(100% - var(--fade, 0) * 38vh), transparent); }
/* Разлом: тёмная «дыра» с раскалённым краем; два кольца-вихря крутятся навстречу */
.portal-rift { width: 34vmax; aspect-ratio: 1; border-radius: 50%; opacity: var(--ro); transform: scale(var(--rs)); will-change: transform;
    background: radial-gradient(circle, var(--void) 56%, rgba(90, 6, 22, 0.95) 63%, rgba(255, 59, 78, 0.95) 67%, rgba(255, 190, 150, 0.95) 68.5%, rgba(255, 59, 78, 0.55) 70.5%, transparent 74%); }
.portal-rift::before, .portal-rift::after { content: ''; position: absolute; inset: -8%; border-radius: 50%;
    background: conic-gradient(transparent, rgba(255, 59, 78, 0.6), transparent 28%, rgba(255, 150, 90, 0.45), transparent 58%, rgba(255, 59, 78, 0.5), transparent 86%);
    -webkit-mask-image: radial-gradient(circle, transparent 52%, #000 60%, #000 66%, transparent 74%); mask-image: radial-gradient(circle, transparent 52%, #000 60%, #000 66%, transparent 74%);
    filter: blur(5px); animation: portal-spin 9s linear infinite; }
.portal-rift::after { inset: -18%; opacity: 0.6; animation-duration: 14s; animation-direction: reverse; }
@keyframes portal-spin { to { transform: rotate(1turn); } }
.portal.off .portal-rift::before, .portal.off .portal-rift::after { animation-play-state: paused; }
.portal-stars { inset: 0; width: 100%; height: 100%; }
.portal-word { margin: 0; padding: 0 16px; text-align: center; color: #fff; opacity: var(--wo); transform: scale(var(--ws)); will-change: transform, opacity;
    font-family: var(--aw-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95;
    font-size: clamp(2.6rem, 8.5vw, 7.5rem); text-shadow: 0 0 50px rgba(255, 59, 78, 0.55); }
.portal-word span { display: block; margin-bottom: 18px; font-family: var(--aw-font-mono); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.32em; color: var(--aw-accent-soft); text-shadow: none; }
.portal-flash { inset: 0; opacity: var(--fl); background: radial-gradient(circle, rgba(255, 240, 230, 0.95), rgba(255, 59, 78, 0.55) 45%, transparent 75%); }
/* Сцена в портале: проявляется из вспышки, заголовок всплывает, карточки летят из глубины (точка схода — центр ленты) */
.portal.on .games-stage { z-index: 1; width: 100%; padding: 84px 0 28px; opacity: var(--so); }
.portal.on .games-stage .head, .portal.on .games-stage .wrap > .btn { opacity: var(--ho); transform: none; translate: 0 calc((1 - var(--ho)) * 34px); }
.portal.on .rail-wrap .rail-btn { opacity: var(--ho); }
.portal.on .rv.deal .top-card { animation: none; filter: none; transform: none; opacity: var(--co, 0);
    scale: calc(0.18 + 0.82 * var(--cg, 0)); translate: 0 calc((1 - var(--cg, 0)) * 60px); }
@media (hover: hover) { .portal.on .rv.deal .top-card:hover { transform: translateY(-8px); } }
/* Наведение на карточку — её мир на весь экран (game-fx): темнота и разлом портала не должны его закрывать */
.gw-active .portal.on .portal-fx { opacity: 0; }

/* ===== «Los más jugados» — отдельная сцена (владелец 25.10: блок, который цепляет взгляд) ===== */
.games-stage { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 40px; }
/* Фон сцены: прожектор и огромное контурное слово, медленно плывущее за карточками */
.gs-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);   /* свечение не обрывается краем секции */
    background: radial-gradient(60% 55% at 50% 58%, rgba(255,59,78,0.16), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgba(255,140,60,0.08), transparent 70%); }
.gs-word { position: absolute; top: 46%; left: 0; white-space: nowrap; transform: translateY(-50%);
    font-family: var(--aw-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em;
    font-size: clamp(7rem, 22vw, 20rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.07);
    animation: gs-drift 60s linear infinite; }
@keyframes gs-drift { to { translate: -50% 0; } }
.games-stage.off .gs-word { animation-play-state: paused; }

/* Лента постеров */
/* Снизу запас под тень карточек: лента прокручивается и обрезает всё за своим краем — тень обрывалась ровной линией (шов) */
.top-rail { grid-auto-columns: min(72vw, 300px); gap: 18px; padding-top: 34px; padding-bottom: 72px; margin-bottom: -42px; }
.top-card { display: block; aspect-ratio: 3 / 4; border-radius: 26px; background: #0b0b0e;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.07); overflow: visible; }
.top-card .game-img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.top-card .game-img::after { background: linear-gradient(180deg, rgba(8,8,10,0.25) 0%, transparent 22%, transparent 42%, rgba(8,8,10,0.92) 82%); z-index: 2; }
.top-card .game-img img { transform: scale(1.04); }
/* Огромный контурный номер места — выходит за верхний край карточки */
.tc-rank { position: absolute; top: -30px; left: 14px; z-index: 3; pointer-events: none;
    font-family: var(--aw-font-display); font-weight: 700; font-size: 5.4rem; line-height: 1; letter-spacing: -0.04em;
    color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.85); text-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-genre { position: absolute; top: 16px; right: 16px; z-index: 3; padding: 5px 11px; border-radius: 999px; pointer-events: none;
    font-family: var(--aw-font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
    background: rgba(12,12,14,0.55); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tc-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 20px 20px 22px; display: grid; gap: 6px; pointer-events: none; }
.tc-body h3 { margin: 0; font-family: var(--aw-font-display); font-size: 1.45rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.tc-body h3 a { pointer-events: auto; }
.tc-body h3 a::after { content: ''; position: absolute; inset: 0; }   /* вся нижняя часть — тоже ссылка */
.tc-meta { margin: 0; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--aw-accent-soft); }
.tc-tag { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-go { position: absolute; right: 16px; bottom: 20px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; pointer-events: none;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); transition: background 0.35s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.tc-go svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-card .tc-body { padding-right: 70px; }
/* Наведение: номер заливается красным и приподнимается, описание выезжает, стрелка загорается */
@media (hover: hover) {
    .top-card:hover { transform: translateY(-8px); }
    .top-card:hover .tc-rank { color: var(--aw-accent); -webkit-text-stroke-color: var(--aw-accent); transform: translateY(-6px) scale(1.05); }
    .top-card:hover .tc-tag { max-height: 3em; opacity: 1; transform: none; }
    .top-card:hover .tc-go { background: var(--aw-accent); transform: rotate(-45deg); }
}
/* Появление: карточки «раздаются» справа по очереди, с поворотом в 3D и из размытия, номера проявляются следом */
.rv.deal { opacity: 1; transform: none; filter: none; }
.rv.deal .top-card { opacity: 0; transform: perspective(1100px) translateX(160px) rotateY(-32deg) scale(0.88); filter: blur(8px); }
.rv.deal.in .top-card { animation: tc-deal 1.1s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i) * 0.09s); }
@keyframes tc-deal { from { opacity: 0; transform: perspective(1100px) translateX(160px) rotateY(-32deg) scale(0.88); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; } }
.rv.deal .tc-rank { opacity: 0; translate: 0 18px; }
.rv.deal.in .tc-rank { opacity: 1; translate: 0 0; transition: opacity 0.6s ease, translate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(0.45s + var(--i) * 0.09s); }
/* После «раздачи» наведение снова управляет transform */
.rv.deal.in .top-card { opacity: 1; transform: none; filter: none; animation-fill-mode: backwards; }
@media (hover: hover) { .rv.deal.in .top-card:hover { transform: translateY(-8px); } }
.no-js .rv.deal .top-card, .no-js .rv.deal .tc-rank { opacity: 1; transform: none; filter: none; translate: none; }
@media (prefers-reduced-motion: reduce) {
    .rv.deal .top-card, .rv.deal .tc-rank { opacity: 1; transform: none; filter: none; translate: none; animation: none !important; }
    .gs-word { animation: none; }
}
@media (max-width: 767px) { .tc-rank { font-size: 4.2rem; top: -24px; } .tc-tag { max-height: 3em; opacity: 1; transform: none; } }

/* Воронка брони (25.10): короче и понятнее на телефоне */
.bstep { scroll-margin-top: 90px; }
/* время — сетка по 4 в ряд, компактнее (было 18 высоких кнопок столбиком) */
.times { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; }
.tm { min-height: 46px; padding: 6px 2px; font-size: 0.95rem; border-radius: 13px; }
.tm small { font-size: 0.62rem; }
/* комментарий — по ссылке, не занимает место */
.fld-more { margin: 2px 0 12px; }
.fld-more summary { cursor: pointer; list-style: none; display: inline-block; padding: 8px 0; color: var(--aw-accent-soft); font-size: 0.92rem; }
.fld-more summary::-webkit-details-marker { display: none; }
.fld-more textarea { width: 100%; margin-top: 6px; min-height: 50px; padding: 13px 16px; border-radius: 16px; background: rgba(0,0,0,0.25); border: 1px solid var(--aw-line-strong); color: var(--aw-text); font: inherit; outline: none; }
.fld-more textarea:focus { border-color: var(--aw-accent); box-shadow: 0 0 0 4px var(--aw-accent-10); }
/* цена на человека рядом с итогом */
.sum-total .per { display: block; font-size: 0.72rem; color: var(--aw-text-muted); font-family: var(--aw-font-mono); letter-spacing: 0.02em; }
/* кнопка-подсказка «Elige la hora» — не главная красная, а светлая: видно, что сначала нужен шаг */
.sum-btn.is-next { background: rgba(255,255,255,0.1); color: var(--aw-text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.day.closed { opacity: 0.35; cursor: not-allowed; }
.day.closed:active { transform: none; }

/* Баннер cookies (cookieConsent.js, DEC-META-PIXEL-001): стекло как у .mbar, кнопки — .btn нового сайта */
#cookieConsent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--aw-z-toast); max-width: 860px; margin: 0 auto;
    display: none; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 20px; border-radius: 24px;
    background: rgba(12,12,14,0.86); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid var(--hair); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); }
#cookieConsent.show { display: flex; }
#cookieConsent .cc-text { flex: 1 1 340px; font-size: 0.88rem; line-height: 1.55; color: var(--aw-text-muted); }
#cookieConsent .cc-text a { color: var(--aw-text); text-decoration: underline; text-underline-offset: 3px; }
#cookieConsent .cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 479px) { #cookieConsent .cc-actions { width: 100%; } #cookieConsent .cc-actions .btn { flex: 1; } }

/* Safari / WebKit (владелец 27.10, Mac): скруглённые блоки с overflow: hidden были с квадратными углами до наведения.
   Картинка или видео внутри с transform / transition уходит в свой слой, и WebKit не обрезает его скруглением родителя,
   пока hover не сделает слоем и сам родитель. Лечим заранее: родитель — сразу свой слой (will-change, а не transform:
   transform перебил бы появление .rv и наклоны). .gc-card не трогаем — у неё transform в покое, слой уже есть. */
.nav-links .dd-tile, .card4, .reel, .duo-img, .gift, .gstage-list a, .tile, .game, .game-img, .final, .g-video, .gopt, .core, .facts {
    isolation: isolate; will-change: transform; }
/* Только Safari (шрифт -apple-system-body знает только он): вдобавок маска — самый надёжный способ заставить WebKit
   обрезать по скруглению. Не для блоков с внешней тенью (маска срезала бы тень): .card4, .game, .g-video, .gopt. */
@supports (font: -apple-system-body) and (-webkit-appearance: none) {
    .nav-links .dd-tile, .reel, .duo-img, .gift, .gstage-list a, .tile, .top-card .game-img, .final, .core, .facts {
        -webkit-mask-image: -webkit-radial-gradient(white, black); }
}
