/* =========================================================
   ТрипСкан 80 — trip80 · макет v6 «HUD / квесты»
   Палитра: #D1E4F5 · #76ADE5 · #297FD5 на тёмном navy
   ========================================================= */

:root {
  --bg: #08182a;
  --bg-2: #0b2038;
  --panel: #0f2e4f;
  --panel-2: #123a61;
  --line: rgba(118, 173, 229, .30);
  --line-soft: rgba(118, 173, 229, .16);
  --text: #e9f2fb;
  --muted: #93a9c4;
  --blue: #76ade5;
  --blue-light: #d1e4f5;
  --link: #297fd5;
  --glow: 0 0 24px rgba(118, 173, 229, .35);

  --r: 6px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --mono: "Consolas", "SF Mono", "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(118, 173, 229, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 173, 229, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---------- Прогресс ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  box-shadow: var(--glow);
  z-index: 99;
  transition: width .1s linear;
}

/* ---------- Кнопки (палитра auth-register, HUD-форма) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn--light { background: var(--blue-light); color: var(--link); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--glow); }
.btn--soft {
  background: transparent;
  color: var(--blue-light);
  border-color: var(--blue);
}
.btn--soft:hover { background: rgba(118, 173, 229, .16); transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #8bbcee; transform: translateY(-2px); box-shadow: var(--glow); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: var(--blue-light); border-color: rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }

/* ---------- Боковая панель ---------- */
.side {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: linear-gradient(180deg, #0a1f36 0%, #071628 100%);
  border-right: 1px solid var(--line-soft);
  padding: 26px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  z-index: 80;
  transition: transform .3s ease;
}
.side__brand img {
  height: 34px;
  filter: brightness(0) invert(1);
}
.side__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
}
.side__tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 12px;
  border-left: 2px solid transparent;
  transition: all .18s ease;
}
.side__nav a:hover {
  color: var(--blue-light);
  background: rgba(118, 173, 229, .10);
  border-left-color: var(--blue);
}
.side__nav a.is-active {
  color: #06152a;
  background: var(--blue);
  border-left-color: var(--blue-light);
  font-weight: 800;
}

