/* ─────────────────────────────────────────────────────────────
   Grozny Quiz — лендинги «Франшиза» и «Игрокам»
   Единый стиль с сайтом «Рейтинг и результаты»:
   тёмно-фиолетовый градиент, акцент #7c4dff, золото #ffc000,
   фирменные шрифты Actay.
   ───────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Actay Wide';
  src: url('../fonts/ActayWide-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Actay';
  src: url('../fonts/Actay-Regular.otf') format('opentype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Actay Condensed';
  src: url('../fonts/ActayCondensed-Thin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:     #0b0313;
  --ink-2:   #150a26;
  --ink-3:   #1d0f33;
  --line:    #2a1d47;
  --line-2:  #3d2b63;
  --paper:   #f1edfb;
  --paper-d: rgba(241, 237, 251, 0.58);
  --paper-f: rgba(241, 237, 251, 0.30);
  --purple:  #7c4dff;
  --purple-2:#a073ff;
  --purple-d:#5b3bbf;
  --hot:     #ffc000;
  --ok:      #39d98a;
  --mono:    "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--ink);
  color: var(--paper);
}
html, body { overflow-x: clip; }
body {
  font-family: "Actay", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: linear-gradient(160deg, rgb(1, 1, 3) 0%, rgb(25, 6, 49) 100%);
  background-attachment: fixed;
}
::selection { background: var(--purple); color: #000; }
img { max-width: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Actay Wide", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 13px; line-height: 1;
  padding: 10px 26px 10px 16px;
  background: var(--ink-3); color: var(--paper);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
}
.tag--purple { background: var(--purple-d); color: #fff; }
.tag--hot    { background: var(--hot); color: #000; }
.tag--paper  { background: var(--paper); color: #000; }
.tag--ghost  { background: transparent; border: 1px solid var(--line-2); color: var(--paper-d); }
.tag .dot { width: 6px; height: 6px; background: currentColor; }
.tagstack { display: inline-flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tagstack .tag { font-size: 14px; padding: 12px 30px 12px 18px; }

.display { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.88; }
.cond    { font-family: "Actay Condensed", sans-serif; font-weight: 200; text-transform: uppercase; line-height: 0.9; }
.mono    { font-family: var(--mono); font-feature-settings: "tnum" 1, "lnum" 1; }
.outline { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: -0.02em; line-height: 0.9; }
.outline--paper { -webkit-text-stroke-color: rgba(0,0,0,0.12); }
.outline--purple { -webkit-text-stroke-color: var(--purple-d); opacity: 0.55; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }

.rule { height: 1px; background: var(--line); margin: 0; border: 0; }
.sec { padding: 128px 0; position: relative; }
.sec--tight { padding: 96px 0; }
.big-h { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.02em; font-size: clamp(40px, 7vw, 96px); }
.big-h .accent { color: var(--purple-2); }
.big-h .gold   { color: var(--hot); }
.big-h .ghost  { -webkit-text-stroke: 1.5px var(--paper); color: transparent; }
.body-lg { font-size: 19px; line-height: 1.5; color: var(--paper); max-width: 720px; }
.body-lg + .body-lg { margin-top: 16px; }
.body-lg.muted { color: var(--paper-d); }

.pillar { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 96px; align-items: start; }
.pillar > * { min-width: 0; }
.pillar-label { position: sticky; top: 100px; }
.pillar-h { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 22px; margin-top: 16px; line-height: 1.05; }
.pillar-h .accent { color: var(--purple-2); }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 3, 19, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 40px; display: block; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--paper-d); text-decoration: none; font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links a:hover { color: var(--paper); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--hot); color: #000;
  padding: 10px 28px 10px 18px;
  font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
  text-decoration: none; transition: background 140ms;
}
.nav-cta:hover { background: var(--purple); color: #fff; }

/* ── Hero ── */
.hero { position: relative; padding: 48px 0 120px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 30%, rgba(124, 77, 255, 0.20), transparent 70%), radial-gradient(40% 30% at 10% 90%, rgba(255, 192, 0, 0.06), transparent 70%); pointer-events: none; }
.hero-outline { position: absolute; left: -40px; right: -40px; top: 260px; font-size: 200px; white-space: nowrap; user-select: none; pointer-events: none; opacity: 0.4; z-index: 0; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-tags { margin-bottom: 56px; }
.hero-title { font-size: clamp(44px, 8.2vw, 116px); }
.hero-title .strike { color: var(--purple-2); }
.hero-title .gold { color: var(--hot); }
.hero-title .ghost { -webkit-text-stroke: 1.5px var(--paper); color: transparent; }
.hero-meta { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; align-items: end; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero-meta .lead { max-width: 480px; color: var(--paper); font-size: 18px; line-height: 1.45; grid-column: 1; }

/* Витрина в хиро: жёсткая рамка, без «эфирных» пометок */
.hero-video { position: relative; aspect-ratio: 9 / 14; border: 1px solid var(--line-2); background: var(--ink-2); overflow: hidden; box-shadow: 16px 16px 0 var(--ink-3), 16px 16px 0 1px var(--line-2); transform: rotate(0.5deg); }
.hero-video::before, .hero-video::after { content: ""; position: absolute; z-index: 3; pointer-events: none; }
.hero-video::before { top: 12px; left: 12px; right: 12px; height: 1px; background: var(--paper); opacity: 0.18; }
.hero-video::after  { bottom: 12px; left: 12px; right: 12px; height: 1px; background: var(--paper); opacity: 0.18; }
.hero-video .pad-stripes { position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(124, 77, 255, 0.05) 0 12px, transparent 12px 24px); pointer-events: none; z-index: 1; }
.hero-video-corner { position: absolute; z-index: 4; width: 14px; height: 14px; border: 1.5px solid var(--paper); opacity: 0.35; pointer-events: none; }
.hero-video-corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.hero-video-corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.hero-video-corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.hero-video-corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* Заглушка под фото/видео: фирменный градиент + подпись */
.ph-slot {
  width: 100%; height: 100%; min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(124, 77, 255, 0.22), transparent 70%),
    linear-gradient(150deg, #12061f 0%, #24103e 100%);
  position: relative; z-index: 2;
}
.ph-slot span { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.18em; text-transform: uppercase; text-align: center; padding: 0 16px; }
.hero-video .ph-slot { position: absolute; inset: 0; }
.hero-video .ph-slot img { width: 60%; height: auto; opacity: 0.9; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 44px; line-height: 1; color: var(--hot); }
.stat-num .unit { font-size: 18px; color: var(--paper-d); margin-left: 4px; }
.stat-lbl { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.15em; text-transform: uppercase; }
.hero-actions { display: flex; gap: 16px; margin-top: 56px; position: relative; z-index: 2; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--purple); color: #fff;
  padding: 22px 56px 22px 32px;
  font-family: "Actay Wide", sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 50%, 100% 100%, 0 100%);
  text-decoration: none; transition: background 140ms, color 140ms;
}
.btn-primary:hover { background: var(--hot); color: #000; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 16px;
  background: transparent; color: var(--paper);
  padding: 22px 56px 22px 32px;
  font-family: "Actay Wide", sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-2); text-decoration: none;
  transition: border-color 140ms, color 140ms;
}
.btn-ghost:hover { border-color: var(--hot); color: var(--hot); }

