/* ─────────────────────────────────────────────────────────────
   Elmoreden — стили сайта.

   Один акцент: латунное золото на ночном синем. Ни одного второго
   акцентного цвета, ни одной анимации, которая работает сама по себе
   без действия человека — мигающее и пульсирующее на игровых сайтах
   читается как реклама, а не как замок.
   ───────────────────────────────────────────────────────────── */

:root {
	--ink:      #070b13;
	--ink-2:    #0a0f1a;
	--ink-3:    #0e1524;
	--gold:     #c9922e;
	--gold-lt:  #e8c37a;
	--gold-pale:#f2e2be;
	--text:     #dcdcd6;
	--muted:    #98a0b0;
	--muted-2:  #aab1c0;
	--line:     rgba(201, 146, 46, .18);
	--line-soft:rgba(255, 255, 255, .07);

	--serif: "Cormorant Garamond", Constantia, "Palatino Linotype", Georgia, serif;
	--sans:  "Manrope", "Segoe UI", system-ui, sans-serif;

	--wrap: 1180px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	/* Cormorant по умолчанию рисует минускульные цифры: «100%» выходит
	   похожим на «ıoo%», а шаги «1 2 3» — на «I 2 3». Для интерфейсных
	   чисел нужны прописные. */
	font-variant-numeric: lining-nums;
}

/* Плёнка зерна поверх всего. Без неё большие тёмные плоскости выглядят
   пластиковыми, особенно на дешёвых матрицах. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9;
	opacity: .035;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* ─── Появление по прокрутке ─────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.hero__art img { transform: none !important; }
}

/* ─── Верхняя панель ────────────────────────────────────── */
.topbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 16px clamp(16px, 4vw, 48px);
	transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
	border-bottom: 1px solid transparent;
}
.topbar.is-solid {
	background: rgba(7, 11, 19, .82);
	backdrop-filter: blur(12px) saturate(120%);
	border-bottom-color: var(--line);
	padding-top: 11px;
	padding-bottom: 11px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__crest { width: 34px; height: 34px; }
.brand__name {
	font: 600 21px/1 var(--serif);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold-pale);
}

.nav { display: flex; gap: 28px; }

.nav a {
	position: relative;
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color .25s var(--ease);
}
.nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: -6px;
	height: 1px;
	background: var(--gold);
	transition: right .3s var(--ease);
}
.nav a:hover { color: var(--gold-pale); }
.nav a:hover::after { right: 0; }

/* ─── Кнопки ────────────────────────────────────────────────
   Плашка кнопки — нарисованный ассет (кованая окантовка с камнями
   по торцам), а не CSS-рамка. Второй ассет с раскалённым металлом
   лежит сверху и проявляется при наведении: так подсветка выглядит
   как разогретая латунь, чего прозрачностью фона не изобразить. */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 17px 34px;
	border: 0;
	font: 500 12px/1 var(--sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-pale);
	background: url("assets/web/btn.webp") center/100% 100% no-repeat;
	transition: color .3s var(--ease), transform .2s var(--ease), filter .3s var(--ease);
}
.btn { isolation: isolate; }
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1; /* поверх плашки, но под подписью */
	background: url("assets/web/btn-hover.webp") center/100% 100% no-repeat;
	opacity: 0;
	transition: opacity .35s var(--ease);
	pointer-events: none;
}
.btn:hover { color: #fff6e2; }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(1px); }
.btn > span { position: relative; z-index: 1; }

/* Второстепенное действие: та же ковка, приглушённая. Отдельная
   картинка здесь только раздувала бы вес одинаковым рисунком. */
.btn--ghost { filter: saturate(.35) brightness(.82); color: var(--text); }
.btn--ghost:hover { filter: saturate(.7) brightness(1); }

.btn--small { padding: 13px 22px; font-size: 11px; white-space: nowrap; }
/* Ссылки без адреса (пока в конфиге «#») выглядят выключенными, а не
   притворяются рабочими. */
[aria-disabled="true"] { opacity: .5; cursor: default; }
/* Ограничение по ширине: плашка растягивается фоном, и на всю колонку
   ромбы по торцам раздувались втрое против нормы. */
.btn--wide { display: flex; width: 100%; max-width: 330px; padding: 19px 30px; }

/* ─── Врата ─────────────────────────────────────────────── */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
}
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: 68% 50%;
	transform: scale(1.08);
	will-change: transform;
}
/* Слои глубины. Порядок снизу вверх: небо → туман → дракон → искры →
   уступ → завеса → текст. Каждый двигается со своей скоростью, отсюда
   и берётся объём: одна плоская картинка так не умеет. */