.side__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.side__keys a {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--blue-light);
  background: rgba(118, 173, 229, .12);
  border: 1px solid var(--line-soft);
  padding: 4px 9px;
}
.side__keys a:hover { background: var(--blue); color: #06152a; }

.side__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.side__actions .btn { width: 100%; }

/* ---------- Мобильная шапка ---------- */
.mobar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 58px;
  background: rgba(8, 24, 42, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 90;
}
.mobar img { height: 28px; filter: brightness(0) invert(1); }
.burger {
  width: 44px; height: 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: rgba(118, 173, 229, .16);
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span {
  width: 18px; height: 2px;
  background: var(--blue-light);
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Контент ---------- */
.shell {
  margin-left: 300px;
  min-height: 100vh;
}
.container {
  width: min(1140px, 100% - 56px);
  margin-inline: auto;
}

/* ---------- Бегущая строка ключей ---------- */
.ticker {
  overflow: hidden;
  background: rgba(118, 173, 229, .10);
  border-bottom: 1px solid var(--line-soft);
  padding: 9px 0;
}
.ticker__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
}
.ticker__track span::before { content: "▸ "; color: var(--muted); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Заголовки секций ---------- */
.section { padding: 70px 0; }
.section--tint { background: rgba(118, 173, 229, .05); border-block: 1px solid var(--line-soft); }

.seclabel {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.seclabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.section__title {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -.4px;
}
.section__note { color: var(--muted); font-size: 16.5px; margin-top: 12px; }
.section__head { margin-bottom: 38px; }
.section__head--center { text-align: center; }
.section__head--center .seclabel { justify-content: center; }
.section__head--center .seclabel::after { display: none; }

/* ---------- Герой ---------- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(118, 173, 229, .28), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(118, 173, 229, .14);
  border: 1px solid var(--line);
  padding: 7px 15px;
  margin-bottom: 22px;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 9px var(--blue);
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
  text-shadow: 0 0 26px rgba(118, 173, 229, .75);
}
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.stat {
  background: rgba(15, 46, 79, .6);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--blue);
  padding: 14px 16px;
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  color: var(--blue-light);
  line-height: 1.2;
}
.stat span { font-size: 13px; color: var(--muted); }

/* Экран в рамке */
.hero__visual { position: relative; }
.hero__screen {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  padding: 14px;
}
.hero__screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 4px 12px;
}
.hero__screen-bar b { color: var(--blue); font-weight: 700; }
.hero__screen img { border: 1px solid var(--line-soft); }
.hero__float {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  background: #06152a;
  border: 1px solid var(--blue);
  color: var(--blue-light);
  padding: 8px 14px;
  box-shadow: var(--glow);
}
.hero__float--1 { top: -16px; right: 18px; }
.hero__float--2 { bottom: -16px; left: 18px; }

/* ---------- Точки входа (ключи) ---------- */
.keygrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.key {
  display: block;
  text-align: center;
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(15, 46, 79, .7);
  border: 1px solid var(--line);
  padding: 16px 6px;
  transition: all .18s ease;
}
.key:hover {
  background: var(--blue);
  color: #06152a;
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

/* ---------- Квестовые карточки ---------- */
.quests {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.quest {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.quest:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--glow);
}
.quest__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
}
.quest__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .4s ease, opacity .3s ease;
}
.quest:hover .quest__media img { transform: scale(1.07); opacity: 1; }
.quest__id {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  background: rgba(6, 21, 42, .9);
  border: 1px solid var(--line);
  color: var(--blue-light);
  padding: 4px 9px;
}
.quest__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.quest__type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
}
.quest__title {
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
  transition: color .2s ease;
}
.quest:hover .quest__title { color: var(--blue-light); }
.quest__text { font-size: 14px; color: var(--muted); flex: 1; }
.quest__bar {
  height: 5px;
  background: rgba(118, 173, 229, .16);
  overflow: hidden;
}
.quest__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--link), var(--blue-light));
}
.quest__go {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--blue-light);
  background: rgba(118, 173, 229, .14);
  border: 1px solid var(--line);
  padding: 8px 15px;
  transition: all .18s ease;
}
.quest__go:hover { background: var(--blue); color: #06152a; }
.quest__go::after { content: " →"; }

/* ---------- Локации (маркеты) ---------- */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.loc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  padding: 16px;
  transition: all .2s ease;
}
.loc:hover {
  border-color: var(--blue);
  transform: translateY(-5px);
  box-shadow: var(--glow);
}
.loc__logo {
  flex: 0 0 80px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  padding: 8px;
  overflow: hidden;
}
.loc__logo img { max-height: 44px; max-width: 100%; object-fit: contain; }
.loc__info { display: flex; flex-direction: column; }
.loc__name { font-size: 16.5px; font-weight: 700; }
.loc__note { font-size: 13px; color: var(--muted); }
.loc__go {
  margin-left: auto;
  font-family: var(--mono);
  color: var(--blue);
  font-size: 18px;
}
.loc:hover .loc__go { color: var(--blue-light); }

/* ---------- Этапы ---------- */
.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stage {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--blue);
  padding: 26px 24px;
}
.stage__n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 12px;
}
.stage h3 { font-size: 19px; margin-bottom: 8px; }
.stage p { font-size: 15px; color: var(--muted); }
.stage__dots { display: flex; gap: 6px; margin-top: 16px; }
.stage__dots i {
  width: 26px; height: 5px;
  background: rgba(118, 173, 229, .22);
}
.stage__dots i.on { background: var(--blue); box-shadow: 0 0 8px rgba(118, 173, 229, .7); }

/* ---------- Промо ---------- */
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(140deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  padding: 40px;
}
.promo__media {
  border: 1px solid var(--line-soft);
  background: rgba(6, 21, 42, .55);
  padding: 12px;
}
.promo__media img { width: 100%; }
.promo h2 { font-size: clamp(23px, 2.8vw, 32px); letter-spacing: -.5px; margin: 14px 0 12px; }
.promo p { color: var(--muted); font-size: 16.5px; margin-bottom: 20px; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 24px 0 76px; }
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background:
    radial-gradient(500px 260px at 85% 10%, rgba(118, 173, 229, .3), transparent 65%),
    linear-gradient(140deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--blue);
  box-shadow: var(--glow);
  padding: 44px 42px;
}
.cta__text { max-width: 560px; }
.cta__text h2 { font-size: clamp(23px, 3vw, 34px); letter-spacing: -.6px; margin: 12px 0 8px; }
.cta__text p { color: var(--muted); font-size: 16.5px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Пилюли ---------- */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(118, 173, 229, .13);
  border: 1px solid var(--line);
  padding: 6px 14px;
  margin-bottom: 16px;
}

