/* ==========================================================================
   Эйрон — портал. Тёмное фэнтези: графит, золото, янтарь.
   Один файл на весь сайт: общие токены, оболочка, лендинг, внутренние
   страницы, адаптив. Без препроцессоров и утилит — читается как есть.
   ========================================================================== */

/* ── Шрифты ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/site-assets/fonts/cormorant-cyr.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/site-assets/fonts/cormorant-lat.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Manrope';
  src: url('/site-assets/fonts/manrope-cyr.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/site-assets/fonts/manrope-lat.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ── Токены ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #08070c;
  --bg-2: #0d0b14;
  --bg-3: #120e1b;
  --panel: #14101d;
  --panel-2: #1b1528;
  --panel-3: #221a33;
  --line: rgba(214, 178, 110, 0.16);
  --line-2: rgba(214, 178, 110, 0.3);
  --line-3: rgba(232, 199, 137, 0.5);
  --gold: #e6c078;
  --gold-hi: #ffe6b0;
  --gold-2: #c39144;
  --gold-3: #8a5e22;
  --gold-grad: linear-gradient(180deg, #ffe9b8 0%, #e9c47e 32%, #c08c3c 68%, #8d5f20 100%);
  --text: #ece4d6;
  --muted: #b1a390;
  --dim: #7f7464;
  --violet: #7b58b8;
  --blood: #a4342f;
  --light: #d8c27a;
  --dark: #8f7fc4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 40px rgba(230, 192, 120, 0.18);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --header: 76px;
}

/* ── База ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(123, 88, 184, 0.16), transparent 65%),
    radial-gradient(700px 420px at 8% 12%, rgba(180, 122, 52, 0.1), transparent 62%),
    linear-gradient(180deg, #0a0811 0%, var(--bg) 45%, #0a0810 100%);
}

::selection {
  background: rgba(230, 192, 120, 0.28);
  color: #fff6e2;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--gold-hi);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #241604;
  border-radius: 6px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

/* ── Сетка и типографика ────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow {
  max-width: 940px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(38px, 5.4vw, 64px);
}

h2 {
  font-size: clamp(32px, 4.2vw, 54px);
}

h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

em,
.gold {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 192, 120, 0.12), 0 0 14px rgba(230, 192, 120, 0.7);
}

.ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #7bd88a;
  box-shadow: 0 0 0 3px rgba(123, 216, 138, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ── Кнопки ─────────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .ico {
  width: 15px;
  height: 15px;
}

.btn--gold {
  color: #2a1906;
  background: var(--gold-grad);
  border: 1px solid #f6dda6;
  box-shadow:
    inset 0 0 0 2px rgba(66, 39, 8, 0.55),
    inset 0 1px 0 rgba(255, 251, 235, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 248, 225, 0.45);
}

.btn--gold:hover {
  color: #1d1002;
  box-shadow:
    inset 0 0 0 2px rgba(66, 39, 8, 0.55),
    inset 0 1px 0 rgba(255, 251, 235, 0.9),
    0 14px 36px rgba(230, 192, 120, 0.28);
}

.btn--ghost {
  color: var(--gold);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(230, 192, 120, 0.07), rgba(230, 192, 120, 0.02));
}

.btn--ghost:hover {
  color: var(--gold-hi);
  border-color: var(--line-3);
  background: linear-gradient(180deg, rgba(230, 192, 120, 0.13), rgba(230, 192, 120, 0.04));
}

.btn--lg {
  padding: 18px 34px;
  font-size: 13px;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 11px;
}

/* ── Орнамент-разделитель ───────────────────────────────────────────────── */
.orn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  color: var(--gold-2);
  opacity: 0.75;
}

.orn__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 178, 110, 0.55), transparent);
}

.orn__mark {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(230, 192, 120, 0.35));
}

/* ── Шапка ──────────────────────────────────────────────────────────────── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s;
}

.topbar.is-scrolled {
  background: rgba(8, 7, 12, 0.88);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  flex: 0 0 auto;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(230, 192, 120, 0.25));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__word {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__sub {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-hi);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 13, 22, 0.55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7bd88a;
  box-shadow: 0 0 0 3px rgba(123, 216, 138, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}

.online b {
  color: var(--gold-hi);
  font-weight: 700;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.burger span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: var(--gold);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Первый экран ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  max-height: 1040px;
  padding-top: var(--header);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('/site-assets/img/hero-backdrop.webp') center / cover no-repeat;
  opacity: 0.72;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 96%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 460px at 72% 62%, rgba(230, 192, 120, 0.16), transparent 70%),
    radial-gradient(900px 640px at 18% 24%, rgba(58, 38, 96, 0.5), transparent 72%),
    linear-gradient(90deg, rgba(8, 7, 12, 0.94) 0%, rgba(8, 7, 12, 0.72) 42%, rgba(8, 7, 12, 0.25) 72%, rgba(8, 7, 12, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 7, 12, 0.6) 0%, transparent 35%, rgba(8, 7, 12, 0.75) 100%);
}

.hero__glow {
  position: absolute;
  right: 6%;
  bottom: -12%;
  z-index: -1;
  width: 760px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 192, 120, 0.28), transparent 72%);
  filter: blur(30px);
}

.hero__emblem {
  position: absolute;
  top: 8%;
  right: 4%;
  z-index: -1;
  width: min(34vw, 440px);
  opacity: 0.07;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: 108px;
}

.hero__copy {
  max-width: 620px;
}

.hero__copy .eyebrow {
  margin-bottom: 26px;
}

.hero__title {
  /* Градиент красится только внутри коробки элемента, а вынос последней
     буквы выходит за неё — «Н» обрезалась справа. Коробка обнимает текст
     (`max-content`) и получает запас под вынос. */
  display: inline-block;
  width: max-content;
  max-width: none;
  margin-left: -0.06em;
  padding: 0.14em 0.08em 0.04em;
  margin-top: -0.1em;
  font-size: clamp(86px, 12.7vw, 186px);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff3d2 0%, #f0d195 26%, #d9ab5e 52%, #a97a34 76%, #7c5320 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.7));
}

