/* =============================================================================
   SoulRift landing - soulrift.ru
   Язык: телеметрия движка Source. Один акцент (оранжевый GMod), нулевые
   скругления, монотипная сетка данных поверх крупной гротескной типографики.
   Тема зафиксирована тёмной: и оба лоадскрина проекта, и сама игра тёмные,
   светлый режим здесь ломал бы узнаваемость.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* поверхности */
  --bg:      #08090a;
  --bg-1:    #0c0e0e;
  --bg-2:    #111413;
  --bg-3:    #161a18;

  /* линии */
  --line:    #202422;
  --line-hi: #2f3733;

  /* текст */
  --fg:      #e9ebe6;
  --fg-2:    #9aa199;
  --fg-3:    #7c837a;

  /* единственный акцент проекта */
  --acc:     #ff8a2c;
  --acc-2:   #ffab63;
  --acc-ink: #150c03;
  --acc-a12: rgba(255, 138, 44, .12);
  --acc-a24: rgba(255, 138, 44, .24);

  /* состояние (не акцент, показывается только при аварии) */
  --bad:     #c96a5c;

  --sans: 'Geologica', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* одна шкала скруглений: их нет */
  --r: 0px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;

  --wrap: 1360px;
  --pad: clamp(20px, 5vw, 64px);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code, kbd, samp, pre { font-family: var(--mono); }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono { font-family: var(--mono); font-size: .8em; letter-spacing: .01em; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 90;
  padding: 10px 16px;
  background: var(--acc); color: var(--acc-ink);
  font-size: 13px; font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

kbd {
  display: inline-block;
  min-width: 2em;
  padding: 3px 8px 4px;
  border: 1px solid var(--line-hi);
  background: var(--bg-3);
  font-size: .8em;
  font-weight: 600;
  text-align: center;
  color: var(--fg);
  line-height: 1.15;
  vertical-align: baseline;
}

/* ------------------------------------------------- глобальные наложения */
.fx-grain, .fx-scan {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.fx-grain {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fx-scan {
  opacity: .32;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    rgba(0, 0, 0, .17) 3px 4px
  );
}

/* ==================================================================== NAV */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--nav-h);
  background: rgba(8, 9, 10, .55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav[data-stuck="1"] {
  background: rgba(8, 9, 10, .86);
  border-bottom-color: var(--line);
}

.nav__in {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__mark {
  width: 13px; height: 13px;
  background: var(--acc);
  box-shadow: 4px 4px 0 0 var(--acc-a24);
}
.brand__word {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .13em;
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-right: auto;
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-2);
}
.nav__links a { transition: color .25s var(--ease); }
.nav__links a:hover { color: var(--fg); }

.nav__right { display: flex; align-items: center; gap: 12px; flex: none; }

.livepill {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-family: var(--mono);
  font-size: 12px;
  transition: border-color .3s var(--ease);
}
.livepill:hover { border-color: var(--line-hi); }
.livepill__dot {
  align-self: center;
  width: 6px; height: 6px;
  background: var(--acc);
  animation: pulse 2.6s var(--ease) infinite;
}
.livepill[data-state="load"] .livepill__dot { background: var(--fg-3); animation: none; }
.livepill[data-state="err"]  .livepill__dot { background: var(--bad); animation: none; }
.livepill__num { font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.livepill__lbl { color: var(--fg-3); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .28; }
}

/* ================================================================ BUTTONS */
.btn {
  --bh: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--bh);
  padding: 0 8px 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.982); }