.hero__fog {
	position: absolute;
	left: -8%; right: -8%;
	bottom: -6%;
	width: 116%;
	max-width: none;
	z-index: -2;
	opacity: .72;
	mix-blend-mode: screen;
	will-change: transform;
	animation: fog-drift 78s ease-in-out infinite;
}
@keyframes fog-drift {
	0%   { margin-left: -3%; }
	50%  { margin-left: 3%; }
	100% { margin-left: -3%; }
}

/* Тёплое дыхание факелов: очень медленно и почти незаметно. Это разница
   между «картинка на фоне» и «в замке кто-то есть». */
.hero__glow {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	mix-blend-mode: screen;
	background: radial-gradient(58% 46% at 78% 62%, rgba(232, 165, 74, .15), transparent 70%);
	animation: torches 11s ease-in-out infinite;
}
@keyframes torches {
	0%, 100% { opacity: .55; }
	40%      { opacity: 1; }
	70%      { opacity: .72; }
}

.hero__embers {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%; height: 100%;
	pointer-events: none;
	mix-blend-mode: screen;
}

.hero__fore {
	position: absolute;
	left: -4%; right: -4%;
	bottom: -2%;
	width: 108%;
	max-width: none;
	z-index: -1;
	will-change: transform;
}

.hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to bottom, rgba(7, 11, 19, .78) 0%, rgba(7, 11, 19, .18) 26%, rgba(7, 11, 19, .5) 72%, var(--ink) 100%),
		linear-gradient(to right, rgba(7, 11, 19, .88) 0%, rgba(7, 11, 19, .45) 42%, rgba(7, 11, 19, 0) 72%);
}