.hero__lead {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.9vw, 40px);
  line-height: 1.15;
  color: #f4ead8;
}

.hero__lead b {
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  max-width: 520px;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin: 44px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stats b {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-hi);
}

.hero__stats span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero__lineup {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(62vw, 1040px);
  pointer-events: none;
}

.hero__lineup img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.8)) saturate(1.03);
}

.hero__fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--bg) 88%);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  transform: translateX(-50%);
}

.hero__scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollHint 2.6s ease-in-out infinite;
}

.hero__scroll:hover {
  color: var(--gold);
}

/* Угольки */
.embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.embers i {
  position: absolute;
  left: var(--x);
  bottom: 4%;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #ffca7a;
  box-shadow: 0 0 8px 2px rgba(255, 168, 60, 0.45);
  opacity: 0;
  animation: ember var(--d) linear infinite;
  animation-delay: calc(var(--i) * -0.7s);
}

/* ── Секции ─────────────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding: 104px 0;
}

.section--start {
  padding-top: 24px;
}

.sec-head {
  margin-bottom: 46px;
}

.sec-head h2 {
  max-width: 900px;
}

.sec-head__lead {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.sec-head--center {
  text-align: center;
}

.sec-head--center h2,
.sec-head--center .sec-head__lead,
.sec-head--center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

.sec-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section__note {
  max-width: 820px;
  margin: 30px auto 0;
  font-size: 13px;
  color: var(--dim);
  text-align: center;
}

.section__note a {
  border-bottom: 1px solid var(--line-2);
}

/* ── Старт ──────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(27, 21, 40, 0.9), rgba(13, 11, 20, 0.7));
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  opacity: 0.7;
}

.step__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(230, 192, 120, 0.55);
  opacity: 0.75;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.start-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 200px at 12% 50%, rgba(230, 192, 120, 0.1), transparent 70%),
    linear-gradient(120deg, rgba(34, 26, 51, 0.9), rgba(15, 12, 23, 0.9));
}

.start-cta__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.start-cta__text b {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  color: var(--gold-hi);
}

.start-cta__text span {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ── Расы ───────────────────────────────────────────────────────────────── */
.races {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.race {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 200px at 50% 0%, color-mix(in srgb, var(--race) 14%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(27, 21, 40, 0.92), rgba(12, 10, 18, 0.92));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.race::after {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--race), transparent);
  opacity: 0.8;
}

.race:hover {
  transform: translateY(-6px);
  border-color: var(--line-3);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.5), 0 0 30px color-mix(in srgb, var(--race) 16%, transparent);
}

.race__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 276px;
  overflow: hidden;
}

.race__art img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65));
  transition: transform 0.3s ease;
}

.race:hover .race__art img {
  transform: scale(1.03);
}

.race__ring {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 190px;
  height: 190px;
  border: 1px solid color-mix(in srgb, var(--race) 45%, transparent);
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--race) 20%, transparent), transparent 76%);
  opacity: 0.8;
}

.race__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 8, 16, 0.2), rgba(10, 8, 16, 0.75));
}

.race__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.race__top h3 {
  font-size: 26px;
  color: var(--gold-hi);
}

.race__passive {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
  color: color-mix(in srgb, var(--race) 80%, #fff);
}

.race__bonus {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.race__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
}

/* ── Мир ────────────────────────────────────────────────────────────────── */
.world {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.world__copy h2 {
  margin-bottom: 20px;
}

.world__copy p {
  max-width: 480px;
  color: var(--muted);
}

.world__copy .btn {
  margin-top: 12px;
}

.world__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.land {
  position: relative;
  min-height: 214px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.land img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.land:hover img {
  transform: scale(1.05);
}

.land__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.05) 20%, rgba(8, 7, 12, 0.55) 58%, rgba(8, 7, 12, 0.95) 100%);
}

.land__body {
  position: absolute;
  inset: auto 0 0;
  padding: 16px 18px;
}

.land__lvl {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 8px;
  border: 1px solid rgba(230, 192, 120, 0.4);
  border-radius: 3px;
  background: rgba(8, 7, 12, 0.6);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.land h3 {
  font-size: 22px;
  color: #fdf3df;
}

.land p {
  margin: 3px 0 0;
  font-size: 11px;
  color: rgba(236, 228, 214, 0.72);
}

/* ── Мир: карта и одиннадцать земель ────────────────────────────────────── */
.section--atlas {
  padding-top: 44px;
}

.atlas {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.atlas__map {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #0a0810;
  box-shadow: var(--shadow);
}

.atlas__map > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
}

.atlas__map figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(10, 8, 16, 0.9);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim);
}