.marquee { background: var(--hot); color: #000; border-top: 1px solid #000; border-bottom: 1px solid #000; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; padding: 18px 0; animation: marquee 42s linear infinite; font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .sep { color: var(--purple-d); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Кому подходит · 5 блоков ── */
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 64px; }
.aud-cell {
  padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px; min-height: 260px;
  position: relative; overflow: hidden;
  transition: background 200ms;
  background: rgba(21, 10, 38, 0.45);
}
.aud-cell:hover { background: var(--ink-2); }
.aud-cell:nth-child(3n) { border-right: 0; }
.aud-cell:nth-child(n+4) { border-bottom: 0; }
.aud-cell > * { position: relative; z-index: 2; }
.aud-cell::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(124, 77, 255, 0.05) 0 12px, transparent 12px 24px);
  opacity: 0; transition: opacity 200ms; pointer-events: none; z-index: 1;
}
.aud-cell:hover::before { opacity: 1; }
.aud-cell .ttl { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.05; margin-top: auto; }
.aud-cell .desc { font-size: 14px; color: var(--paper-d); line-height: 1.5; }
.aud-cell.featured { background: var(--ink-2); grid-column: span 2; }
.aud-cell.featured .ttl { font-size: 28px; }
.aud-cell.featured::after {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px; background: var(--hot); z-index: 2;
}
@media (max-width: 1100px) { .aud-grid { grid-template-columns: minmax(0, 1fr); } .aud-cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 0; } .aud-cell.featured { grid-column: span 1; } }

/* ── Отличия · 4 блока ── */
.diff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: 64px; }
.diff-cell { padding: 40px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-height: 240px; background: rgba(21, 10, 38, 0.45); }
.diff-cell:nth-child(2n) { border-right: 0; }
.diff-cell:nth-child(n+3) { border-bottom: 0; }
.diff-cell .num { font-family: var(--mono); font-size: 11px; color: var(--hot); letter-spacing: 0.2em; }
.diff-cell .ttl { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1.05; }
.diff-cell .desc { font-size: 14.5px; color: var(--paper-d); line-height: 1.55; }
@media (max-width: 1100px) { .diff-grid { grid-template-columns: minmax(0, 1fr); } .diff-cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 0; } .diff-cell:last-child { border-bottom: 0 !important; } }

