/* СПАВН — компьютерный клуб. Палитра: сливовая ночь, неон волос героини, ультрафиолет, лёд экранов. */
:root {
  --ink: #0d0613;
  --plum: #190c22;
  --plum-2: #241232;
  --line: rgba(236, 214, 255, .13);
  --neon: #ff3ea5;
  --neon-core: #ffd3ec;
  --uv: #9466ff;
  --ice: #b8f3ff;
  --bone: #f3eaf6;
  --mute: #a597b3;
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --cut: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.55 var(--text); font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* лёгкое зерно поверх всего — против «пластиковой» гладкости */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--neon); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.h2 {
  font: 400 clamp(38px, 5.4vw, 84px)/1.02 var(--display); letter-spacing: -.01em;
  margin: 0 0 .5em; text-wrap: balance;
}

/* ===== Кнопки и чипы: срезанный угол = «можно нажать» ===== */
.btn {
  --c: var(--neon);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--c); color: var(--ink); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color .2s, filter .2s, transform .15s var(--ease);
}
.btn:hover { filter: drop-shadow(0 0 14px rgba(255, 62, 165, .65)) brightness(1.06); }
.btn:active { transform: translateY(1px); }
/* контурная кнопка: срезанные углы дорисованы диагоналями, иначе рамка рвётся */
.btn--ghost {
  --ln: rgba(243, 234, 246, .55);
  color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--ln);
  background:
    linear-gradient(to bottom right, transparent 44%, var(--ln) 44% 56%, transparent 56%) 0 0 / var(--cut) var(--cut) no-repeat,
    linear-gradient(to bottom right, transparent 44%, var(--ln) 44% 56%, transparent 56%) 100% 100% / var(--cut) var(--cut) no-repeat;
}
.btn--ghost:hover { --ln: var(--neon-core); background-color: rgba(243, 234, 246, .07); filter: none; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--wide { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; min-height: 44px; padding: 0 14px; border: 0; cursor: pointer;
  background: var(--plum-2); color: var(--bone); font-size: 15px; font-weight: 500; line-height: 1.15;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background-color .18s, color .18s;
}
.chip small { display: block; font-size: 12px; color: var(--mute); font-weight: 400; }
.chip:hover { background: #33194a; }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--neon); color: var(--ink); }
.chip[aria-checked="true"] small, .chip[aria-pressed="true"] small { color: rgba(13, 6, 19, .7); }
.chip:disabled { opacity: .35; cursor: not-allowed; }

/* ===== Шапка ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background-color .3s, backdrop-filter .3s;
}
.nav.is-solid { background: rgba(13, 6, 19, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__logo { font: 400 22px/1 var(--display); text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.nav__logo span { font: 500 11px/1 var(--text); color: var(--neon); letter-spacing: .1em; }
.logo-mark { height: 19px; width: auto; fill: currentColor; overflow: visible; }
.foot__logo .logo-mark { height: 18px; }
.nav__links { display: flex; gap: 22px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; color: rgba(243, 234, 246, .82); padding: 6px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after, .nav__links a.is-here::after { transform: scaleX(1); }
.nav__phone { text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav__burger { display: none; }

/* ===== Первый экран ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
/* Слои внутри: кадр клуба, надпись, героиня поверх надписи. Низ растворяется в фон страницы — без обрыва. */
.hero__media {
  position: absolute; inset: -14px; z-index: -2; will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, .55) 80%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, .55) 80%, transparent 100%);
}
.hero__poster, .hero__bg, .hero__fgimg, .hero__fg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__poster, .hero__fgimg { object-fit: cover; object-position: var(--fx, 62%) var(--fy, 30%); }
/* сцена проявляется следом за вывеской: с кадра сходит тёмная вуаль. Слой героини всегда непрозрачен,
   поэтому буквы за ней не просвечивают. Вторая вуаль затемняет героиню, но не надпись под ней. */