/* Метка ставится в процентах от картинки — как маркер в самой игре. */
.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
}

.pin::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 192, 120, 0.5);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pin > i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(8, 7, 12, 0.75), 0 0 14px rgba(230, 192, 120, 0.65);
  transition: transform 0.25s ease;
}

.pin--contested > i {
  background: #e08a4a;
  box-shadow: 0 0 0 3px rgba(8, 7, 12, 0.75), 0 0 14px rgba(224, 138, 74, 0.6);
}

.pin--endgame > i {
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(8, 7, 12, 0.75), 0 0 14px rgba(123, 88, 184, 0.75);
}

.pin:hover::before,
.pin:focus-visible::before {
  transform: scale(1.18);
  border-color: var(--gold-hi);
}

.pin:hover > i {
  transform: scale(1.3);
}

.pin__tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(12, 9, 19, 0.97);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.66);
  white-space: nowrap;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 5px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pin__tip b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-hi);
}

.pin__tip em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.pin:hover .pin__tip,
.pin:focus-visible .pin__tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.atlas__side h2 {
  margin: 4px 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
}

.atlas__side > p {
  max-width: 460px;
  font-size: 14px;
  color: var(--muted);
}

.atlas__list {
  display: grid;
  gap: 9px;
  margin: 22px 0 18px;
}

.atlas__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(27, 21, 40, 0.9), rgba(13, 11, 20, 0.72));
  transition: border-color 0.2s ease, background 0.2s ease;
}

.atlas__row:hover {
  border-color: var(--line-2);
}

.atlas__row b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.atlas__row span {
  font-size: 12px;
  color: var(--dim);
}

.atlas__note {
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--dim);
}

/* ── Земли: группы и карточки ───────────────────────────────────────────── */
.zone-group + .zone-group {
  margin-top: 84px;
}

.zone-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 20px 40px;
  align-items: end;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.zone-group__head h2 {
  margin: 2px 0 0;
  font-size: clamp(26px, 3vw, 38px);
}

.zone-group__lead {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.zones {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.zone {
  grid-column: span 2;
}

/* Пять земель в группе: три в первом ряду, две — шире во втором. Ряд из
   трёх карточек и «дырка» справа смотрелись недоделанными. */
.zones--five > :nth-child(n + 4) {
  grid-column: span 3;
}

/* Широкие карточки второго ряда не должны тянуться на 700 px в высоту:
   кадр в них ландшафтный, текст — под ним. */
.zones--five > :nth-child(n + 4) .zone__art {
  aspect-ratio: 16 / 10;
}

.zones--single {
  grid-template-columns: 1fr;
}

.zones--single > .zone {
  grid-column: auto;
}

.zones--single .zone {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: stretch;
}

.zones--single .zone__art {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}

.zones--single .zone__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 34px;
}

.zones--single .zone__text {
  max-width: 520px;
  font-size: 14px;
}

.zone {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(27, 21, 40, 0.86), rgba(11, 9, 17, 0.9));
  overflow: hidden;
  scroll-margin-top: calc(var(--header) + 24px);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.zone:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.zone:target {
  border-color: var(--line-3);
  box-shadow: var(--glow-gold);
}

.zone__art {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.zone__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.zone:hover .zone__art img {
  transform: scale(1.04);
}

.zone__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.05) 46%, rgba(10, 8, 16, 0.78) 100%);
}

.zone__lvl,
.zone__power {
  position: absolute;
  z-index: 1;
  top: 12px;
  padding: 4px 9px;
  border: 1px solid rgba(230, 192, 120, 0.42);
  border-radius: 3px;
  background: rgba(8, 7, 12, 0.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.zone__lvl {
  left: 12px;
}

.zone__power {
  right: 12px;
  border-color: rgba(123, 88, 184, 0.6);
  color: #cdb9f2;
}

.zone__body {
  padding: 18px 20px 22px;
}

.zone__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.zone__top h3 {
  font-size: 21px;
}

.zone__kind {
  flex: none;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
}

.zone__essence {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.32;
  color: var(--gold-2);
}

.zone__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.zone--starter .zone__essence,
.zone--starter .zone__top h3 {
  color: var(--gold-hi);
}

/* ── Война за земли ─────────────────────────────────────────────────────── */
.war {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.war__card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(27, 21, 40, 0.9), rgba(13, 11, 20, 0.72));
}

.war__card b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.1;
  color: var(--gold-hi);
}

.war__card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Расы и классы ──────────────────────────────────────────────────────── */
.section--races-mini {
  padding-bottom: 30px;
}

.races-mini {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.race-mini {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(27, 21, 40, 0.86), rgba(11, 9, 17, 0.9));
  overflow: hidden;
}

.race-mini__art {
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(60% 70% at 50% 30%, rgba(123, 88, 184, 0.16), transparent 70%);
}

.race-mini__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.6s ease;
}

.race-mini:hover .race-mini__art img {
  transform: scale(1.04);
}