/* ── Контент — главный актив ── */
.utp { background: var(--ink-2); border: 1px solid var(--line); margin-top: 64px; padding: 64px; position: relative; }
.utp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.utp-quote { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 28px; line-height: 1.18; letter-spacing: -0.01em; text-transform: uppercase; }
.utp-quote .accent { color: var(--purple-2); }
.utp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.utp-tags span { padding: 8px 14px; border: 1px solid var(--line-2); color: var(--paper-d); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.utp-pts { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.utp-pt { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.utp-pt .n { font-family: var(--mono); font-size: 12px; color: var(--hot); letter-spacing: 0.15em; }
.utp-pt .t { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 16px; margin-bottom: 6px; line-height: 1.2; }
.utp-pt .d { font-size: 14px; color: var(--paper-d); line-height: 1.55; }
.utp-punch { margin-top: 48px; padding: 24px 32px; background: var(--ink); border: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.utp-punch .t { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 18px; line-height: 1.2; max-width: 700px; }
.utp-punch .t .accent { color: var(--purple-2); }
@media (max-width: 1100px) { .utp { padding: 32px; } .utp-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .utp-quote { font-size: 22px; } }

/* ── Фотолента ── */
.photos { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; position: relative; overflow: hidden; }
.photos-outline { position: absolute; left: -40px; right: -40px; top: -20px; font-size: 220px; white-space: nowrap; pointer-events: none; user-select: none; opacity: 0.35; z-index: 0; }
.photos-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; position: relative; z-index: 1; }
.photos-head .h { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 56px; line-height: 0.95; letter-spacing: -0.02em; }
.photos-head .h .accent { color: var(--purple-2); }
.photos-head .meta { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; max-width: 360px; }
.photos-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; grid-template-rows: auto auto; gap: 16px; position: relative; z-index: 1; }
.photo { position: relative; background: var(--ink); border: 1px solid var(--line-2); overflow: hidden; display: flex; }
.photo::before { content: ""; position: absolute; top: 10px; left: 10px; width: 16px; height: 1px; background: var(--paper); opacity: 0.4; z-index: 3; pointer-events: none; }
.photo::after  { content: ""; position: absolute; top: 10px; left: 10px; width: 1px; height: 16px; background: var(--paper); opacity: 0.4; z-index: 3; pointer-events: none; }
.photo.p1 { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 520px; }
.photo.p2 { grid-column: 2 / 3; grid-row: 1 / 2; min-height: 252px; }
.photo.p3 { grid-column: 3 / 4; grid-row: 1 / 2; min-height: 252px; }
.photo.p4 { grid-column: 4 / 5; grid-row: 1 / 3; min-height: 520px; }
.photo.p5 { grid-column: 2 / 4; grid-row: 2 / 3; min-height: 252px; }
@media (max-width: 1100px) { .photos-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; } .photo.p1, .photo.p2, .photo.p3, .photo.p4, .photo.p5 { grid-column: auto; grid-row: auto; min-height: 220px; } .photo.p1, .photo.p4 { grid-column: span 2; min-height: 260px; } }

/* ── Цифры · 6 KPI ── */
.num-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: 64px; }
.num-cell { padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-height: 220px; position: relative; background: rgba(21, 10, 38, 0.45); }
.num-cell:nth-child(3n) { border-right: 0; }
.num-cell:nth-child(n+4) { border-bottom: 0; }
.num-cell .k { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; }
.num-cell .v { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; margin-top: 8px; }
.num-cell .v .unit { font-size: 22px; color: var(--paper-d); margin-left: 4px; }
.num-cell .sub { color: var(--paper-d); font-size: 13px; line-height: 1.45; margin-top: auto; }
.num-cell.featured { background: var(--ink-2); }
.num-cell.featured .v { color: var(--hot); }
.num-foot { margin-top: 24px; color: var(--paper-d); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; }
@media (max-width: 1100px) { .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .num-cell { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; min-height: 0; } .num-cell:nth-child(2n) { border-right: 0 !important; } }

/* ── Калькулятор ── */
.calc { margin-top: 96px; border-top: 2px solid var(--paper); padding-top: 64px; }
.calc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.calc-head .l > span { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; }
.calc-head .l h3 { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 48px; line-height: 0.95; letter-spacing: -0.02em; margin: 8px 0 0; }
.calc-head .l h3 .accent { color: var(--purple-2); }
.calc-head .l { flex: 1 1 400px; min-width: 0; }
.calc-head .r { flex: 0 1 360px; font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.6; max-width: 360px; text-align: right; }
.calc-head .r b { color: var(--hot); }

.calc-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); }
.calc-inputs { padding: 40px; border-right: 1px solid var(--line); background: rgba(21, 10, 38, 0.45); }
.calc-result { padding: 40px; background: var(--ink-2); position: sticky; top: 80px; align-self: start; container-type: inline-size; }

.calc-group { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.calc-group:not(:first-child) { margin-top: 32px; padding-top: 24px; border-top: 1px dashed var(--line-2); }
.calc-group .h { color: var(--hot); margin-right: 8px; }

.calc-row { margin-bottom: 22px; }
.calc-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.calc-row-head > div:first-child { flex: 1 1 180px; min-width: 0; }
.calc-row-head .lbl { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; }
.calc-row-head .hint { font-family: var(--mono); font-size: 10px; color: var(--paper-f); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; display: block; flex: 1; }
.calc-row-head .val { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 20px; color: var(--hot); background: var(--ink); padding: 4px 12px; min-width: 90px; text-align: center; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); padding-right: 18px; }
.calc-row input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--line-2); outline: none; cursor: pointer; }
.calc-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: var(--purple); cursor: pointer; border: 0; }
.calc-row input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--purple); cursor: pointer; border: 0; border-radius: 0; }
.calc-row .ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--paper-f); letter-spacing: 0.12em; margin-top: 6px; }