.hero__body {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 120px 24px 72px;
}
.hero__crest {
	width: clamp(84px, 9vw, 116px);
	height: auto;
	margin-bottom: 22px;
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .7));
}
.hero__title {
	margin: 0;
	font: 700 clamp(3.6rem, 10.5vw, 9rem)/0.92 var(--serif);
	letter-spacing: .03em;
	color: #f6ecd6;
	text-shadow: 0 20px 60px rgba(0, 0, 0, .75);
}
.hero__kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin: 20px 0 0;
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-lt);
}
.hero__kicker i {
	width: 5px; height: 5px;
	background: var(--gold);
	transform: rotate(45deg);
	opacity: .8;
}
.hero__await {
	max-width: 46ch;
	margin: 26px 0 0;
	color: var(--muted-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ─── Обратный отсчёт ───────────────────────────────────── */
.countdown { margin-top: 34px; }
.countdown__label {
	font-size: 11px;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 12px;
}
.countdown__row { display: flex; flex-wrap: wrap; gap: 10px; }
.cd {
	position: relative;
	min-width: 96px;
	padding: 14px 18px 11px;
	text-align: center;
	background: rgba(9, 14, 24, .72);
	border: 1px solid var(--line);
	backdrop-filter: blur(4px);
}
.cd::before, .cd::after {
	content: "";
	position: absolute;
	width: 5px; height: 5px;
	background: var(--gold);
	transform: rotate(45deg);
	opacity: .85;
}
.cd::before { top: -3px; left: -3px; }
.cd::after { bottom: -3px; right: -3px; }
.cd b {
	display: block;
	font: 600 clamp(2rem, 3.6vw, 2.9rem)/1 var(--serif);
	font-variant-numeric: lining-nums tabular-nums;
	color: var(--gold-pale);
}
.cd span {
	display: block;
	margin-top: 6px;
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.countdown__date { margin-top: 12px; font-size: 13px; color: var(--muted-2); }

/* ─── Метка этапа ───────────────────────────────────────── */
.stage {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 8px 16px 8px 13px;
	border: 1px solid rgba(201, 146, 46, .38);
	background: rgba(9, 14, 24, .6);
	backdrop-filter: blur(4px);
	font-size: 11.5px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-lt);
}
.stage__dot {
	width: 7px; height: 7px;
	background: var(--gold-lt);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(232, 195, 122, .16);
	/* Единственное, что здесь мигает, и мигает по делу: тест идёт прямо
	   сейчас, это живое состояние, а не украшение. */
	animation: stage-beat 2.6s ease-in-out infinite;
}
@keyframes stage-beat {
	0%, 100% { box-shadow: 0 0 0 4px rgba(232, 195, 122, .16); }
	50%      { box-shadow: 0 0 0 7px rgba(232, 195, 122, .05); }
}
@media (prefers-reduced-motion: reduce) {
	.stage__dot { animation: none; }
	.hero__fog { animation: none; }
}

/* ─── Разделитель ───────────────────────────────────────── */
/* Разделитель отбивает смысловые части, но не должен растаскивать
   страницу: у соседних секций свои большие отступы, поэтому здесь
   поля отрицательные. */
.divider {
	display: block;
	width: min(440px, 52vw);
	height: auto;
	margin: clamp(-56px, -4vw, -28px) auto;
	opacity: .62;
}

/* ─── Секции ────────────────────────────────────────────── */
.section { padding: clamp(76px, 9vw, 136px) 0; }
/* Секции с коротким содержимым: полный нижний отступ оставлял под ними
   пустой экран, страница начинала выглядеть недописанной. */
.section--tight { padding-bottom: clamp(48px, 5vw, 76px); }
.section--dark {
	background: var(--ink-2);
	border-top: 1px solid rgba(201, 146, 46, .1);
	border-bottom: 1px solid rgba(201, 146, 46, .1);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	font-size: 11px;
	letter-spacing: .34em;
	text-transform: uppercase;
	color: var(--gold);
}
.eyebrow::before {
	content: "";
	width: 34px; height: 1px;
	background: linear-gradient(to right, transparent, var(--gold));
}

.h2 {
	margin: 0 0 20px;
	font: 600 clamp(2.1rem, 4.4vw, 3.5rem)/1.08 var(--serif);
	letter-spacing: .01em;
	color: #efe7d7;
}
.h3 {
	margin: 0 0 16px;
	font: 600 1.5rem/1.2 var(--serif);
	letter-spacing: .02em;
	color: var(--gold-pale);
}
.lead { max-width: 66ch; margin: 0 0 40px; color: var(--muted-2); }
.note { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.note b { color: var(--gold-lt); font-weight: 500; }

/* Кованые уголки — нарисованный ассет, по одному в каждом углу через
   зеркальные повороты. Ставятся только на крупные панели: на мелких
   карточках уже есть своя рамка, вторая ковка превратилась бы в шум. */
.corners { position: relative; }
.corners > .corner {
	position: absolute;
	width: 58px; height: 58px;
	pointer-events: none;
	opacity: .85;
}
.corner--tl { top: -3px; left: -3px; }
.corner--tr { top: -3px; right: -3px; transform: scaleX(-1); }
.corner--bl { bottom: -3px; left: -3px; transform: scaleY(-1); }
.corner--br { bottom: -3px; right: -3px; transform: scale(-1); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 13px 0; text-align: left; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { font: 400 15px/1.4 var(--sans); color: var(--muted-2); }
.tbl td { text-align: right; font: 600 1.35rem/1 var(--serif); color: var(--gold-pale); font-variant-numeric: lining-nums tabular-nums; }

.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.facts li {
	position: relative;
	padding-left: 26px;
	color: var(--muted-2);
	font-size: 16px;
}
.facts li::before {
	content: "";
	position: absolute;
	left: 2px; top: .62em;
	width: 6px; height: 6px;
	background: var(--gold);
	transform: rotate(45deg);
	opacity: .75;
}
.facts b { color: var(--gold-pale); font-weight: 600; }
/* Длинный список фактов ложится в две колонки, чтобы не тянуть страницу. */
.facts--cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 40px; }

/* Пункты с иконкой вместо ромбика — там, где у каждого свой смысл
   (свойства лаунчера), а не просто перечисление. */
.facts--ic { gap: 24px; }
.facts--ic li { padding-left: 58px; min-height: 38px; }
.facts--ic li::before { display: none; }
.facts--ic li img {
	position: absolute;
	left: 0; top: -3px;
	width: 38px; height: 38px;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
}

/* ─── Карточки ──────────────────────────────────────────── */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
/* Рамка карточки — нарисованная ковка, растянутая по краям через
   border-image: углы с камнями остаются углами при любом размере
   карточки, а CSS-бордюр такого не даёт. */
.card {
	padding: 28px 28px 30px;
	background: rgba(255, 255, 255, .022);
	border: 18px solid transparent;
	border-image: url("assets/web/panel.webp") 96 100 fill / 18px stretch;
	transition: transform .3s var(--ease), filter .3s var(--ease);
}
.card:hover {
	transform: translateY(-3px);
	filter: brightness(1.16) saturate(1.1);
}

.card h3 {
	margin: 0 0 10px;
	font: 600 1.28rem/1.25 var(--serif);
	letter-spacing: .01em;
	color: var(--gold-pale);
}
.card p { margin: 0; font-size: 15.5px; color: var(--muted-2); }
.card b { color: var(--gold-lt); font-weight: 600; }
.card img { margin-bottom: 16px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.card__time {
	display: block;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line-soft);
	font-size: 12px;
	letter-spacing: .1em;
	color: var(--gold);
	font-variant-numeric: lining-nums tabular-nums;
}
/* ─── Сутки: живой блок и таймлайн ──────────────────────── */
.next {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 30px;
	margin-bottom: 44px;
	background: rgba(14, 21, 36, .62);
	border: 1px solid var(--line);
}
.next__eyebrow {
	display: block;
	font-size: 11px;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 8px;
}
.next__what b { font: 600 1.7rem/1.1 var(--serif); color: var(--gold-pale); }
.next__at { margin-left: 12px; font-size: 14px; color: var(--muted); }
.next__in { text-align: right; }
.next__in b {
	display: block;
	font: 600 2.5rem/1 var(--serif);
	color: #f6ecd6;
	font-variant-numeric: lining-nums tabular-nums;
}
.next__in b i {
	font: 400 1rem/1 var(--sans);
	font-style: normal;
	color: var(--gold);
	margin: 0 2px 0 1px;
}
.next__in span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.timeline {
	position: relative;
	height: 168px;
	border-left: 1px solid var(--line-soft);
	border-right: 1px solid var(--line-soft);
}
.timeline__axis {
	position: absolute;
	left: 0; right: 0; top: 50%;
	height: 1px;
	background: linear-gradient(to right, rgba(201, 146, 46, .05), rgba(201, 146, 46, .34), rgba(201, 146, 46, .05));
}
.timeline__hour {
	position: absolute;
	top: 50%;
	width: 1px; height: 5px;
	background: rgba(255, 255, 255, .14);
	transform: translateY(-2px);
}
.timeline__hour span {
	position: absolute;
	top: 9px; left: 50%;
	transform: translateX(-50%);
	font-size: 10px;
	color: rgba(152, 160, 176, .5);
	font-variant-numeric: lining-nums tabular-nums;
}
.tl-ev {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 9px; height: 9px;
	background: var(--ink);
	border: 1px solid var(--gold);
	transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.tl-ev::after {
	content: attr(data-label);
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 11px;
	letter-spacing: .04em;
	color: var(--muted-2);
}
.tl-ev::before {
	content: attr(data-time);
	position: absolute;
	left: 50%;
	bottom: 38px;
	transform: translateX(-50%);
	font-size: 10.5px;
	letter-spacing: .06em;
	color: var(--gold);
	font-variant-numeric: lining-nums tabular-nums;
}
.tl-ev--low::after { bottom: auto; top: 18px; }
.tl-ev--low::before { bottom: auto; top: 38px; }
.tl-ev:hover { background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 146, 46, .18); }

.timeline__now {
	position: absolute;
	top: 8px; bottom: 8px;
	width: 1px;
	background: rgba(232, 195, 122, .75);
	box-shadow: 0 0 12px rgba(232, 195, 122, .5);
}
.timeline__now::before {
	content: "сейчас";
	position: absolute;
	top: -4px; left: 7px;
	font-size: 9.5px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-lt);
}

/* ─── Две колонки ───────────────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 4vw, 64px); align-items: start; }
.split--wide { grid-template-columns: 1.35fr .8fr; }
.dl { padding: 28px; border: 1px solid var(--line); background: rgba(14, 21, 36, .5); }
.dl__size {
	font: 600 1.5rem/1 var(--serif);
	color: var(--gold-pale);
	margin-bottom: 10px;
}
.dl p { margin: 0 0 22px; font-size: 15px; color: var(--muted-2); }

/* ─── Экономика ─────────────────────────────────────────── */
.section--seal { background: var(--ink-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.seal { width: 180px; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .65)); }

/* Игровой цикл: три шага со стрелками. Это первый смысловой блок
   страницы — он объясняет, зачем всё остальное. */
.loop {
	display: grid;
	grid-template-columns: 1fr 30px 1fr 30px 1fr;
	gap: clamp(14px, 2vw, 26px);
	align-items: stretch;
	margin-bottom: clamp(34px, 4vw, 56px);
}
.loop__step {
	padding: 24px 26px 26px;
	border: 1px solid var(--line);
	background: rgba(14, 21, 36, .5);
}
.loop__step img { width: 46px; height: 46px; margin-bottom: 14px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); }
.loop__step b {
	display: block;
	margin-bottom: 8px;
	font: 600 1.35rem/1.1 var(--serif);
	color: var(--gold-pale);
}
.loop__step span { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); }
.loop__arrow { position: relative; align-self: center; height: 1px; background: linear-gradient(to right, transparent, var(--gold)); opacity: .7; }
.loop__arrow::after {
	content: "";
	position: absolute;
	right: -1px; top: -3.5px;
	width: 7px; height: 7px;
	border-top: 1px solid var(--gold);
	border-right: 1px solid var(--gold);
	transform: rotate(45deg);
}
@media (max-width: 900px) {
	.loop { grid-template-columns: 1fr; }
	.loop__arrow { width: 1px; height: 26px; justify-self: center; background: linear-gradient(to bottom, transparent, var(--gold)); }
	.loop__arrow::after { right: -3.5px; top: auto; bottom: -1px; transform: rotate(135deg); }
}