.race-mini__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 16px 18px;
}

.race-mini__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.race-mini__top h3 {
  font-size: 19px;
  color: #fdf3df;
}

.race-mini__top span {
  flex: none;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.race-mini__passive {
  margin: 8px 0;
  font-size: 11.5px;
  color: var(--gold-2);
}

.race-mini__passive b {
  color: var(--gold-hi);
}

.race-mini__text {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.race-mini .chips {
  margin-top: auto;
}

.klasses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.klass {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(27, 21, 40, 0.9), rgba(11, 9, 17, 0.85));
  scroll-margin-top: calc(var(--header) + 20px);
  transition: border-color 0.2s ease;
}

.klass:hover {
  border-color: var(--line-2);
}

.klass[hidden] {
  display: none;
}

.klass--cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-style: dashed;
  border-color: var(--line-2);
  background: linear-gradient(160deg, rgba(230, 192, 120, 0.07), rgba(11, 9, 17, 0.86));
}

.klass--cta .eyebrow {
  margin-bottom: 0;
}

.klass--cta h3 {
  font-size: 24px;
  color: var(--gold-hi);
}

.klass--cta p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.klass--cta .btn {
  align-self: flex-start;
  margin-top: auto;
}

.klass__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.klass__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #0d0b14;
}

.klass__top h3 {
  font-size: 20px;
}

.klass__role {
  margin: 2px 0 0;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.klass__passive {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.klass__passive b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-hi);
}

.klass__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.klass__meta dt {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.klass__meta dd {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: var(--text);
}

.klass__races {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.klass__races li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--dim);
}

.klass__races i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px var(--c);
}

.segmented--filter {
  flex-wrap: wrap;
}

.resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.resource {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(27, 21, 40, 0.9), rgba(13, 11, 20, 0.72));
}

.resource b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-hi);
}

.resource p {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.resource span {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── Сражения ───────────────────────────────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 70px;
  margin-top: 92px;
}

.feature:first-of-type {
  margin-top: 0;
}

.feature--flip {
  grid-template-columns: 0.85fr 1fr;
}

.feature--flip .feature__text {
  order: 2;
}

.feature--flip .feature__media {
  order: 1;
}

.feature__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(230, 192, 120, 0.06);
}

.feature__text h3 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.1vw, 40px);
}

.feature__text p {
  max-width: 480px;
  color: var(--muted);
}

.feature__text .btn {
  margin-top: 22px;
}

.checks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.checks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(230, 192, 120, 0.5);
}

.feature__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature__media::before {
  content: '';
  position: absolute;
  inset: 6% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 192, 120, 0.22), transparent 72%);
  filter: blur(26px);
}

.phone {
  position: relative;
  display: block;
  width: min(292px, 100%);
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(160deg, #262033, #0b0911);
  border: 1px solid rgba(230, 192, 120, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 34px 70px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 240, 210, 0.14);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 34px rgba(230, 192, 120, 0.18),
    inset 0 1px 0 rgba(255, 240, 210, 0.14);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 29px;
}

.phone__notch {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  width: 84px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #090710;
  transform: translateX(-50%);
  pointer-events: none;
}

/* ── Профессии ──────────────────────────────────────────────────────────── */
.profs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(27, 21, 40, 0.8), rgba(12, 10, 18, 0.6));
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.prof:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}

.prof img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.prof span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
}

.profs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.profs__row p {
  max-width: 640px;
  margin: 0;
  font-size: 14px;
  color: var(--dim);
}

/* ── Скриншоты ──────────────────────────────────────────────────────────── */
.section--shots {
  padding-top: 40px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start;
}

.shot {
  margin: 0;
  text-align: center;
}

.shots .shot .phone {
  width: 100%;
  padding: 7px;
  border-radius: 30px;
}

.shots .shot .phone img {
  border-radius: 23px;
}

.shot figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--dim);
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 4, 8, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 88vh;
  max-width: min(520px, 90vw);
  border-radius: 30px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.lightbox__cap {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Новости ────────────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25, 19, 37, 0.85), rgba(12, 10, 18, 0.9));
  overflow: hidden;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  color: var(--text);
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 18, 0.55));
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.tag {
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(230, 192, 120, 0.06);
}

.news-card h3 {
  font-size: 23px;
  line-height: 1.18;
}

.news-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.news-card:hover .news-card__more {
  color: var(--gold-hi);
}

.news-card__more .ico {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.news-card:hover .news-card__more .ico {
  transform: translateX(3px);
}

.news-card--big {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.news-card--big .news-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

.news-card--big .news-card__body {
  justify-content: center;
  padding: 36px;
}

.news-card--big h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.news-card--big p {
  font-size: 15px;
}

.news-featured {
  margin-bottom: 22px;
}

/* ── Рейтинги на главной ────────────────────────────────────────────────── */
.ratings-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.ratings-teaser__copy h2 {
  margin-bottom: 18px;
}

.ratings-teaser__copy p {
  max-width: 440px;
  color: var(--muted);
}

.ratings-teaser__copy .btn {
  margin-top: 10px;
}

.ratings-teaser__live {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--dim);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25, 19, 37, 0.86), rgba(11, 9, 17, 0.92));
  overflow: hidden;
}