.calc-result .out-lbl { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; }
.calc-result .out-big { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 48px; font-size: min(96px, 17.5cqi); overflow-wrap: anywhere; line-height: 0.95; letter-spacing: -0.02em; margin: 8px 0 4px; color: var(--hot); }
.calc-result .out-big.neg { color: #ff5470; }
.calc-result .out-margin { font-family: var(--mono); font-size: 12px; color: var(--paper-d); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 28px; }

.calc-bar { height: 28px; background: var(--ink); margin: 24px 0; display: flex; overflow: hidden; border: 1px solid var(--line-2); }
.calc-bar .seg { display: flex; align-items: center; padding: 0 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #000; overflow: hidden; white-space: nowrap; transition: width 220ms; min-width: 0; }
.calc-bar .seg.profit { background: var(--hot); }
.calc-bar .seg.costs  { background: var(--line-2); color: var(--paper); }

.calc-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.calc-side > div { background: var(--ink); border: 1px solid var(--line-2); padding: 16px 18px; }
.calc-side .k { font-family: var(--mono); font-size: 10px; color: var(--paper-d); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 6px; }
.calc-side .v { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 20px; font-size: clamp(15px, 5.6cqi, 22px); line-height: 1; white-space: nowrap; }

.calc-table { border-top: 1px solid var(--line-2); padding-top: 16px; margin-bottom: 24px; }
.calc-table .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line-2); }
.calc-table .row:last-child { border-bottom: 0; }
.calc-table .row .k { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.1em; text-transform: uppercase; }
.calc-table .row .v { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 14px; white-space: nowrap; }
.calc-table .row .v.plus  { color: var(--ok); }
.calc-table .row .v.minus { color: #ff8896; }

.calc-payback { background: var(--hot); color: #000; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%); padding-right: 36px; }
.calc-payback .k { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.calc-payback .sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; margin-top: 4px; }
.calc-payback .v { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 32px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.calc-note { font-family: var(--mono); font-size: 10px; color: var(--paper-f); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; margin-top: 20px; }

@media (max-width: 1100px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .calc-result { position: static; padding: 24px; }
  .calc-head .r { text-align: left; }
}

/* ── Спонсоры ── */
.sp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.sp-head .body-lg { margin: 0; }
.sp-num { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 96px; line-height: 1; color: var(--hot); letter-spacing: -0.02em; }
.sp-num .unit { font-size: 32px; color: var(--paper-d); margin-left: 4px; }
.sp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); margin-top: 48px; }
.sp-col { padding: 40px; border-right: 1px solid var(--line); background: rgba(21, 10, 38, 0.45); }
.sp-col:last-child { border-right: 0; background: var(--ink-2); }
.sp-col .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.sp-col .lvl { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 18px; }
.sp-col .lvl::before { content: "★"; color: var(--hot); margin-right: 8px; }
.sp-col:last-child .lvl::before { content: "▸"; color: var(--purple-2); }
.sp-col .pr { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: clamp(28px, 2.5vw, 36px); line-height: 1; color: var(--hot); white-space: nowrap; }
.sp-col:last-child .pr { font-size: 26px; color: var(--purple-2); }
.sp-col ul { list-style: none; padding: 0; margin: 0; }
.sp-col ul li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--paper); line-height: 1.45; }
.sp-col ul li::before { content: "→"; color: var(--purple-2); margin-top: 2px; flex-shrink: 0; }
.sp-formula { margin-top: 24px; padding: 24px 32px; background: var(--ink); border: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.sp-formula .f { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; }
.sp-formula .f .accent { color: var(--hot); }
.sp-formula .note { font-size: 13px; color: var(--paper-d); max-width: 360px; }
@media (max-width: 1100px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } .sp-col { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; } .sp-col:last-child { border-bottom: 0; } .sp-num { font-size: 64px; } }

/* ── Пакет · 6 блоков ── */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 64px; }
.pkg-cell { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(21, 10, 38, 0.45); }
.pkg-cell:nth-child(3n) { border-right: 0; }
.pkg-cell:nth-child(n+4) { border-bottom: 0; }
.pkg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.pkg-head .ttl { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.05; min-width: 0; overflow-wrap: anywhere; }
.pkg-head .n   { font-family: "Actay Condensed", sans-serif; font-weight: 200; font-size: 44px; color: var(--purple-d); line-height: 1; flex-shrink: 0; }
.pkg-cell ul { list-style: none; padding: 0; margin: 0; }
.pkg-cell ul li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--paper); line-height: 1.45; }
.pkg-cell ul li::before { content: "→"; color: var(--purple-2); margin-top: 2px; flex-shrink: 0; font-size: 13px; }
@media (max-width: 1100px) { .pkg-grid { grid-template-columns: minmax(0, 1fr); } .pkg-cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .pkg-cell:last-child { border-bottom: 0 !important; } }

/* ── Этапы · 5 фаз ── */
.phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 2px solid var(--paper); }
.phase { padding: 32px 24px 0 24px; border-right: 1px dashed var(--line-2); position: relative; }
.phase:first-child { padding-left: 0; }
.phase:last-child { border-right: 0; padding-right: 0; }
.phase .week { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; }
.phase .ph-n { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: clamp(56px, 5.4vw, 88px); line-height: 0.9; color: var(--purple); margin: 12px 0 16px; }
.phase.last .ph-n { color: var(--hot); }
.phase .ph-t { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 19px; margin-bottom: 12px; line-height: 1.1; }
.phase .ph-d { color: var(--paper-d); font-size: 14px; line-height: 1.5; }
@media (max-width: 1100px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } .phase { padding: 24px 16px 16px 0; } }