.btn__ic {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  background: rgba(0, 0, 0, .16);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.btn:hover .btn__ic { transform: translate(2px, -2px); }
.btn__ic .ic { width: 15px; height: 15px; }

.ic { width: 16px; height: 16px; fill: currentColor; }

.btn--acc  { background: var(--acc); color: var(--acc-ink); }
.btn--acc:hover { background: var(--acc-2); }

.btn--line { border-color: var(--line-hi); color: var(--fg); }
.btn--line:hover { border-color: var(--acc); color: var(--acc); }
.btn--line .btn__ic { background: rgba(255, 255, 255, .06); }

.btn--ghost { border-color: var(--line); color: var(--fg-2); }
.btn--ghost:hover { border-color: var(--line-hi); color: var(--fg); }

.btn--sm { --bh: 38px; padding: 0 14px; font-size: 13px; gap: 8px; }
.btn--sm .btn__ic { width: 22px; height: 22px; margin-right: -6px; }
.btn--big { --bh: 56px; padding: 0 10px 0 26px; font-size: 15px; }
.btn--big .btn__ic { width: 36px; height: 36px; }

.ic--dc { width: 17px; height: 17px; }

/* =================================================================== HERO */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 32px) 0 72px;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 104px 104px;
  background-position: center;
  opacity: .5;
  -webkit-mask-image: radial-gradient(78% 66% at 50% 42%, #000 8%, transparent 76%);
  mask-image: radial-gradient(78% 66% at 50% 42%, #000 8%, transparent 76%);
}

.hero__glow {
  position: absolute;
  inset: auto -10% -46% -10%;
  height: 78%;
  background: radial-gradient(58% 100% at 50% 100%, var(--acc-a12), transparent 68%);
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

/* размер подобран так, чтобы «который не пустует.» гарантированно жил
   в одной строке: заголовок ровно в две строки на любой ширине десктопа */
.hero__h1 {
  font-size: clamp(2.15rem, 4.15vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.038em;
}

.hero__sub {
  max-width: 46ch;
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--fg-2);
  line-height: 1.62;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.2vw, 40px);
}

/* ------------------------------------------------------------ телеметрия */
.tel__shell {
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.tel__core {
  padding: clamp(20px, 2vw, 28px);
  background: var(--bg-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.tel__head { display: flex; align-items: center; gap: 14px; }
.tel__head--2 { margin-top: 26px; }

.rule {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.rule i { font-style: normal; flex: none; }
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.tel__age {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}

.tel__total {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin: 18px 0 24px;
}
.tel__big {
  font-family: var(--mono);
  font-size: clamp(3.4rem, 6.4vw, 5.2rem);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.05em;
  color: var(--acc);
  font-variant-numeric: tabular-nums;
}
.tel__totlbl {
  padding-bottom: 5px;
  font-size: 12.5px;
  line-height: 1.32;
  color: var(--fg-2);
}

.tel__rows { display: grid; gap: 1px; background: var(--line); }
.trow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0 12px 12px;
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 12.5px;
}
.trow__k { color: var(--fg); letter-spacing: .02em; }
.trow__dot {
  grid-column: 2;
  width: 6px; height: 6px;
  background: var(--acc);
  animation: pulse 2.6s var(--ease) infinite;
}
.trow[data-off="1"] .trow__dot { background: var(--bad); animation: none; }
.trow__v { grid-column: 3; color: var(--fg); font-variant-numeric: tabular-nums; }
.trow__v b { font-weight: 700; }
.trow__v i { font-style: normal; color: var(--fg-3); }
.trow__map {
  grid-column: 1 / -1;
  padding-top: 2px;
  font-size: 11px;
  color: var(--fg-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tel__dl { display: grid; gap: 1px; margin-top: 14px; background: var(--line); }
.tel__dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 10px 12px;
  background: var(--bg-2);
}
.tel__dl dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-3);
}
.tel__dl dd i { font-style: normal; font-weight: 400; color: var(--fg-3); }
.tel__dl dd {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 55%;
}

.tel__err {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 2px solid var(--bad);
  background: rgba(201, 106, 92, .08);
  font-size: 12.5px;
  color: var(--fg-2);
}

/* скелет до первого ответа */
.tel__core[data-state="load"] .tel__big,
.tel__core[data-state="load"] .trow__v b,
.tel__core[data-state="load"] .tel__dl dd {
  color: var(--fg-3);
}
.tel__core[data-state="load"] .trow__dot,
.tel__core[data-state="load"] .livepill__dot {
  background: var(--fg-3);
  animation: none;
}
.tel__core[data-state="load"] .trow__map::after {
  content: "";
  display: inline-block;
  width: 96px; height: 7px;
  background: var(--bg-3);
  animation: shimmer 1.5s var(--ease) infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: .35; }
  50%      { opacity: .9; }
}

/* ================================================================= SPLIT */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.split__pane { background: var(--bg); }
.split__pane--b { background: var(--bg-1); }

.split__in {
  height: 100%;
  padding: clamp(40px, 5.4vw, 84px) clamp(20px, 4vw, 64px);
}
.split__pane--a .split__in { max-width: calc(var(--wrap) * .56); margin-left: auto; }
.split__pane--b .split__in { max-width: calc(var(--wrap) * .46); margin-right: auto; }

.split__h {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.minidl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.minidl > div { display: flex; flex-direction: column; gap: 3px; }
.minidl dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.minidl dd { font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; }
.minidl dd b { font-weight: 700; color: var(--acc); }

.split__p {
  max-width: 44ch;
  margin-top: 24px;
  color: var(--fg-2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 26px;
}
.tags li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-2);
}
.split__pane--b .tags li { background: var(--bg-2); }

.cline {
  display: flex;
  align-items: stretch;
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  max-width: 380px;
}
.split__pane--b .cline { background: var(--bg-2); }
.cline__code {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cline__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  flex: none;
  border-left: 1px solid var(--line);
  color: var(--fg-3);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.cline__btn:hover { color: var(--acc); background: var(--acc-a12); }
.cline__btn .ic { grid-area: 1 / 1; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.cline__btn .ic--ok { opacity: 0; transform: scale(.6); }
.cline__btn[data-ok="1"] { color: var(--acc); }
.cline__btn[data-ok="1"] .ic--copy { opacity: 0; transform: scale(.6); }
.cline__btn[data-ok="1"] .ic--ok { opacity: 1; transform: none; }

/* =============================================================== SECTIONS */
.sec { padding: clamp(72px, 9vw, 132px) 0; }
.sec--tight { padding-block: clamp(64px, 7vw, 104px); }

.sechead { max-width: 60ch; }
.sechead__h {
  font-size: clamp(1.8rem, 3.1vw, 2.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.032em;
  text-wrap: balance;
}
.sechead__p {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--fg-2);
}

/* --------------------------------------------------------------- marquee */
.mq {
  margin: clamp(38px, 4.6vw, 60px) 0 clamp(38px, 4.6vw, 60px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.mq__track {
  display: flex;
  width: max-content;
  animation: slide 84s linear infinite;
}
.mq:hover .mq__track { animation-play-state: paused; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.mq__cell {
  display: grid;
  place-items: center;
  width: 86px; height: 86px;
  flex: none;
  border-right: 1px solid var(--line);
  background: var(--bg-1);
}
.mq__cell img {
  width: 52px; height: 52px;
  object-fit: contain;
  opacity: .82;
  image-rendering: -webkit-optimize-contrast;
}

/* ----------------------------------------------------------------- bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bento__c {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  min-height: 210px;
  padding: clamp(22px, 2.3vw, 34px);
  background: var(--bg-1);
  overflow: hidden;
  transition: background .4s var(--ease);
}
.bento__c:hover { background: var(--bg-2); }

.bento__c--wide  { grid-column: 1 / 4; grid-row: 1 / 3; }
.bento__c--pvp   { grid-column: 4 / 7; grid-row: 1 / 2; }
.bento__c--lvs   { grid-column: 4 / 7; grid-row: 2 / 3; }
.bento__c--games { grid-column: 1 / 4; grid-row: 3 / 4; }
.bento__c--ev    { grid-column: 4 / 7; grid-row: 3 / 4; }

.bento__body h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.bento__body p {
  max-width: 42ch;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--fg-2);
}

.code {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 12px;
  line-height: 1.75;
  color: var(--fg-2);
  overflow-x: auto;
}
.code samp b { font-weight: 700; color: var(--acc); }

.keycap {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  align-self: flex-end;
  border: 1px solid var(--line-hi);
  background: var(--bg-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 5px 5px 0 0 var(--bg);
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--fg);
}

/* компактная плитка семейств техники: тот же язык хайрлайновой сетки,
   что и в телеметрии, но без картинок (рендеров самолётов у нас нет) */
.vgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 340px;
  background: var(--line);
  border: 1px solid var(--line);
}
.vgrid li {
  padding: 11px 13px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--fg-2);
}

.bento__c--ev::after,
.bento__c--games::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--acc-a12), transparent 66%);
  pointer-events: none;
}
.bento__c--games::after { inset: auto auto -70% -18%; }

/* ------------------------------------------------------------------ city */
.city {
  position: relative;
  padding: clamp(84px, 10vw, 156px) 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.city__media { position: absolute; inset: 0; z-index: -2; }
.city__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 46%;
  filter: saturate(.62) contrast(1.08) brightness(.68);
  -webkit-mask-image: radial-gradient(94% 84% at 72% 48%, #000 22%, transparent 74%);
  mask-image: radial-gradient(94% 84% at 72% 48%, #000 22%, transparent 74%);
}
.city::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, var(--bg) 22%, rgba(8, 9, 10, .74) 50%, rgba(8, 9, 10, .32) 84%);
}

.city__copy { max-width: 38rem; }
.city__h {
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.034em;
}
.city__p {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--fg-2);
}
.city__p .mono { color: var(--acc); }

.cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 940px;
}
.col {
  padding: clamp(20px, 2.2vw, 30px);
  background: rgba(12, 14, 14, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.col__h {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.col__p {
  margin-top: 9px;
  font-size: 14px;
  color: var(--fg-2);
}

/* ------------------------------------------------------------------ join */
.join {
  margin-top: clamp(34px, 4vw, 52px);
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.join__row {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 30px);
  background: var(--bg-1);
  transition: background .35s var(--ease);
}
.join__row:hover { background: var(--bg-2); }

.join__id { display: flex; flex-direction: column; gap: 4px; }
.join__name { font-size: 1.06rem; font-weight: 700; letter-spacing: -.02em; }
.join__meta { font-size: 11.5px; color: var(--fg-3); }
.join__meta .js-players { color: var(--acc); font-weight: 700; }

.join__code {
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
  color: var(--fg);
  overflow-x: auto;
  white-space: nowrap;
}
.join__act { display: flex; align-items: center; gap: 10px; }
.join__act .cline__btn {
  height: 38px;
  border: 1px solid var(--line);
}

.note {
  max-width: 56ch;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--fg-3);
}

/* ------------------------------------------------------------------- cta */
.cta {
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(64% 130% at 12% 0%, var(--acc-a12), transparent 62%),
    var(--bg-1);
}
.cta__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  flex-wrap: wrap;
}
.cta__h {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.032em;
}
.cta__p {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--fg-2);
}

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 56px; }
.foot__in {
  display: flex;
  align-items: center;
  gap: 20px 40px;
  flex-wrap: wrap;
}
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-right: auto;
  font-size: 13.5px;
  color: var(--fg-2);
}
.foot__nav a { transition: color .25s var(--ease); }
.foot__nav a:hover { color: var(--acc); }
.foot__legal {
  flex-basis: 100%;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-3);
}