.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.panel__head h2,
.panel__head h3 {
  font-size: 24px;
}

.panel__head p {
  margin: 3px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.panel__head > span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.panel__foot {
  margin: 0;
  padding: 14px 24px 18px;
  font-size: 11px;
  color: var(--dim);
}

.panel__head--tools {
  align-items: center;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

/* Подсказка появляется только там, где таблица правда шире экрана: её
   включает site.js замером scrollWidth. */
.table-hint {
  margin: 0;
  padding: 0 18px 12px;
  font-size: 11px;
  color: var(--dim);
}

.table th {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--dim);
  white-space: nowrap;
}

.table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(214, 178, 110, 0.07);
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: rgba(230, 192, 120, 0.035);
}

.table td:first-child {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold-2);
}

.table__empty {
  padding: 34px 18px;
  text-align: center;
  color: var(--dim);
  font-size: 12px;
}

.hero-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.hero-cell__ava {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(230, 192, 120, 0.05);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  flex: 0 0 auto;
}

.hero-cell__name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-cell__name b {
  font-weight: 700;
  color: var(--text);
}

.hero-cell__name small {
  font-size: 10px;
  color: var(--dim);
}

.side {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.side::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.side--light {
  color: #e7cf8c;
}

.side--dark {
  color: #a996d8;
}

.side--none {
  color: var(--dim);
}

/* ── Финальный призыв ───────────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: 128px 0 118px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/site-assets/img/cta-wide.webp') center / cover no-repeat;
  opacity: 0.42;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(700px 380px at 50% 50%, rgba(230, 192, 120, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, rgba(8, 7, 12, 0.72) 30%, rgba(8, 7, 12, 0.82) 70%, var(--bg) 100%);
}

.cta__emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 460px;
  opacity: 0.06;
  transform: translate(-50%, -50%);
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  margin-bottom: 30px;
  color: var(--muted);
}

.cta small {
  display: block;
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.cta .eyebrow {
  justify-content: center;
}

/* ── Подвал ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 8, 16, 0.4), #06050a);
}

.footer__in {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.brand--footer {
  margin-bottom: 16px;
}

.footer__tagline {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--gold-hi);
}

.footer__note {
  max-width: 320px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col h2 {
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.footer__col a {
  font-size: 13px;
  color: var(--muted);
}

.footer__col a:hover {
  color: var(--gold-hi);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(214, 178, 110, 0.08);
  font-size: 11px;
  color: var(--dim);
}

.footer__disclaimer {
  max-width: 620px;
  text-align: right;
}

/* ── Внутренние страницы: шапка ─────────────────────────────────────────── */
.page-head {
  position: relative;
  padding: calc(var(--header) + 76px) 0 64px;
  overflow: hidden;
  isolation: isolate;
}

.page-head__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
}

.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 380px at 20% 10%, rgba(123, 88, 184, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(8, 7, 12, 0.45) 0%, rgba(8, 7, 12, 0.82) 62%, var(--bg) 100%);
}

.page-head h1 {
  max-width: 900px;
}

.page-head__lead {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* После шапки страницы секция начинается ближе: два отступа по 100 px
   оставляли пустую полосу в четверть экрана. */
.page-head + .section {
  padding-top: 54px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.crumbs a {
  color: var(--dim);
}

.crumbs a:hover {
  color: var(--gold);
}

.crumbs i {
  font-style: normal;
  opacity: 0.5;
}

.crumbs span {
  color: var(--gold-2);
}

/* ── Статья ─────────────────────────────────────────────────────────────── */
.post__head {
  position: relative;
  padding: calc(var(--header) + 76px) 0 56px;
  overflow: hidden;
  isolation: isolate;
}

.post__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}

.post__head::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 7, 12, 0.4), rgba(8, 7, 12, 0.85) 60%, var(--bg));
}

.post__head h1 {
  max-width: 840px;
  margin-top: 16px;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.post__lead {
  max-width: 700px;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--muted);
}

.post__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  justify-content: space-between;
  gap: 60px;
  padding-top: 48px;
}

.post__aside {
  position: relative;
}

.post__aside > * {
  position: sticky;
  top: calc(var(--header) + 24px);
}

.post__cta {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(34, 26, 51, 0.9), rgba(12, 10, 18, 0.9));
}

.post__cta b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-hi);
}

.post__cta p {
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted);
}

.post__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 46px;
  padding-bottom: 20px;
}

.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: rgba(255, 255, 255, 0.012);
}

.post-nav__item:hover {
  border-color: var(--line-2);
  color: var(--gold-hi);
}

.post-nav__item span {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.post-nav__item b {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.post-nav__item--next {
  text-align: right;
}

/* У первой или последней новости соседняя карточка одна: пустая клетка
   оставляла «висящую» половину ширины, поэтому одиночная тянется на весь ряд. */
.post-nav__item:only-child {
  grid-column: 1 / -1;
}

/* ── Прозовые страницы ──────────────────────────────────────────────────── */
.prose {
  font-size: 15.5px;
  line-height: 1.78;
  color: #d8cdbc;
}

.prose > h2 {
  margin: 44px 0 16px;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--gold-hi);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 32px 0 12px;
  font-size: 22px;
  color: #f0e4cc;
}

.prose p {
  margin: 0 0 1em;
}

.prose a {
  border-bottom: 1px solid rgba(230, 192, 120, 0.35);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 22px;
}

.prose li {
  margin: 6px 0;
}

.prose li::marker {
  color: var(--gold-2);
}

.prose blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 2px solid var(--gold-2);
  background: rgba(230, 192, 120, 0.05);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}