/* ---------- Крошки ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding: 26px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.crumbs a { color: var(--blue); }
.crumbs a:hover { color: var(--blue-light); }
.crumbs span { color: var(--line); }

/* ---------- Шапка страницы ---------- */
.pagehead { padding: 32px 0 4px; }
.pagehead h1 {
  font-size: clamp(29px, 3.7vw, 45px);
  line-height: 1.12;
  letter-spacing: -.9px;
  margin: 6px 0 16px;
  max-width: 940px;
}
.pagehead__lead { font-size: 19px; color: var(--muted); max-width: 780px; }
.pagehead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pagehead__meta span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  background: rgba(15, 46, 79, .65);
  border: 1px solid var(--line-soft);
  padding: 7px 14px;
}

/* ---------- Статья ---------- */
.article {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
  padding: 36px 0 76px;
}
.article__body h2 {
  font-size: clamp(21px, 2.5vw, 30px);
  letter-spacing: -.4px;
  margin: 36px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--blue);
}
.article__body h2:first-child { margin-top: 0; }
.article__body h3 { font-size: 18.5px; margin: 24px 0 10px; color: var(--blue-light); }
.article__body p { font-size: 17px; color: #c4d5e8; margin-bottom: 16px; }
.article__body ul,
.article__body ol { margin: 0 0 18px 22px; color: #c4d5e8; font-size: 17px; }
.article__body li { margin-bottom: 8px; }
.article__body strong { color: var(--blue-light); }
.article__body--wide { max-width: 860px; margin-inline: auto; }

.article__aside {
  position: sticky;
  top: 26px;
  display: grid;
  gap: 16px;
}
.hud-card {
  background: rgba(15, 46, 79, .75);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--blue);
  padding: 20px;
}
.hud-card h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.hud-card ul { list-style: none; display: grid; gap: 9px; }
.hud-card a { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.hud-card a:hover { color: var(--blue-light); }
.aside-keys { display: flex; flex-wrap: wrap; gap: 7px; }
.aside-keys a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-light);
  background: rgba(118, 173, 229, .12);
  border: 1px solid var(--line-soft);
  padding: 5px 10px;
}
.aside-keys a:hover { background: var(--blue); color: #06152a; }

/* ---------- Страница локации (маркета) ---------- */
.mkhero {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  background: linear-gradient(140deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  padding: 40px;
}
.mkhero::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(118, 173, 229, .3), transparent 65%);
}
.mkhero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}
.mkhero__logo {
  background: var(--blue-light);
  padding: 22px;
  display: grid;
  place-items: center;
  min-height: 160px;
}
.mkhero__logo img { max-height: 110px; max-width: 100%; object-fit: contain; }
.mkhero h1 {
  font-size: clamp(27px, 3.5vw, 42px);
  letter-spacing: -.9px;
  line-height: 1.14;
  margin: 6px 0 14px;
}
.mkhero__lead { font-size: 18px; color: var(--muted); margin-bottom: 22px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--blue);
  padding: 24px 22px;
  transition: all .2s ease;
}
.feature:hover { border-color: var(--blue); box-shadow: var(--glow); }
.feature__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- Футер ---------- */
.footer {
  background: #06152a;
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr .9fr;
  gap: 30px;
  padding-bottom: 28px;
}
.footer__brand img { height: 30px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 14.5px; color: var(--muted); max-width: 320px; margin-bottom: 14px; }
.footer__brand .side__keys a { color: var(--blue-light); }

.footer__col h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 5px 0;
  transition: color .18s ease, transform .18s ease;
}
.footer__col a:hover { color: var(--blue-light); transform: translateX(4px); }

.footer__keys {
  background: rgba(118, 173, 229, .07);
  border: 1px dashed var(--line);
  padding: 15px 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 22px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .8px;
}

/* ---------- Появление ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .side__tag::before { animation: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
  .quests { grid-template-columns: repeat(3, 1fr); }
  .keygrid { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .side { transform: translateX(-100%); width: 280px; }
  .side.is-open { transform: translateX(0); box-shadow: 0 0 60px rgba(0, 0, 0, .6); }
  .mobar { display: flex; }
  .shell { margin-left: 0; padding-top: 58px; }
  .container { width: min(1140px, 100% - 36px); }

  .hero__grid,
  .promo,
  .mkhero__inner { grid-template-columns: 1fr; }
  .quests,
  .locations { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .quests,
  .locations,
  .features { grid-template-columns: 1fr; }
  .keygrid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 100%; }
  .article__aside { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .promo, .mkhero, .cta { padding: 26px 20px; }
}