/* Список «переведено на медали». */
.off {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 12px 30px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}
.off li {
	position: relative;
	padding-left: 22px;
	font-size: 15px;
	color: var(--muted-2);
}
.off li::before {
	content: "";
	position: absolute;
	left: 2px; top: .58em;
	width: 5px; height: 5px;
	background: var(--gold);
	transform: rotate(45deg);
	opacity: .75;
}

/* ─── Закрытый тест ─────────────────────────────────────── */
.zbt { background: var(--ink-2); border-top: 1px solid var(--line); }
.zbt__grid {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: clamp(32px, 5vw, 76px);
	align-items: start;
}
.zbt__banner { position: relative; }
.zbt__banner img {
	width: 100%; height: auto;
	filter: drop-shadow(0 26px 50px rgba(0, 0, 0, .7));
}
/* Надпись на полотнище: сам штандарт нарисован пустым, потому что
   текстом в картинке нельзя ни поправить, ни перевести. */
.zbt__banner-text {
	position: absolute;
	top: 24%; left: 50%;
	transform: translateX(-50%);
	font: 600 clamp(1.9rem, 3vw, 2.7rem)/1 var(--serif);
	letter-spacing: .16em;
	color: var(--gold-pale);
	text-shadow: 0 3px 14px rgba(0, 0, 0, .85), 0 0 30px rgba(201, 146, 46, .3);
}
/* Селектор двойной: общий .steps объявлен ниже и иначе перебил бы
   одноколоночную раскладку обратно на три колонки. */