.hero__veil { position: absolute; inset: 0; background: var(--ink); transition: opacity 1.6s ease .55s; }
.hero.is-on .hero__veil { opacity: 0; }
/* героиня до включения — тёмный силуэт, а не чёрная заливка: черты слегка видны (вернуть заливку — opacity: 1) */
.hero__veil--fg { opacity: .93; -webkit-mask: var(--fgmask) var(--fx, 62%) var(--fy, 30%) / cover no-repeat; mask: var(--fgmask) var(--fx, 62%) var(--fy, 30%) / cover no-repeat; }
.hero__bg, .hero__fg { opacity: 0; transition: opacity .3s; }
.hero.is-live .hero__bg, .hero.is-live .hero__fg { opacity: 1; }
.hero.is-live.is-drawn .hero__fgimg { visibility: hidden; }
/* видео-источник должен «показываться», иначе браузер не сообщает о новых кадрах; прячем его под слоями */
.hero__video { position: absolute; left: 0; top: 0; width: 4px; height: 4px; opacity: .01; z-index: -3; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(13, 6, 19, .85) 0%, rgba(13, 6, 19, 0) 70%),
    linear-gradient(180deg, rgba(13, 6, 19, .55) 0%, rgba(13, 6, 19, 0) 14%);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero__copy { position: absolute; left: var(--gut); bottom: max(6vh, 40px); width: min(520px, 42vw); }