.prose code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.88em;
  color: #e9d6ae;
}

.prose pre.code {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #0b0912;
  overflow-x: auto;
}

.prose pre.code code {
  padding: 0;
  border: 0;
  background: none;
}

.prose hr {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.md-table {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.md-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.md-table th,
.md-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.md-table th {
  background: rgba(230, 192, 120, 0.05);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.md-table tr:last-child td {
  border-bottom: 0;
}

.fill {
  padding: 0 3px;
  border-bottom: 1px dashed rgba(230, 192, 120, 0.65);
  background: rgba(230, 192, 120, 0.08);
  color: var(--gold-hi);
  white-space: nowrap;
}

/* ── Юридические страницы ───────────────────────────────────────────────── */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: space-between;
  gap: 60px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.012);
}

.legal-toc p {
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.legal-toc a {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.legal-toc a:hover {
  color: var(--gold-hi);
}

.legal-toc a.is-sub {
  padding-left: 12px;
  font-size: 11px;
  color: var(--dim);
}

.legal-body {
  min-width: 0;
}

.prose--legal {
  font-size: 14.5px;
  line-height: 1.75;
  color: #cfc4b3;
}

.prose--legal h2 {
  font-size: 26px;
  color: #f0e2c6;
}

.prose--legal h3 {
  font-size: 19px;
  color: #ecd8b3;
}

.legal-draft {
  margin-bottom: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(230, 192, 120, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(230, 192, 120, 0.055);
}

.legal-draft b {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.legal-draft p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.legal-draft--info {
  border-color: var(--line);
  background: rgba(123, 88, 184, 0.08);
}

.legal-updated {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
}

/* ── Обновления ─────────────────────────────────────────────────────────── */
.updates-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}

.updates-bar b {
  color: var(--gold-hi);
}

.upd {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.upd:last-child {
  border-bottom: 0;
}

.upd.is-folded {
  display: none;
}

.upd__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 14px;
}

.upd__head time,
.upd__nodate {
  flex: 0 0 88px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.upd__head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  color: #f2e6cd;
}

.upd__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.upd__body > h2,
.upd__body > h3 {
  font-size: 19px;
  color: #ecd8b3;
  margin: 20px 0 8px;
}

.upd__body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.upd__body li {
  margin: 4px 0;
}

.upd__body code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.88em;
  color: #e9d6ae;
}

.upd__body strong {
  color: #e8dcc8;
}

.updates-more {
  padding: 28px 0 8px;
  text-align: center;
}

/* ── Рейтинги: панель ───────────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.stat {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(27, 21, 40, 0.8), rgba(12, 10, 18, 0.7));
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--gold-hi);
}

.stat span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.stat--wide b {
  font-size: 22px;
  padding-top: 8px;
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.tab:hover {
  color: var(--muted);
}

.tab.is-active {
  color: var(--gold-hi);
}

.tab.is-active::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.015);
}

.segmented button {
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.segmented button:hover {
  color: var(--muted);
}

.segmented button.is-active {
  background: rgba(230, 192, 120, 0.12);
  color: var(--gold-hi);
}

.ratings-note {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.ratings-note h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.ratings-note__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

.ratings-note__grid p {
  margin: 0;
  font-size: 13px;
  color: var(--dim);
}

.ratings-note__grid b {
  color: var(--gold-2);
}

.rank {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
}

.rank--top {
  color: var(--gold-hi);
}

/* ── Поддержка ──────────────────────────────────────────────────────────── */
.support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
}

.support__body h2 {
  margin: 34px 0 12px;
  font-size: 28px;
  color: var(--gold-hi);
}

.support__body h2:first-child {
  margin-top: 0;
}

.support__body h3 {
  margin: 26px 0 8px;
  font-size: 20px;
  color: #f0e4cc;
}

.support__body p,
.support__body li {
  font-size: 14.5px;
  color: var(--muted);
}

.support-card {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(320px 180px at 50% 0%, rgba(230, 192, 120, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(30, 23, 45, 0.95), rgba(12, 10, 18, 0.95));
}

.support-card h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.support-card__mail {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-hi);
  word-break: break-all;
}

.support-card__note {
  font-size: 12px;
  color: var(--dim);
}

.support-card ul {
  margin: 18px 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.support-card ul b {
  color: var(--gold-2);
}

/* ── 404 ────────────────────────────────────────────────────────────────── */
.notfound {
  padding: calc(var(--header) + 90px) 0 110px;
  text-align: center;
}

.notfound__in {
  position: relative;
  max-width: 640px;
}

.notfound__emblem {
  width: 150px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.notfound .eyebrow {
  justify-content: center;
}

.notfound h1 {
  margin-bottom: 16px;
}

.notfound p {
  color: var(--muted);
}

.notfound__cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ── Анимации появления ─────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

@keyframes ember {
  0% { opacity: 0; transform: translate(0, 0) scale(0.7); }
  12% { opacity: 0.9; }
  70% { opacity: 0.5; }
  100% { opacity: 0; transform: translate(calc(var(--x) * 0.2px - 20px), -540px) scale(1.15); }
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Адаптив ─────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .topbar__in { gap: 22px; }
  .nav { gap: 18px; }
  .nav a { font-size: 11px; }
  .hero__lineup { width: min(70vw, 980px); right: -6%; }
  .races { grid-template-columns: repeat(3, 1fr); }
  .race__art { height: 250px; }
  .feature { gap: 46px; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .shots .shot:nth-child(n + 4) { display: none; }
  .profs { grid-template-columns: repeat(4, 1fr); }
  .footer__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .atlas { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; }
  .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* `.zones` в медиазапросе перебивал `.zones--single` (одинаковая сила, но
     ниже по файлу), и карточка стартовой долины занимала половину ряда. */
  .zones--single { grid-template-columns: 1fr; }
  .zone, .zones--five > :nth-child(n + 4) { grid-column: auto; }
  .war { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .races-mini { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .races-mini > * { grid-column: span 2; }
  .races-mini > :nth-child(n + 4) { grid-column: span 3; }
  .klasses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  :root { --header: 68px; }

  .online { display: none; }
  .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 10px 22px 22px;
    background: rgba(8, 7, 12, 0.97);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(214, 178, 110, 0.08);
    font-size: 12px;
  }
  .nav a::after { display: none; }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .burger { display: block; position: relative; z-index: 2; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .hero { min-height: auto; max-height: none; display: block; padding-top: calc(var(--header) + 56px); }
  .hero__in { padding-bottom: 12px; }
  .hero__copy { max-width: 640px; }
  .hero__title { font-size: clamp(74px, 17vw, 132px); }
  .hero__lineup { position: relative; right: auto; bottom: auto; width: 100%; margin: 8px 0 0; }
  .hero__fade { display: none; }
  .hero__glow { right: -10%; bottom: 0; width: 90vw; height: 340px; }
  .hero__scroll { display: none; }
  .hero__emblem { width: 44vw; top: 4%; }

  .section { padding: 74px 0; }
  .section--start { padding-top: 10px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 70px 1fr; gap: 0 14px; align-items: start; padding: 22px; }
  .step__num { grid-row: span 2; margin: 0; font-size: 48px; }
  .step h3 { font-size: 22px; }
  .start-cta { flex-direction: column; align-items: flex-start; }
  .start-cta .btn { width: 100%; }

  .world { grid-template-columns: 1fr; gap: 34px; }
  .world__cards { grid-template-columns: 1fr 1fr; }

  .atlas { grid-template-columns: 1fr; gap: 34px; }
  .atlas__map { max-width: 520px; margin: 0 auto; }
  .atlas__side { max-width: 620px; }
  .zone-group__head { grid-template-columns: 1fr; gap: 12px; }
  .zones--single .zone { grid-template-columns: 1fr; }
  .zones--single .zone__art { min-height: 0; aspect-ratio: 16 / 9; }
  .zones--single .zone__body { padding: 22px 24px; }

  /* Планшет: три узкие карточки рас в ряд читались хуже, чем пять широких,
     поэтому здесь та же раскладка, что на телефоне — арт слева, текст справа. */
  .races-mini { grid-template-columns: 1fr; }
  .races-mini > *,
  .races-mini > :nth-child(n + 4) { grid-column: auto; }
  .race-mini { flex-direction: row; }
  /* Арт не должен задавать высоту карточки: картинка позиционируется в
     отведённую колонку, а высоту диктует текст справа. */
  .race-mini__art { position: relative; flex: 0 0 190px; min-height: 150px; height: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .race-mini__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 30px; margin-top: 64px; }
  .feature--flip .feature__text { order: 1; }
  .feature--flip .feature__media { order: 2; }
  .feature__media { justify-content: flex-start; }
  .feature .phone { width: 280px; }
  .feature__text p { max-width: 640px; }

  .profs { grid-template-columns: repeat(3, 1fr); }
  .profs__row { flex-direction: column; align-items: flex-start; gap: 16px; }

  .shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 14px; margin: 0 -28px; padding-left: 28px; padding-right: 28px; scroll-snap-type: x mandatory; }
  .shots .shot { flex: 0 0 210px; scroll-snap-align: start; }
  .shots .shot:nth-child(n + 4) { display: block; }

  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--big { grid-template-columns: 1fr; }
  .news-card--big .news-card__media { min-height: 240px; }
  .news-card--big .news-card__body { padding: 26px; }
  .ratings-teaser { grid-template-columns: 1fr; gap: 32px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }

  .post__layout { grid-template-columns: 1fr; gap: 34px; }
  .post__aside { display: none; }
  .post__nav { grid-template-columns: 1fr; }

  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  /* Содержание — перед документом: внизу, после последнего раздела, оно
     выглядело забытым блоком и ничего не упрощало. */
  .legal-toc { position: static; order: 0; }
  .legal-body { order: 1; }

  .support { grid-template-columns: 1fr; gap: 30px; }
  .support-card { position: static; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .ratings-note__grid { grid-template-columns: 1fr; }

  .footer__in { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .footer__disclaimer { text-align: left; }
}

@media (max-width: 640px) {
  :root { --header: 62px; }
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .topbar__in { padding: 0 18px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__word { font-size: 21px; }
  .brand__sub { font-size: 7px; }
  .topbar__play { padding: 9px 14px; font-size: 10px; }
  .hero { padding-top: calc(var(--header) + 40px); }
  .hero__title { font-size: 25vw; }
  .hero__lead { font-size: 24px; }
  .hero__text { font-size: 14.5px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
  .hero__stats li { flex: none; }
  .hero__stats b { font-size: 24px; }
  .hero__stats span { font-size: 8px; letter-spacing: 0.08em; }
  .hero__lineup { width: 100%; margin-left: 0; }
  .hero__emblem { display: none; }

  .section { padding: 56px 0; }
  .section--start { padding-top: 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head__lead { font-size: 14px; }
  .races { grid-template-columns: 1fr; gap: 12px; }
  .race { flex-direction: row; }
  .race__art { flex: 0 0 132px; height: 168px; }
  .race__art img { height: 100%; }
  .race__ring { width: 120px; height: 120px; top: 16px; }
  .race__body { flex: 1; border-top: 0; border-left: 1px solid var(--line); padding: 16px 14px; }
  .race__top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .race__top h3 { font-size: 22px; }
  .race__text { display: none; }
  .chips li { font-size: 8.5px; padding: 2px 6px; }

  .world__cards { grid-template-columns: 1fr; }
  .land { min-height: 190px; }

  .zones { grid-template-columns: 1fr; }
  .war { grid-template-columns: 1fr; }
  .races-mini { grid-template-columns: 1fr; }
  /* Сбрасывать `span` нужно селектором той же силы, что и в блоке 1180:
     `.races-mini > *` не перебивал `:nth-child(n + 4)`, и четвёртая с пятой
     карточкой создавали неявные колонки — карточки сжимались в полоску. */
  .races-mini > *,
  .races-mini > :nth-child(n + 4) { grid-column: auto; }
  .klasses { grid-template-columns: 1fr; }
  .race-mini { flex-direction: row; }
  .race-mini__art { flex: 0 0 116px; min-height: 128px; height: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .race-mini__text { display: none; }
  .zone-group + .zone-group { margin-top: 54px; }
  .zone-group__head { margin-bottom: 20px; padding-bottom: 14px; }
  .zone__art,
  .zones--five > :nth-child(n + 4) .zone__art { aspect-ratio: 4 / 3; }
  .zones--single .zone__art { aspect-ratio: 4 / 3; }
  .zone__top h3 { font-size: 20px; }
  .pin { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .pin > i { width: 10px; height: 10px; }
  .pin__tip { display: none; }

  .feature .phone { width: 100%; max-width: 300px; }
  .feature__text h3 { font-size: 26px; }
  .checks li { font-size: 13px; }

  .profs { grid-template-columns: 1fr 1fr; }
  .prof { flex-direction: row; text-align: left; padding: 12px; gap: 10px; }
  .prof img { width: 34px; height: 34px; }
  .prof span { font-size: 11px; }

  .shots { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .shots .shot { flex: 0 0 78vw; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card--big .news-card__media { min-height: 200px; }
  .news-card--big .news-card__body { padding: 20px; }
  .news-card h3 { font-size: 21px; }

  .stat-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 15px 16px; }
  .stat b { font-size: 25px; }
  .stat--wide b { font-size: 17px; }

  .table th, .table td { padding: 10px 12px; font-size: 12px; }
  .table th { font-size: 8px; }
  .hero-cell { min-width: 130px; gap: 8px; }
  .hero-cell__ava { width: 28px; height: 28px; font-size: 12px; }
  .hero-cell__name small { font-size: 9px; }
  .panel__head { padding: 16px; flex-direction: column; align-items: flex-start; }
  .panel__head--tools { gap: 12px; }
  .panel__foot { padding: 12px 16px 16px; }

  .page-head { padding: calc(var(--header) + 46px) 0 40px; }
  .page-head h1 { font-size: 34px; }
  .page-head__lead { font-size: 14px; }
  .post__head { padding: calc(var(--header) + 46px) 0 36px; }
  .post__head h1 { font-size: 32px; }
  .post__lead { font-size: 18px; }
  .post__layout { padding-top: 30px; }
  .prose--legal { font-size: 14px; }
  .upd__head { flex-direction: column; gap: 4px; }
  .upd__head time, .upd__nodate { flex: none; }
  .updates-bar { flex-direction: column; align-items: flex-start; }

  .cta { padding: 80px 0 72px; }
  .cta .btn { width: 100%; }
  .footer__in { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; }
  .notfound__cta { flex-direction: column; }
  .notfound__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .embers { display: none; }
}

/* ── Печать ─────────────────────────────────────────────────────────────── */
@media print {
  .topbar, .footer, .hero, .post__aside, .legal-toc, .cta, .hero__scroll { display: none !important; }
  body { background: #fff; color: #111; }
  body::before { display: none; }
  .page-head { padding: 0 0 20px; }
  .page-head__bg { display: none; }
  .prose, .prose--legal { color: #111; }
  a { color: #111; text-decoration: underline; }
}