.steps.steps--zbt { grid-template-columns: 1fr; gap: 4px; }
.steps.steps--zbt li { display: grid; grid-template-columns: 46px 1fr; gap: 2px 18px; padding: 22px 0 4px; }
.steps.steps--zbt span { grid-row: span 2; font-size: 1.9rem; margin: 0; }
.steps.steps--zbt h3 { margin: 0 0 6px; }
.zbt__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ─── Шаги ──────────────────────────────────────────────── */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(26px, 4vw, 52px);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: s;
}
.steps li { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.steps span {
	display: block;
	font: 600 2.4rem/1 var(--serif);
	color: rgba(201, 146, 46, .55);
	margin-bottom: 12px;
}
.steps h3 { margin: 0 0 10px; font: 600 1.32rem/1.2 var(--serif); color: var(--gold-pale); }
.steps p { margin: 0; font-size: 15.5px; color: var(--muted-2); }

/* ─── Подвал ────────────────────────────────────────────── */
.footer { padding: clamp(56px, 6vw, 84px) 0 40px; background: var(--ink-2); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; }
.footer p { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.footer b { color: var(--gold-lt); font-weight: 500; }
.footer a { color: var(--muted-2); border-bottom: 1px solid var(--line); transition: color .25s var(--ease); }
.footer a:hover { color: var(--gold-pale); }
.footer__crest { width: 44px; margin-bottom: 14px; }
.footer__name { font: 600 1.4rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); }
.footer__sub { font-size: 13px !important; }
.footer__head {
	font-size: 11px !important;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px !important;
}
.footer__legal {
	max-width: var(--wrap);
	margin: clamp(44px, 5vw, 66px) auto 0;
	padding: 22px 24px 0;
	border-top: 1px solid var(--line-soft);
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(152, 160, 176, .6);
}

/* ─── Сводка под первым экраном ─────────────────────────────
   Заменила три абзаца-лозунга: те же четыре факта помещаются в одну
   полосу, и каждый подкреплён игровой иконкой, а не словами. */
.summary { padding: clamp(40px, 5vw, 64px) 0 clamp(26px, 3vw, 40px); }
.summary__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(20px, 3vw, 44px);
}
.sm { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; gap: 2px 16px; align-items: center; }
.sm img { grid-row: span 2; width: 42px; height: 42px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.sm b {
	font: 600 1.5rem/1 var(--serif);
	color: var(--gold-pale);
	font-variant-numeric: lining-nums;
}
.sm span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ─── Единый блок настроек ──────────────────────────────── */
.setup {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(26px, 3vw, 46px);
	align-items: start;
}
.setup__col {
	padding: 26px 28px 28px;
	border: 1px solid var(--line);
	background: rgba(14, 21, 36, .42);
}
.setup__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	font: 600 1.4rem/1 var(--serif);
	letter-spacing: .02em;
	color: var(--gold-pale);
}
.setup__head img { width: 34px; height: 34px; }
.setup__note { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.setup__col .tbl { margin-bottom: 16px; }
.setup__col .tbl:last-child, .setup__col .facts:last-child { margin-bottom: 0; }
.tbl--dense th, .tbl--dense td { padding: 9px 0; font-size: 14.5px; }
.tbl--dense td { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--gold-lt); }
.facts--dense { gap: 12px; }
.facts--dense li { font-size: 14.5px; padding-left: 22px; }
.facts--dense li::before { width: 5px; height: 5px; top: .58em; }