.hero__where { margin: 0 0 12px; font-weight: 600; color: var(--neon-core); }
.hero__lead { margin: 0 0 26px; font-size: 20px; line-height: 1.45; color: rgba(243, 234, 246, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.live { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14px; color: var(--mute); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: live 2.4s ease-in-out infinite; }
.live b { color: var(--ice); font-weight: 600; }
@keyframes live { 50% { opacity: .35; } }

/* Надпись — логотип клуба: градиент с розового на фиолетовый, вокруг ореол того же цвета,
   сверху лёгкий глянец, изредка по буквам проходит мягкий блик. Погашенная буква — тёмная. */
.hero__sign { position: absolute; left: 4vw; right: 4vw; top: 13vh; will-change: transform; pointer-events: none; }
.mark { width: 100%; height: auto; overflow: visible; }
.L__tube { fill: url(#logoGrad); filter: url(#glow); opacity: 0; }
.L__dark { fill: #221022; }
.L__lit { fill: url(#logoGrad); opacity: 0; }
.L__gloss { fill: url(#logoGloss); opacity: 0; }
.L__edge { fill: none; stroke: #ffd9ef; stroke-opacity: .55; stroke-width: 1.1; stroke-linejoin: round; opacity: 0; }
.hero.is-on .L__tube, .hero.is-on .L__lit, .hero.is-on .L__gloss, .hero.is-on .L__edge { animation: tube 1.1s steps(1, end) var(--d) forwards; }
.hero.is-on .L--tired .L__tube { animation: tube 1.1s steps(1, end) var(--d) forwards, buzz 9s steps(1, end) 4s infinite; }
/* блик: проходит слева направо за 1,8 с, потом пауза; появляется только после включения вывески */
.sheen { opacity: 0; }
.hero.is-on .sheen { animation: sheen 8s cubic-bezier(.45, .05, .35, 1) 2.8s infinite; }
@keyframes sheen {
  0% { transform: translateX(0); opacity: 1; }
  22% { transform: translateX(760px); opacity: 1; }
  22.01%, 100% { transform: translateX(760px); opacity: 0; }
}
/* включение трубки: две осечки, потом ровный свет */
@keyframes tube {
  0% { opacity: 0; } 10% { opacity: .9; } 16% { opacity: .1; } 30% { opacity: 1; } 36% { opacity: .2; } 46%, 100% { opacity: 1; }
}
/* одна «уставшая» буква изредка моргает, как настоящий неон */
@keyframes buzz {
  0%, 91% { opacity: 1; } 92% { opacity: .25; } 93% { opacity: 1; } 95% { opacity: .5; } 96%, 100% { opacity: 1; }
}
.hero__ja {
  position: absolute; right: calc(var(--gut) - 4px); top: 50%; margin: 0; transform: translateY(-50%);
  writing-mode: vertical-rl; font: 400 15px/1 var(--display); letter-spacing: .5em; color: rgba(243, 234, 246, .45);
}

/* ===== Зоны ===== */
/* «Зоны» начинаются прямо в растворяющемся низу первого экрана */
.zones { position: relative; padding: clamp(40px, 6vw, 96px) 0 clamp(70px, 9vw, 130px); }
.zones__grid { display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.zones__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ztab {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; text-align: left;
  padding: 18px 0 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer;
  color: rgba(243, 234, 246, .5); transition: color .25s, padding .3s var(--ease);
}
.ztab__name { font: 400 clamp(22px, 2.3vw, 34px)/1.1 var(--display); }
.ztab__from { font-size: 14px; color: var(--mute); white-space: nowrap; }
.ztab__sub { grid-column: 1 / -1; font-size: 14px; color: var(--mute); }
.ztab:hover { color: rgba(243, 234, 246, .85); }
.ztab[aria-selected="true"] { color: var(--bone); padding-left: 18px; box-shadow: inset 3px 0 0 var(--neon); }
.ztab[aria-selected="true"] .ztab__from { color: var(--neon-core); }

.zones__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plum); }
.zones__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.zones__frame img.is-in { animation: wipe .7s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
/* светящаяся кромка, бегущая вместе со шторкой */
.zones__frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--neon-core);
  box-shadow: 0 0 12px 2px var(--neon); opacity: 0; pointer-events: none;
}
.zones__frame.is-wiping::after { animation: edge .7s var(--ease) both; }
@keyframes edge { from { transform: translateX(var(--w, 900px)); opacity: 1; } 85% { opacity: 1; } to { transform: translateX(0); opacity: 0; } }

.zones__info { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; padding-top: 24px; }
.zones__info p { margin: 0; max-width: 56ch; color: rgba(243, 234, 246, .85); }
.zones__info dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.zones__info dl div { padding: 14px 16px 0 0; }
.zones__info dt { font-size: 13px; color: var(--mute); }
.zones__info dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }

/* ===== Ночь: глаза в разрыве ===== */
.night { padding-bottom: clamp(80px, 10vw, 150px); }
.slit { position: relative; height: clamp(260px, 40vw, 640px); overflow: hidden; background: #000; --open: 0; }
.slit__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(calc(1.12 - var(--open) * .12)); }
.slit__lid { position: absolute; left: -2%; right: -2%; height: 52%; will-change: transform; }
.slit__lid svg { position: absolute; left: 0; width: 100%; height: clamp(36px, 4.6vw, 70px); overflow: visible; margin-top: -1px; }
.slit__lid--top { top: 0; background: var(--ink); transform: translateY(calc(var(--open) * -84%)); }
.slit__lid--top svg { top: 100%; }
.slit__lid--bottom { bottom: 0; background: var(--ink); transform: translateY(calc(var(--open) * 84%)); }
.slit__lid--bottom svg { margin: 0 0 -1px; }
.slit__lid--bottom svg { bottom: 100%; }
.lid-fill { fill: var(--ink); }
.lid-edge { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: miter; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px var(--neon)) drop-shadow(0 0 10px rgba(255, 62, 165, .6)); }
.slit__sfx {
  position: absolute; right: 7%; top: 18%; z-index: 3; font: 400 clamp(28px, 4vw, 64px)/1 var(--display); color: #fff;
  transform: rotate(-8deg) scale(calc(.6 + var(--open) * .4)); opacity: var(--open);
  text-shadow: 0 0 8px var(--neon), 0 0 22px var(--neon);
}

.night__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding-top: clamp(56px, 7vw, 100px); }
.night__lead { font-size: 20px; margin: 0 0 28px; max-width: 34ch; }
.night__list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.night__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.night__list b { font: 400 22px/1.1 var(--display); color: var(--neon-core); white-space: nowrap; }
.night__note { color: var(--mute); font-size: 15px; margin: 0 0 30px; max-width: 52ch; }
.night__photo { margin: 0; position: relative; }
.night__photo img { width: 100%; height: auto; pointer-events: none; }
.night__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid rgba(148, 102, 255, .55); z-index: -1; }

/* ===== Цены ===== */
.prices { padding: clamp(70px, 9vw, 130px) 0; background: var(--plum); }
.prices__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.prices__head .h2 { margin: 0; }
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--ink); padding: 4px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); }
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 22px; cursor: pointer; font-weight: 600; color: var(--mute); transition: color .25s; }
.toggle button[aria-checked="true"] { color: var(--ink); }
.toggle__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--neon); transition: transform .35s var(--ease);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.toggle[data-we="1"] .toggle__pill { transform: translateX(100%); }

.ptable { display: grid; grid-template-columns: minmax(200px, 2.2fr) repeat(4, 1fr); }
.ptable > * { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.ptable .ph { font-size: 14px; color: var(--mute); padding-top: 0; }
.ptable .pz b { display: block; font-weight: 600; }
.ptable .pz span { font-size: 13px; color: var(--mute); }
.ptable .pv { font: 400 clamp(19px, 1.8vw, 26px)/1.2 var(--display); font-variant-numeric: tabular-nums; }
.ptable .pv.is-flip { animation: flip .4s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(6px); } }
.prices__note { margin: 24px 0 0; color: var(--mute); font-size: 15px; max-width: 70ch; }