/* ── Города ── */
.cities-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; margin-top: 64px; }
.cities-counts { display: flex; gap: 48px; flex-wrap: wrap; }
.cities-counts .v { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.cities-counts .v.accent { color: var(--purple-2); }
.cities-counts .v.hot    { color: var(--hot); }
.cities-counts .k { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 8px; }

.cities-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 32px; }
.city-cell { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-height: 140px; position: relative; background: rgba(21, 10, 38, 0.45); }
.city-cell:last-child { border-right: 0; }
.city-cell .badge { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.city-cell .badge.live { color: var(--ok); }
.city-cell .badge.live::before { content: ""; width: 7px; height: 7px; background: var(--ok); border-radius: 50%; animation: pulse 1.6s infinite; }
.city-cell .badge.soon { color: var(--hot); }
.city-cell .name { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 28px; letter-spacing: -0.02em; line-height: 1; margin-top: auto; }
.city-cell .sub { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.12em; text-transform: uppercase; }
.city-cell.flag { background: var(--ink-2); }
.city-cell.flag .name { color: var(--hot); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.cities-open { margin-top: 40px; padding: 32px; border: 1px solid var(--line); background: var(--ink-2); }
.cities-open .ttl { font-family: var(--mono); font-size: 12px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.cities-open .h { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.1; margin-bottom: 20px; }
.cities-open .h .accent { color: var(--purple-2); }
.cities-open .row { display: flex; flex-wrap: wrap; gap: 8px; }
.cities-open .row span { padding: 10px 18px; border: 1px dashed var(--line-2); font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--paper); }
.cities-open .row span.own { background: var(--hot); color: #000; border-style: solid; border-color: var(--hot); }
@media (max-width: 1100px) { .cities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .city-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .city-cell:nth-child(2n) { border-right: 0; } }

/* ── Цитата ── */
.quote { background: var(--ink-2); border: 1px solid var(--line); padding: 80px; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 64px; position: relative; }
.quote::before { content: "«"; position: absolute; top: -32px; left: 40px; font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 240px; line-height: 1; color: var(--purple); opacity: 0.8; }
.quote-portrait { width: 160px; height: 160px; background: var(--purple-d); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.quote-portrait img { width: 70%; height: auto; }
.quote-text { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 30px; line-height: 1.22; letter-spacing: -0.01em; }
.quote-attr { font-family: var(--mono); font-size: 12px; color: var(--paper-d); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 24px; }
@media (max-width: 1100px) { .quote { padding: 40px; grid-template-columns: minmax(0, 1fr); gap: 32px; } .quote-text { font-size: 22px; } }

/* ── FAQ ── */
.faq { margin-top: 64px; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); padding: 28px 0; cursor: pointer; }
.q summary { list-style: none; }
.q summary::-webkit-details-marker { display: none; }
.q-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.q-row .qn { font-family: var(--mono); font-size: 12px; color: var(--hot); letter-spacing: 0.15em; min-width: 56px; }
.q-row .qt { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.15; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.q-row .qx { flex: 0 0 20px; width: 20px; height: 20px; line-height: 20px; text-align: center; font-family: var(--mono); font-size: 18px; color: var(--paper-d); transition: transform 200ms; }
.q[open] .qx { transform: rotate(45deg); color: var(--purple-2); }
.q-ans { padding: 16px 0 0 56px; color: var(--paper-d); font-size: 15px; line-height: 1.6; max-width: 760px; }
.q[open] .q-row .qt { color: var(--purple-2); }
@media (max-width: 700px) { .q-ans { padding-left: 0; } }

/* ── Финальный CTA ── */
.cta-end { background: var(--hot); color: #000; padding: 128px 0; position: relative; overflow: hidden; }
.cta-end .outline { position: absolute; top: 40px; left: -20px; right: -20px; font-size: 280px; white-space: nowrap; }
.cta-end .display { font-size: clamp(48px, 9.5vw, 152px); position: relative; }
.cta-end .display .accent { color: var(--purple-d); }
.cta-end .row { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; margin-top: 64px; position: relative; flex-wrap: wrap; }
.cta-end .row p { max-width: 460px; font-size: 17px; line-height: 1.5; color: rgba(0,0,0,0.7); }
.cta-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; margin-top: 48px; position: relative; max-width: 880px; }
.cta-form input { padding: 22px 24px; border: 1px solid rgba(0,0,0,0.25); background: transparent; color: #000; font-family: "Actay", sans-serif; font-size: 16px; outline: none; transition: border-color 140ms; border-radius: 0; }
.cta-form input:focus { border-color: #000; }
.cta-form input::placeholder { color: rgba(0,0,0,0.45); text-transform: uppercase; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.cta-form .full { grid-column: 1 / 3; }
.btn-on-light {
  display: inline-flex; align-items: center; gap: 16px;
  background: #000; color: var(--hot);
  padding: 22px 56px 22px 32px;
  font-family: "Actay Wide", sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 50%, 100% 100%, 0 100%);
  text-decoration: none; border: 0; cursor: pointer;
  transition: background 140ms, color 140ms;
}
.btn-on-light:hover { background: var(--purple-d); color: #fff; }
.cta-end .tg { margin-top: 28px; font-family: var(--mono); font-size: 13px; color: rgba(0,0,0,0.6); letter-spacing: 0.1em; text-transform: uppercase; }
.cta-end .tg strong { color: #000; border-bottom: 2px solid #000; font-family: "Actay Wide", sans-serif; font-weight: 700; letter-spacing: 0.04em; }

/* ── Футер ── */
.foot { background: var(--ink); padding: 64px 0 32px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.foot h4 { font-family: var(--mono); font-size: 11px; color: var(--paper-d); letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 16px; font-weight: 400; }
.foot a { display: block; color: var(--paper); text-decoration: none; font-size: 14px; padding: 6px 0; font-family: "Actay Wide", sans-serif; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.foot a:hover { color: var(--hot); }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--paper-f); letter-spacing: 0.1em; text-transform: uppercase; gap: 16px; flex-wrap: wrap; }

/* ═════════ Страница «Игрокам» ═════════ */

.pl-hero-sub { font-size: 20px; line-height: 1.5; color: var(--paper-d); max-width: 560px; margin-top: 24px; }

/* Афиша */
.sched { display: grid; gap: 0; border: 1px solid var(--line); margin-top: 64px; }
.sched-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 32px; align-items: center; padding: 28px 32px; border-bottom: 1px solid var(--line); background: rgba(21, 10, 38, 0.45); }
.sched-row:last-child { border-bottom: 0; }
.sched-date { text-align: center; border: 1px solid var(--line-2); padding: 14px 8px; background: var(--ink); }
.sched-date .d { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 44px; line-height: 0.9; color: var(--hot); }
.sched-date .m, .sched-date .w { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--paper-d); }
.sched-info .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sched-info .tags span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 10px; border: 1px solid var(--line-2); color: var(--paper-d); }
.sched-info h3 { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 26px; letter-spacing: -0.01em; margin-bottom: 6px; }
.sched-info .meta { font-size: 14px; color: var(--paper-d); }
.sched-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.sched-status { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 12px; }
.sched-status.open   { background: var(--purple-d); color: #fff; }
.sched-status.few    { background: var(--hot); color: #000; }
.sched-status.invite { border: 1px solid var(--line-2); color: var(--paper-d); }
.sched-link { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--hot); text-decoration: none; border-bottom: 2px solid var(--hot); padding-bottom: 2px; }
.sched-link:hover { color: var(--purple-2); border-color: var(--purple-2); }
.sched-note { margin-top: 32px; padding: 22px 28px; background: var(--ink-2); border: 1px solid var(--line); font-size: 15px; color: var(--paper-d); text-align: center; }
.sched-note b { color: var(--paper); }
.sched-note a { color: var(--hot); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .sched-row { grid-template-columns: 90px 1fr; padding: 20px; } .sched-cta { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; } .sched-date .d { font-size: 32px; } }

/* Раунды */
.rounds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); margin-top: 64px; }
.round-cell { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; gap: 14px; background: rgba(21, 10, 38, 0.45); position: relative; overflow: hidden; }
.round-cell:nth-child(3n) { border-right: 0; }
.round-cell:nth-child(n+4) { border-bottom: 0; }
.round-cell .rn { font-family: "Actay Condensed", sans-serif; font-weight: 200; font-size: 64px; line-height: 0.9; color: var(--purple-d); }
.round-cell .ttl { font-family: "Actay Wide", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.round-cell .desc { font-size: 14px; color: var(--paper-d); line-height: 1.5; }
.round-cell.final { background: var(--ink-2); }
.round-cell.final .rn { color: var(--hot); }
.round-cell.final::after { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--hot); }
@media (max-width: 1100px) { .rounds { grid-template-columns: minmax(0, 1fr); } .round-cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; min-height: 0; } .round-cell:last-child { border-bottom: 0 !important; } }

/* Условия игры (3 факта) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.fact { border: 1px dashed var(--line-2); padding: 28px 24px; text-align: center; }
.fact .v { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 44px; line-height: 1; color: var(--hot); letter-spacing: -0.02em; }
.fact .t { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; margin: 10px 0 8px; }
.fact .d { font-size: 13px; color: var(--paper-d); line-height: 1.45; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }

/* Рейтинг-виджет */
.rate-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-top: 64px; }
.rate-card { border: 1px solid var(--line-2); background: var(--ink-2); padding: 32px; }
.rate-card .hd { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--paper-d); }
.rate-card .hd .live { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.rate-card .hd .live::before { content: ""; width: 7px; height: 7px; background: var(--ok); border-radius: 50%; animation: pulse 1.6s infinite; }
.rate-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rate-row:last-of-type { border-bottom: 0; }
.rate-row .pos { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 20px; width: 36px; height: 36px; line-height: 34px; text-align: center; border: 1px solid var(--line-2); }
.rate-row.top .pos { background: var(--hot); color: #000; border-color: var(--hot); }
.rate-row .nm { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-transform: uppercase; }
.rate-row .pt { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 17px; color: var(--hot); }
.rate-note { margin-top: 14px; font-family: var(--mono); font-size: 10px; color: var(--paper-f); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
@media (max-width: 1100px) { .rate-grid { grid-template-columns: 1fr; gap: 32px; } }

/* О нас */
.team-cards { display: grid; gap: 12px; margin-top: 8px; }
.team-card { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); background: rgba(21, 10, 38, 0.45); padding: 20px 24px; }
.team-card .ava { width: 56px; height: 56px; flex-shrink: 0; background: var(--purple-d); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 20px; }
.team-card .nm { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; }
.team-card .rl { font-size: 13px; color: var(--paper-d); margin-top: 2px; }

/* Галерея игроков */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.gal-card { border: 1px solid var(--line-2); background: var(--ink); aspect-ratio: 4 / 3; position: relative; overflow: hidden; display: flex; }
.gal-card .cap { position: absolute; left: 16px; bottom: 14px; z-index: 3; }
.gal-card .cap .l1 { font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: -0.01em; }
.gal-card .cap .l2 { font-size: 12px; color: var(--paper-d); margin-top: 2px; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gal-grid { grid-template-columns: 1fr; } }

/* ── Адаптив общего ── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-video { aspect-ratio: 16 / 9; transform: none; box-shadow: 8px 8px 0 var(--ink-3), 8px 8px 0 1px var(--line-2); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .pillar { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pillar-label { position: static; }
  .hero-outline { font-size: 100px; top: 360px; }
  .cta-form { grid-template-columns: minmax(0, 1fr); }
  .cta-form .full { grid-column: 1; }
  .cities-head { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .sec { padding: 72px 0; }
  .hero-title { font-size: clamp(30px, 10vw, 64px); }
  .big-h { font-size: clamp(26px, 8.6vw, 56px); }
  .cta-end .display { font-size: clamp(36px, 11vw, 60px); }
  .hero-meta { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .photos-head .h { font-size: 36px; }
  .quote-text { font-size: 20px; }
}

/* ═════════ Реальные фото и контент (сентябрь 2026) ═════════ */

/* Шапка: на узких экранах вместо меню — короткая ссылка на афишу */
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-mob { display: none; color: var(--paper); text-decoration: none; font-family: "Actay Wide", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--purple-2); padding-bottom: 2px; }
.nav-mob:hover { color: var(--hot); border-color: var(--hot); }
@media (max-width: 1000px) { .nav-links { display: none; } .nav-mob { display: inline-block; } }
@media (max-width: 380px) { .nav-cta { padding: 10px 22px 10px 12px; font-size: 12px; } .nav-right { gap: 12px; } }

/* Фото в хиро (вместо логотипа) */
.hero-photo { position: absolute; inset: 0; z-index: 2; display: block; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cap { position: absolute; left: 20px; bottom: 22px; z-index: 4; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); background: rgba(11, 3, 19, 0.72); padding: 6px 10px; }
.hero-note { position: relative; z-index: 2; margin-top: 18px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-f); line-height: 1.6; }

/* Галерея: реальные кадры */
.gal-card { margin: 0; }
.gal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.gal-card:hover img { transform: scale(1.03); }
.gal-card::after { content: ""; position: absolute; inset: 40% 0 0 0; z-index: 2; background: linear-gradient(180deg, transparent, rgba(5, 1, 10, 0.88)); pointer-events: none; }
.gal-card .cap { right: 16px; }
.gal-card .cap .l2 { color: rgba(241, 237, 251, 0.78); line-height: 1.35; }
.photos-head .meta a { color: var(--hot); text-decoration: none; }

/* Раунды: 6 тем + сноска */
.rounds-note { margin-top: 12px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-f); }