/* Кривая рейтов: рисуется скриптом по той же формуле, что считает
   сервер, — картинкой это было бы обещанием, а не значением. */
.curve { position: relative; height: 96px; margin-bottom: 18px; }
.curve svg { width: 100%; height: 100%; overflow: visible; }
.curve__line { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.curve__area { fill: url(#curveFill); opacity: .5; }
.curve__mark { fill: var(--gold-lt); }
.curve__label {
	font: 500 10px var(--sans);
	fill: rgba(152, 160, 176, .75);
	letter-spacing: .06em;
}

/* Четыре колонки настроек: на всю ширину ложатся парой, ниже 760 — в
   столбик. auto-fit здесь давал 3+1 и последняя колонка висела одна.
   align-items: stretch выравнивает высоту пары — иначе короткая
   колонка обрывалась и ряд выглядел разноширинным лоскутом. */
.setup--grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (max-width: 760px) { .setup--grid { grid-template-columns: 1fr; } }

/* ─── Скриншоты интерфейса ──────────────────────────────── */
/* Реальные экраны Alt+B и лаунчера. Рамка тонкая: у скриншотов есть
   собственный интерфейсный кант, вторая ковка спорила бы с ним. */
.shot {
	margin: 0;
	border: 1px solid var(--line);
	background: rgba(14, 21, 36, .5);
	padding: 10px;
}
.shot img { width: 100%; height: auto; }
.shot figcaption {
	padding: 12px 6px 4px;
	font-size: 13px;
	color: var(--muted);
}
/* Главный скриншот не растягивается шире собственных пикселей:
   апскейл реального окна клиента мылит текст интерфейса. */
.shot--main { width: fit-content; max-width: 100%; margin: 0 auto clamp(30px, 4vw, 48px); padding: 14px; }
.shot--main img { width: auto; max-width: 100%; }
.shot--main figcaption { padding: 14px 8px 4px; }

.board-row {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	margin-top: clamp(36px, 5vw, 64px);
}
.board-row--flip { grid-template-columns: 1fr 1.05fr; }
.board-row--flip .shot { order: 2 }
@media (max-width: 900px) {
	.board-row, .board-row--flip { grid-template-columns: 1fr; }
	.board-row--flip .shot { order: 0 }
}

.autofarm-card {
	position: relative;
	padding: 28px 30px 30px;
	border: 1px solid var(--line);
	background: rgba(14, 21, 36, .5);
}
.autofarm-card--wide { margin-top: clamp(36px, 5vw, 64px); }

/* Оправа-слот под игровые иконки: нарисованная плита с латунной
   рамкой ложится фоном прямо в img, иконка садится внутрь за счёт
   padding. Гравированные эмблемы (ev-, cf-, lc-) остаются без оправы —
   они рисованы как знаки, а не как предметы. */
img[src*="/ic/item-"], img[src*="/ic/boss-"] {
	background: url("assets/web/slot.webp") center/100% 100% no-repeat;
	padding: 6px;
	box-sizing: border-box;
}
.setup__head img[src*="/ic/item-"] { padding: 4px; }

/* ─── Эпики ─────────────────────────────────────────────── */
.epics {
	position: relative;
	margin-top: clamp(36px, 5vw, 60px);
	padding: 30px 32px 34px;
	border: 1px solid var(--line);
	background: rgba(14, 21, 36, .45);
}
.epics__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 14px 28px;
	margin-top: 22px;
}
.epic {
	padding: 14px 0 12px;
	border-top: 1px solid var(--line-soft);
}
.epic b { display: block; font: 600 1.15rem/1.2 var(--serif); color: var(--gold-pale); }
.epic span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.epic i {
	display: block;
	margin-top: 6px;
	font-style: normal;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gold);
	font-variant-numeric: lining-nums tabular-nums;
}

/* ─── Боссы ─────────────────────────────────────────────── */
/* Шесть боссов ложатся тремя парами: auto-fit при узком минимуме давал
   4 + 2 и последний ряд выглядел обрубком. */
.bosses {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: clamp(32px, 4vw, 52px);
}
@media (max-width: 1000px) { .bosses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .bosses { grid-template-columns: 1fr; } }
.boss {
	display: grid;
	grid-template-columns: 52px 1fr;
	grid-template-rows: auto auto;
	gap: 2px 16px;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid var(--line-soft);
	background: rgba(255, 255, 255, .02);
	transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.boss:hover {
	border-color: rgba(201, 146, 46, .38);
	background: rgba(201, 146, 46, .05);
	transform: translateY(-2px);
}
.boss img { grid-row: span 2; width: 52px; height: 52px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.boss b { font: 600 1.2rem/1 var(--serif); color: var(--gold-pale); }
.boss span { font-size: 13px; color: var(--muted); }

/* ─── Медали ────────────────────────────────────────────── */
.medals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
	gap: 18px;
	margin-bottom: clamp(34px, 4vw, 56px);
}
.medal-card {
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-rows: auto auto;
	gap: 4px 18px;
	align-items: center;
	padding: 20px 22px;
	border: 1px solid var(--line);
	background: rgba(14, 21, 36, .5);
}
.medal-card img { grid-row: span 2; width: 56px; height: 56px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .65)); }
.medal-card b { font: 600 1.25rem/1 var(--serif); color: var(--gold-pale); }
.medal-card span { font-size: 14px; line-height: 1.5; color: var(--muted); }