/* ===== Бронь ===== */
.booking { padding: clamp(90px, 11vw, 150px) 0; }
.booking__sub { margin: -10px 0 36px; color: var(--mute); max-width: 60ch; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 3vw, 40px); align-items: start; }

.map { position: sticky; top: 90px; }
.map__scroll { overflow-x: auto; scrollbar-width: thin; background: radial-gradient(ellipse at 50% 40%, #1c0d29 0%, var(--ink) 75%); border: 1px solid var(--line); }
.map__svg { width: 100%; min-width: 700px; height: auto; }
.map__hint { display: none; margin: 0 0 10px; font-size: 14px; color: var(--mute); }
.map__legend { display: flex; gap: 22px; list-style: none; padding: 14px 0 0; margin: 0; font-size: 14px; color: var(--mute); }
.map__legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 12px; display: inline-block; }
.lg--free { box-shadow: inset 0 0 0 1.5px var(--ice); }
.lg--busy { background: #2c1b38; }
.lg--pick { background: var(--neon); box-shadow: 0 0 8px var(--neon); }

/* элементы схемы */
.m-wall { fill: none; stroke: rgba(236, 214, 255, .3); stroke-width: 2; }
.m-room { fill: rgba(148, 102, 255, .05); stroke: rgba(148, 102, 255, .45); stroke-width: 1.5; }
.m-desk { fill: rgba(236, 214, 255, .06); }
.m-label { fill: var(--mute); font: 500 13px var(--text); letter-spacing: .02em; }
.m-label--big { fill: rgba(243, 234, 246, .75); font: 400 15px var(--display); }
.m-dim { fill: rgba(236, 214, 255, .25); font: 400 11px var(--text); }
.seat { cursor: pointer; outline: none; }
.seat rect, .seat .shape { fill: rgba(184, 243, 255, .04); stroke: var(--ice); stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.seat text { fill: var(--ice); font: 600 13px var(--text); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .2s; }
.seat:hover rect, .seat:hover .shape, .seat:focus-visible rect, .seat:focus-visible .shape { fill: rgba(184, 243, 255, .2); }
.seat:focus-visible rect, .seat:focus-visible .shape { stroke-width: 3; }
.seat .mini { fill: none; stroke: var(--ice); stroke-width: 1.2; opacity: .45; transition: stroke .2s; }
.seat .mini--fill { fill: var(--ice); stroke: none; opacity: .25; }
.seat .t-dim { fill: rgba(184, 243, 255, .6); font: 400 12px var(--text); }
.seat.is-busy .mini { stroke: rgba(243, 234, 246, .2); }
.seat.is-busy .mini--fill { fill: rgba(243, 234, 246, .15); }
.seat.is-busy .t-dim { fill: rgba(243, 234, 246, .25); }
.seat.is-pick .mini { stroke: var(--ink); opacity: .6; }
.seat.is-pick .mini--fill { fill: var(--ink); }
.seat.is-pick .t-dim { fill: rgba(13, 6, 19, .7); }
#pickHint.is-err { color: #ff7cc4; }
.seat.is-busy { cursor: not-allowed; }
.seat.is-busy rect, .seat.is-busy .shape { fill: #2c1b38; stroke: #2c1b38; }
.seat.is-busy text { fill: rgba(243, 234, 246, .25); }
.seat.is-pick rect, .seat.is-pick .shape { fill: var(--neon); stroke: var(--neon-core); filter: drop-shadow(0 0 6px var(--neon)); }
.seat.is-pick text { fill: var(--ink); }
.zone-hl { fill: none; stroke: var(--neon); stroke-width: 2; opacity: 0; pointer-events: none; }
.zone-hl.is-on { animation: hl 2.2s ease-out; }
@keyframes hl { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }

.panel { background: var(--plum); padding: 26px 26px 22px; display: grid; gap: 22px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 600; }
.step legend b { width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid var(--neon); color: var(--neon-core); font: 400 13px/1 var(--display); }
.step__hint { margin: 10px 0 0; font-size: 14px; color: var(--mute); }
#dayChips .chip { padding: 6px 10px; min-width: 64px; }
.range { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 16px; }
.range label { font-size: 14px; color: var(--mute); }
.range output { font: 400 18px var(--display); min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.range.is-off { opacity: .35; pointer-events: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--neon) var(--p, 50%), #3b2450 var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 3px; background: #3b2450; }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--neon); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; background: var(--neon-core); transform: rotate(45deg); box-shadow: 0 0 10px var(--neon); border: 0; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--neon-core); transform: rotate(45deg); border: 0; border-radius: 0; box-shadow: 0 0 10px var(--neon); }

.picked { display: flex; flex-wrap: wrap; gap: 8px; }
.picked .chip { padding: 0 12px; font-size: 14px; min-height: 38px; }
.picked .chip::after { content: "×"; margin-left: 8px; opacity: .6; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.total span { color: var(--mute); font-size: 15px; }
.total b { font: 400 30px/1 var(--display); color: var(--neon-core); font-variant-numeric: tabular-nums; }

.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--mute); }
.field input {
  height: 50px; padding: 0 14px; background: var(--ink); border: 1.5px solid #3b2450; color: var(--bone); outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field input:focus { border-color: var(--ice); }
.field input[aria-invalid="true"] { border-color: var(--neon); }
.field__err { font-style: normal; font-size: 13px; color: #ff7cc4; min-height: 0; }
.field__err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mute); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--neon); flex: none; }
.panel__fine { margin: -8px 0 0; font-size: 13px; color: var(--mute); text-align: center; }

/* ===== Турниры ===== */
.cups { padding: clamp(80px, 10vw, 140px) 0; background: var(--plum); }
.cups__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cup { display: grid; grid-template-columns: 150px 1.5fr 1fr 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cup__day { font: 400 64px/.9 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(243, 234, 246, .6); }
.cup__day small { display: block; -webkit-text-stroke: 0; color: var(--mute); font: 500 14px/1.3 var(--text); margin-top: 8px; }
.cup__game b { display: block; font: 400 24px/1.15 var(--display); margin-bottom: 4px; }
.cup__game span, .cup__fee span, .cup__prize span { font-size: 14px; color: var(--mute); }
.cup__fee b, .cup__prize b { display: block; font-weight: 600; font-size: 17px; }
.cup__prize b { color: var(--neon-core); }
.cup:hover .cup__day { -webkit-text-stroke-color: var(--neon); }

/* ===== PS5 ===== */
.ps5 { padding: clamp(80px, 10vw, 140px) 0; }
.ps5__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ps5__photo { margin: 0; }
.ps5__photo img { width: 100%; height: auto; pointer-events: none; }
.ps5__text > p { margin: 0 0 28px; max-width: 52ch; color: rgba(243, 234, 246, .88); }
.calc { display: grid; gap: 12px; }
.calc__label { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.extras { display: grid; gap: 8px; }
.extra { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; width: 100%; padding: 12px 14px; }
.extra b { font-weight: 600; white-space: nowrap; }
.extra[aria-pressed="true"] b { color: var(--ink); }
.total--calc { margin-top: 8px; margin-bottom: 4px; }

/* ===== Вопросы ===== */
.faq { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 19px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 16px; height: 16px; flex: none; margin-top: 6px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--neon); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { margin: 0 0 22px; max-width: 62ch; color: rgba(243, 234, 246, .82); }

/* ===== Контакты и подвал ===== */
.contacts { padding: clamp(80px, 10vw, 140px) 0; background: var(--plum); }
.contacts__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.contacts .h2 { font-size: clamp(48px, 8vw, 128px); margin-bottom: .25em; }
.contacts__how { margin: 0; max-width: 44ch; color: rgba(243, 234, 246, .85); font-size: 19px; }
.contacts__dl { margin: 0; display: grid; gap: 18px; }
.contacts__dl dt { font-size: 14px; color: var(--mute); }
.contacts__dl dd { margin: 2px 0 0; font-weight: 600; font-size: 19px; }
.contacts__dl a { text-decoration-color: var(--neon); text-underline-offset: 4px; }
.foot { padding: 36px 0 48px; font-size: 14px; color: var(--mute); }
.foot__row { display: flex; gap: 28px; align-items: baseline; flex-wrap: wrap; }
.foot__row p { margin: 0; }
.foot__row p:first-of-type { flex: 1; min-width: 260px; }
.foot__logo { font: 400 20px var(--display); color: var(--bone); }

/* ===== Окно (бронь подтверждена, заявки) ===== */
.modal { border: 0; padding: 0; background: transparent; color: var(--bone); max-width: min(480px, calc(100vw - 32px)); width: 100%; }
.modal::backdrop { background: rgba(6, 2, 10, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__box { background: var(--plum-2); padding: 30px; display: grid; gap: 16px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); }
.modal__box h3 { margin: 0; font: 400 28px/1.1 var(--display); }
.modal__box p { margin: 0; color: rgba(243, 234, 246, .85); }
.modal__code { font: 400 46px/1 var(--display); color: var(--neon-core); text-shadow: 0 0 18px rgba(255, 62, 165, .7); letter-spacing: .04em; }
.modal__rows { margin: 0; display: grid; gap: 8px; }
.modal__rows div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.modal__rows dt { color: var(--mute); font-size: 14px; }
.modal__rows dd { margin: 0; font-weight: 600; text-align: right; }

/* ===== Планшет ===== */
@media (max-width: 1180px) {
  .nav__phone { display: none; }
  .nav__links { gap: 16px; }
  .booking__grid { grid-template-columns: minmax(0, 1fr); }
  .map { position: static; }
  .panel { max-width: 640px; }
  .cup { grid-template-columns: 110px 1.4fr 1fr 1fr; }
  .cup .btn { grid-column: 2 / -1; justify-self: start; }
}
@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 24px;
    background: rgba(13, 6, 19, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav__links a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
  .nav.is-open { background: rgba(13, 6, 19, .97); }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .nav__burger i { display: block; width: 24px; height: 2px; background: var(--bone); transition: transform .25s var(--ease); }
  .nav.is-open .nav__burger i:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .zones__grid, .faq__grid, .night__grid, .ps5__grid, .contacts__grid { grid-template-columns: minmax(0, 1fr); }
  .zones__list { flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
  .zones__list::-webkit-scrollbar { display: none; }
  .ztab { flex: none; display: block; padding: 12px 16px; border: 1px solid var(--line); }
  .ztab__sub { display: none; }
  .ztab__from { display: block; margin-top: 4px; }
  .ztab[aria-selected="true"] { padding-left: 16px; box-shadow: inset 0 -3px 0 var(--neon); }
  .night__photo { max-width: 480px; }
}

/* ===== Телефон ===== */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 60px; gap: 12px; }
  .nav__links { inset: 60px 0 auto 0; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .hero { height: auto; min-height: 0; padding: calc(100vw + 20px) 0 36px; }
  /* телефон: квадратный кадр сверху, героиня целиком, надпись видна по бокам от головы */
  .hero__media { --fx: 50%; --fy: 50%; inset: 52px -10px auto; aspect-ratio: 1 / 1;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, .4) 84%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0, 0, 0, .4) 84%, transparent 100%); }
  .hero__shade { background: linear-gradient(180deg, rgba(13, 6, 19, .55) 0%, rgba(13, 6, 19, 0) 14%); }
  .hero__copy { position: relative; left: auto; bottom: auto; width: auto; padding: 0 var(--gut); }
  .hero__lead { font-size: 17px; margin-bottom: 20px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .live { margin-top: 18px; }
  .hero__sign { top: 9%; left: 3%; right: 3%; }
  .hero__ja { display: none; }
  .zones__info { grid-template-columns: 1fr; }
  .zones__info dl { grid-template-columns: 1fr 1fr; }
  .slit__sfx { right: 5%; top: 12%; }
  .night__photo::before { inset: 10px -10px -10px 10px; }
  .ptable { grid-template-columns: repeat(4, 1fr); }
  .ptable .ph:first-child { display: none; }
  .ptable .pz { grid-column: 1 / -1; padding-bottom: 4px; border-bottom: 0; padding-top: 18px; }
  .ptable .pv { font-size: clamp(14px, 4.2vw, 18px); white-space: nowrap; padding-right: 6px; }
  .map__hint { display: block; }
  .ptable .ph { font-size: 13px; }
  .panel { padding: 22px 18px 18px; }
  .cup { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .cup__day { grid-column: 1 / -1; font-size: 48px; display: flex; align-items: baseline; gap: 14px; }
  .cup__day small { margin: 0; }
  .cup__game { grid-column: 1 / -1; }
  .cup .btn { grid-column: 1 / -1; justify-self: stretch; }
  .foot__row { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .L__tube, .L__lit, .L__gloss, .L__edge { opacity: 1; }
  .sheen { display: none; }
  .live i { animation: none; }
}