/* Рейтинг: живой топ сезонного кубка */
.rate-row .nm a { color: inherit; text-decoration: none; }
.rate-row .nm a:hover { color: var(--hot); }
.rate-note a { color: var(--hot); text-decoration: none; }

/* О нас: форматы игр карточками в две колонки */
.team-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .team-cards--grid { grid-template-columns: 1fr; } }
.inline-link { color: var(--hot); text-decoration: none; border-bottom: 1px solid rgba(255, 192, 0, 0.4); }
.inline-link:hover { border-bottom-color: var(--hot); }

/* Франшиза: фото в сетке и заявка */
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.photo-cap { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
.photo-cap span { background: rgba(11, 3, 19, 0.78); padding: 5px 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.9; }
.cta-form .err { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: #7a0019; display: none; }
.cta-form .err.is-visible { display: block; }
.cta-form input.is-invalid { border-color: #7a0019; }
.cta-form button:disabled { opacity: 0.6; cursor: progress; }
.cta-status { margin-top: 20px; max-width: 880px; padding: 18px 22px; border: 1px solid rgba(0, 0, 0, 0.3); font-size: 16px; line-height: 1.5; color: #000; position: relative; }
.cta-status.is-ok { background: rgba(0, 0, 0, 0.08); }
.cta-status.is-error { border-color: #7a0019; color: #7a0019; }
.cta-status a { color: inherit; font-weight: 700; }
.cta-end .tg a { color: inherit; text-decoration: none; }
.rate-text { margin: 18px 0 6px; font-size: 15px; line-height: 1.55; color: var(--paper-d); }

/* Мобильные: компактнее цифры хиро, темы в две колонки, футер в одну колонку */
@media (max-width: 700px) {
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .hero-meta .lead { grid-column: 1 / -1; }
  .stat-num { font-size: 36px; }
  .rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .round-cell { padding: 20px 14px; gap: 8px; }
  .round-cell:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .round-cell:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .round-cell .rn { font-size: 40px; }
  .round-cell .ttl { font-size: 13px; letter-spacing: -0.01em; hyphens: auto; }
  .round-cell .desc { font-size: 13px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot a { overflow-wrap: anywhere; }
}

/* ═════════ Адаптив лендингов: узкие телефоны и ноутбуки 1101–1399 (QA 25.09.2026) ═════════ */

/* Заголовки карточек подстраиваются под ширину своей ячейки (container units; старым браузерам — фиксированный размер) */
.aud-cell, .city-cell, .pkg-cell, .phase { container-type: inline-size; }
.phase .ph-t { font-size: 17px; font-size: clamp(15px, 14cqi, 19px); }
.pkg-head .ttl { font-size: 18px; font-size: clamp(15px, 7.4cqi, 20px); }
.aud-cell .ttl { font-size: 18px; font-size: clamp(16px, 7.6cqi, 22px); overflow-wrap: anywhere; }
.aud-cell.featured .ttl { font-size: 24px; font-size: clamp(20px, 5cqi, 28px); }
.city-cell .name { font-size: 20px; font-size: clamp(16px, 14cqi, 28px); overflow-wrap: anywhere; }
.num-cell .k, .num-cell .sub, .diff-cell .ttl, .utp-pt .t, .phase .ph-t, .sp-col .lvl { overflow-wrap: anywhere; }
.calc-result .out-big.is-long { font-size: min(96px, 14.5cqi); }

/* Хиро франшизы: «ГРОЗНЫЙ КВИЗ» в одну строку помещается в свою колонку, фото не сжимается */
@media (min-width: 1101px) {
  .hero-title--fit { font-size: clamp(44px, calc(6.6vw - 16px), 84px); }
}

/* Ноутбуки 1101–1399: колонка контента у .pillar ~560–850px — сетки в меньшее число колонок */
@media (min-width: 1101px) and (max-width: 1399px) {
  .big-h { font-size: clamp(40px, 6vw, 80px); }

  .rounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .round-cell:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .round-cell:nth-child(2n) { border-right: 0; }
  .round-cell:nth-last-child(-n+2) { border-bottom: 0; }

  .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud-cell:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .aud-cell:nth-child(2n), .aud-cell:last-child { border-right: 0; }
  .aud-cell:last-child { border-bottom: 0; }

  .utp { padding: 40px; }
  .utp-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num-cell:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .num-cell:nth-child(2n) { border-right: 0; }
  .num-cell:nth-last-child(-n+2) { border-bottom: 0; }

  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc-result { position: static; }
  .calc-head .r { text-align: left; }

  .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkg-cell:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .pkg-cell:nth-child(2n) { border-right: 0; }
  .pkg-cell:nth-last-child(-n+2) { border-bottom: 0; }

  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phase, .phase:first-child, .phase:last-child { padding: 28px 20px 28px 20px; border-right: 1px dashed var(--line-2); }
  .phase:nth-child(3n+1) { padding-left: 0; }
  .phase:nth-child(3n), .phase:last-child { border-right: 0; padding-right: 0; }
  .phase:nth-child(n+4) { border-top: 1px dashed var(--line-2); }

  .cities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-cell:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .city-cell:nth-child(2n) { border-right: 0; }
  .city-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Телефоны */
@media (max-width: 560px) {
  .pillar-h { font-size: clamp(18px, 6vw, 22px); }
  .aud-cell { padding: 28px 20px; }
  .diff-cell { padding: 28px 20px; }
  .diff-cell .ttl { font-size: 22px; }
  .utp { padding: 24px 20px; }
  .utp-quote { font-size: 19px; }
  .utp-pt { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .utp-punch { padding: 20px; }
  .utp-punch .t { font-size: 16px; }

  .num-cell { padding: 24px 16px; gap: 6px; }
  .num-cell .k { letter-spacing: 0.12em; }
  .num-cell .v { font-size: clamp(32px, 10.5vw, 48px); }
  .num-cell .v .unit { font-size: 16px; }
  .num-foot { letter-spacing: 0.04em; }

  .calc { margin-top: 64px; padding-top: 40px; }
  .calc-head { margin-bottom: 32px; }
  .calc-head .l h3 { font-size: clamp(28px, 8.4vw, 40px); }
  .calc-inputs, .calc-result { padding: 20px 16px; }
  .calc-row-head > div:first-child { flex-basis: 140px; }
  .calc-row-head .val { min-width: 64px; font-size: 17px; padding: 4px 16px 4px 10px; }
  .calc-side { grid-template-columns: minmax(0, 1fr); }
  .calc-side > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 12px 14px; }
  .calc-side .k { margin-bottom: 0; }
  .calc-side .v { font-size: 20px; white-space: nowrap; }
  .calc-payback { padding: 16px 32px 16px 16px; }
  .calc-payback .v { font-size: 26px; }

  .sp-num { font-size: 56px; }
  .sp-formula { padding: 20px; }
  .sp-formula .f { font-size: 18px; }

  .pkg-cell { padding: 28px 20px; }
  .phase .ph-n { font-size: 56px; }
  .phase .ph-t { font-size: 17px; }

  .cities-counts { gap: 24px 32px; }
  .cities-counts .v { font-size: 48px; }
  .city-cell { padding: 36px 16px 18px; min-height: 116px; }
  .city-cell .badge { top: 12px; left: 16px; right: auto; }
  .cities-open { padding: 24px 20px; }
  .cities-open .h { font-size: 20px; }
  .cities-open .row span { padding: 8px 12px; font-size: 12px; }

  .quote { padding: 32px 20px; }

  /* FAQ: номер, вопрос и «+/×» помещаются в 312px колонку */
  .q { padding: 22px 0; }
  .q-row { gap: 12px; }
  .q-row .qn { min-width: 26px; font-size: 11px; letter-spacing: 0.08em; }
  .q-row .qt { font-size: 17px; }
}

/* Одна колонка (≤1100): без двойной линии у нижнего ряда ячеек */
@media (max-width: 1100px) {
  .aud-cell:last-child { border-bottom: 0 !important; }
  .num-cell:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .city-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ═════════ Страница 404 (templates/404.html, общая для всех хостов) ═════════ */
.nf-page { min-height: 100vh; display: flex; flex-direction: column; }
.nf-main { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; padding: 96px 0 112px; }
.nf-wrap { position: relative; width: 100%; }
.nf-outline { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: clamp(160px, 30vw, 420px); pointer-events: none; user-select: none; z-index: 0; }
.nf-wrap > :not(.nf-outline) { position: relative; z-index: 1; }
.nf-title { margin-top: 28px; }
.nf-text { margin-top: 32px; max-width: 560px; }
.nf-actions { margin-top: 40px; }
.nf-foot { padding: 0 0 28px; }
.nf-foot .foot-bottom { margin-top: 0; border-top: 0; }
@media (max-width: 560px) {
  .nf-main { padding: 64px 0 80px; }
  .nf-outline { right: -12px; top: 18%; font-size: 150px; }
  .nf-actions .btn-primary, .nf-actions .btn-ghost { padding: 18px 44px 18px 22px; font-size: 14px; }
}