/* ================================================================ REVEAL */
/* Прячем только когда JS точно работает. Иначе при любой осечке скрипта
   вся страница ниже первого экрана осталась бы пустой. */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  filter: blur(7px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity .82s var(--ease) calc(var(--i, 0) * 90ms),
    transform .82s var(--ease) calc(var(--i, 0) * 90ms),
    filter .82s var(--ease) calc(var(--i, 0) * 90ms);
}

/* ============================================================ RESPONSIVE */
@media (max-width: 1120px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding-bottom: 84px; }
  .tel { max-width: 560px; }
  .split__pane--a .split__in,
  .split__pane--b .split__in { max-width: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .brand { margin-right: auto; }

  .split { grid-template-columns: 1fr; }

  .bento { grid-template-columns: 1fr; }
  .bento__c,
  .bento__c--wide, .bento__c--pvp, .bento__c--lvs,
  .bento__c--games, .bento__c--ev { grid-column: 1 / -1; grid-row: auto; }

  .cols { grid-template-columns: 1fr; }

  .city__media img {
    object-position: 62% 40%;
    -webkit-mask-image: radial-gradient(120% 70% at 60% 20%, #000 10%, transparent 70%);
    mask-image: radial-gradient(120% 70% at 60% 20%, #000 10%, transparent 70%);
  }
  .city::before { background: linear-gradient(180deg, rgba(8, 9, 10, .58) 0%, var(--bg) 62%); }

  .join__row { grid-template-columns: 1fr; }
  .join__act { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero__h1 { font-size: clamp(2.05rem, 8.6vw, 2.8rem); }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .tel__total { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cline { max-width: none; }
  .livepill__lbl { display: none; }
  .cta__in .btn { width: 100%; justify-content: space-between; }
}

/* ======================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .mq__track { animation: none; }
  .livepill__dot, .trow__dot { animation: none; }
  .tel__core[data-state="load"] .trow__map::after { animation: none; }
  .btn, .btn__ic, .nav, .join__row, .bento__c { transition: none; }
  .btn:active { transform: none; }
}

/* ================================================== REDUCED TRANSPARENCY */
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .col { background: var(--bg-1); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============================================================== PRINT/FX */
@media print {
  .fx-grain, .fx-scan, .mq, .city__media { display: none; }
}