.off-box {
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: clamp(24px, 4vw, 52px);
	align-items: start;
	margin-top: clamp(34px, 4vw, 56px);
	padding-top: clamp(30px, 4vw, 46px);
	border-top: 1px solid var(--line);
}
.off-box .seal { width: 132px; }
.off-box .lead { margin-bottom: 24px; }
.off-box .h3 { margin-bottom: 14px; }

/* ─── Узкие экраны ──────────────────────────────────────── */
@media (max-width: 1000px) {
	.split--wide { grid-template-columns: 1fr; }
}

/* ─── Мобильное меню ────────────────────────────────────── */
.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px; height: 42px;
	padding: 8px;
	border: 1px solid var(--line);
	background: rgba(9, 14, 24, .6);
	cursor: pointer;
}
.burger span {
	display: block;
	height: 1.5px;
	background: var(--gold-lt);
	transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
	.burger { display: flex; }
	/* На телефоне навигация — выпадающая шторка под шапкой. */
	.nav {
		display: none;
		position: fixed;
		top: 64px; left: 0; right: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 0 14px;
		background: rgba(7, 11, 19, .96);
		backdrop-filter: blur(12px);
		border-bottom: 1px solid var(--line);
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 13px 24px; font-size: 14px; }
	.nav a::after { display: none; }
	.zbt__grid { grid-template-columns: 1fr; }
	.zbt__banner { width: 190px; }
	.off-box { grid-template-columns: 1fr; }
	.off-box .seal { width: 104px; }
	.seal { width: 128px; }
	.next__in { text-align: left; }

	/* Одиннадцать подписей на 24 часах в телефон не влезают: на узком
	   экране лента становится списком, а не мелким нечитаемым частоколом. */
	.timeline { height: auto; border: 0; display: grid; gap: 1px; }
	.timeline__axis, .timeline__hour, .timeline__now { display: none; }
	.tl-ev {
		position: static;
		transform: none;
		display: flex;
		align-items: center;
		gap: 14px;
		width: 100%; height: auto;
		padding: 13px 4px;
		background: none;
		border: 0;
		border-bottom: 1px solid var(--line-soft);
	}
	.tl-ev::before, .tl-ev::after { position: static; transform: none; }
	.tl-ev::before { min-width: 52px; font-size: 13px; }
	.tl-ev::after { font-size: 14px; }
	.tl-ev:hover { background: none; box-shadow: none; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.hero__body { padding: 104px 20px 56px; }
	/* В шапке кнопка не нужна: та же кнопка стоит прямо под заголовком,
	   а в узкую строку с логотипом она влезает только переносом. */
	.topbar .btn--small { display: none; }
	.cd { min-width: 74px; padding: 12px 12px 9px; }
}

/* ─── Текстовая страница (правила) ──────────────────────── */

/* На лендинге шапка прозрачна над героем и твердеет при прокрутке. Здесь
   героя нет, поэтому она твёрдая сразу: иначе первые строки текста
   проезжают под ней и читаются сквозь неё. */
.doc .topbar {
	position: static;
	background: rgba(7, 11, 19, .82);
	border-bottom-color: var(--line);
}

.doc__wrap {
	width: 100%;
	max-width: 74ch;
	margin: 0 auto;
	padding: clamp(28px, 5vw, 56px) 24px clamp(48px, 7vw, 88px);
}

.doc__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(34px, 5vw, 52px);
	color: var(--gold-pale);
	margin: 0 0 10px;
}

.doc__lead { color: var(--muted-2); margin: 0 0 clamp(26px, 4vw, 40px); }

.doc__sec { margin-bottom: clamp(26px, 4vw, 40px); }

.doc__sec h2 {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 28px);
	color: var(--gold-pale);
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.doc__sec ul { margin: 0; padding-left: 20px; }
.doc__sec li { margin-bottom: 10px; }
.doc__sec p { margin: 0 0 12px; }
.doc__sec a { color: var(--gold-lt); border-bottom: 1px solid var(--line); }
.doc__sec a:hover { color: var(--gold-pale); }

.doc .footer { border-top: 1px solid var(--line); }
