/* Сайт AURSMP. Цвета - из схемы сервера (docs/style.md): золотой градиент #ffd36b -> #e8962e, акцент #ffcf5a,
   текст светло-серый, второстепенное тёмно-серое. Фон тёплый тёмный, без неона: свет только мягкими пятнами. */

:root {
	--bg: #0c0a08;
	--bg-2: #13100c;
	--bg-3: #1a150f;
	--line: rgba(255, 211, 107, 0.13);
	--line-2: rgba(255, 211, 107, 0.26);
	--text: #ece4d6;
	--muted: #a59a87;
	--dim: #6e6556;
	--gold: #ffcf5a;
	--g1: #ffd36b;
	--g2: #e8962e;
	--ok: #7bd88f;
	--err: #ff7a6b;
	--display: 'Forum', Georgia, 'Times New Roman', serif;
	--sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
	--wrap: 1240px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(1100px 620px at 78% -8%, rgba(232, 150, 46, 0.09), transparent 62%),
		radial-gradient(900px 500px at 0% 40%, rgba(255, 211, 107, 0.03), transparent 70%),
		var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.nav, main, .foot { position: relative; z-index: 1; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--g1); }
img.px, svg.px { image-rendering: pixelated; image-rendering: crisp-edges; }
code { font: 500 0.88em var(--mono); color: var(--gold); background: rgba(255, 211, 107, 0.08); padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
::selection { background: rgba(255, 211, 107, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font: 600 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--g2)); }

.gold {
	background: linear-gradient(180deg, var(--g1), var(--g2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------- кнопки */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border: 0; border-radius: 3px; cursor: pointer;
	font: 600 15px/1 var(--sans); color: #1d1405; letter-spacing: 0.01em;
	background: linear-gradient(180deg, var(--g1), var(--g2));
	box-shadow: inset 0 -3px 0 rgba(90, 46, 6, 0.35), inset 0 1px 0 rgba(255, 245, 210, 0.6);
	transition: transform 0.15s var(--ease), filter 0.15s;
	white-space: nowrap;
}
.btn:hover { color: #1d1405; filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(90, 46, 6, 0.35); }
.btn:disabled { cursor: not-allowed; filter: grayscale(1) brightness(0.6); transform: none; }
.btn--big { padding: 17px 28px; font-size: 16px; width: 100%; }

/* ---------------------------------------------------------------- шапка */

.nav {
	position: sticky; top: 0; z-index: 20;
	display: flex; align-items: center; gap: 36px;
	height: 66px; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2));
	background: rgba(12, 10, 8, 0.74);
	backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
	border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { width: 38px; height: 38px; }
.brand span { font: 400 23px/1 var(--display); letter-spacing: 0.08em; background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 6px; margin-right: auto; }
.nav-links a { position: relative; padding: 8px 14px; color: var(--muted); font-weight: 500; font-size: 15px; border-radius: 3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.on { color: var(--gold); }
.nav-links a.on::after {
	content: ''; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; margin-left: -2px; background: var(--gold);
	box-shadow: -8px 0 0 rgba(255, 207, 90, 0.4), 8px 0 0 rgba(255, 207, 90, 0.4);
}
.nav-online { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.nav-online b { color: var(--text); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(123, 216, 143, 0.6); animation: pulse 2.4s infinite; flex: none; }
[data-online].down .dot { background: var(--dim); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(123, 216, 143, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(123, 216, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 216, 143, 0); } }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- главный экран */

.hero {
	position: relative;
	display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 40px;
	max-width: var(--wrap); min-height: calc(100vh - 66px); margin: 0 auto; padding: 40px 24px 110px;
}
.season { display: flex; gap: 12px; margin-bottom: 28px; }
.season span {
	padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 2px;
	font: 600 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.season span + span { color: var(--muted); border-color: var(--line); }
.hero h1 {
	margin: 0 0 24px; font: 400 clamp(44px, 6vw, 80px)/1.0 var(--display); letter-spacing: 0.005em; color: var(--text);
}
.hero h1 em {
	display: block; margin-top: 8px; font-style: normal; font-size: 0.62em; line-height: 1.1;
	background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 33em; margin: 0 0 36px; font-size: 18px; color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
	border: 1px solid var(--line); border-radius: 30px; font-size: 14px; color: var(--muted); background: rgba(19, 16, 12, 0.6);
}
.pill b { color: var(--text); font-weight: 600; }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-logo {
	position: relative; width: min(100%, 540px); height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
	animation: float 7s ease-in-out infinite;
}
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit ellipse { fill: none; stroke: var(--line-2); stroke-width: 1; transform-origin: 200px 200px; }
.orbit ellipse:first-child { stroke-dasharray: 2 7; animation: orbit 80s linear infinite; }
.orbit ellipse:last-child { stroke: var(--line); stroke-dasharray: 1 5; animation: orbit 140s linear infinite reverse; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line-2); border-radius: 14px; }
.scroll-cue i { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* Адрес сервера: плашка с уголками, при копировании по ней пробегает блик */
.ip {
	position: relative; overflow: hidden;
	display: grid; justify-items: start; gap: 6px;
	min-width: min(100%, 420px); padding: 18px 24px 16px;
	background: linear-gradient(180deg, rgba(255, 211, 107, 0.07), rgba(255, 211, 107, 0.015));
	border: 1px solid var(--line-2); border-radius: 3px; cursor: pointer; text-align: left; color: inherit; font: inherit;
	transition: border-color 0.25s, transform 0.2s var(--ease), background 0.25s;
}
.ip::before, .ip::after { content: ''; position: absolute; width: 12px; height: 12px; border: 2px solid var(--gold); pointer-events: none; }
.ip::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ip::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.ip:hover { border-color: rgba(255, 211, 107, 0.5); transform: translateY(-2px); }
.ip-label { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.ip-value { display: flex; align-items: center; gap: 14px; font: 700 clamp(26px, 3.2vw, 36px)/1.1 var(--mono); color: var(--text); letter-spacing: 0.01em; transition: color 0.3s; }
.ip-value svg { width: 20px; height: 20px; fill: var(--gold); opacity: 0.75; transition: opacity 0.2s, transform 0.2s; }
.ip:hover .ip-value svg { opacity: 1; transform: scale(1.1); }
.ip-hint { font-size: 13.5px; color: var(--muted); min-height: 1.4em; }
.ip-sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 190, 0.22) 50%, transparent 65%); transform: translateX(-110%); }
.ip.copied { border-color: var(--gold); background: linear-gradient(180deg, rgba(255, 211, 107, 0.13), rgba(255, 211, 107, 0.03)); }
.ip.copied .ip-value { color: var(--g1); }
.ip.copied .ip-hint { color: var(--text); }
.ip.copied .ip-sweep { animation: sweep 0.9s var(--ease); }
@keyframes sweep { to { transform: translateX(110%); } }
.ip--small { min-width: 0; padding: 14px 20px 12px; }
.ip--small .ip-value { font-size: 24px; }

/* ---------------------------------------------------------------- витрины */

.show {
	display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 56px;
	max-width: var(--wrap); margin: 0 auto; padding: 110px 24px;
}
.show--flip .show-stage { order: 2; }
.show-stage {
	position: relative; aspect-ratio: 1 / 1.02; max-height: 80vh; width: 100%; justify-self: center;
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.show-stage.dragging { cursor: grabbing; }
.show-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.show-stage .fx { pointer-events: none; }
.show-stage .gl {
	-webkit-mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 76%, transparent 100%);
}
.corner { position: absolute; width: 30px; height: 30px; border: 2px solid rgba(255, 211, 107, 0.55); opacity: 0; transition: opacity 0.6s 0.3s, transform 0.8s 0.3s var(--ease); pointer-events: none; }
.corner.tl { top: 7%; left: 7%; border-right: 0; border-bottom: 0; transform: translate(-14px, -14px); }
.corner.tr { top: 7%; right: 7%; border-left: 0; border-bottom: 0; transform: translate(14px, -14px); }
.corner.bl { bottom: 7%; left: 7%; border-right: 0; border-top: 0; transform: translate(-14px, 14px); }
.corner.br { bottom: 7%; right: 7%; border-left: 0; border-top: 0; transform: translate(14px, 14px); }
.show--eater .corner { border-color: rgba(120, 230, 240, 0.45); }
.show-stage.played .corner { opacity: 1; transform: none; }
.show-hint {
	position: absolute; left: 50%; bottom: 3%; transform: translate(-50%, 6px);
	padding: 6px 12px; border-radius: 20px; font-size: 12.5px; color: var(--muted); background: rgba(12, 10, 8, 0.7); border: 1px solid var(--line);
	opacity: 0; transition: opacity 0.6s 2.4s, transform 0.6s 2.4s; pointer-events: none; white-space: nowrap;
}
.show-stage.played .show-hint { opacity: 1; transform: translate(-50%, 0); }
.show-stage.dragging .show-hint { opacity: 0; transition-delay: 0s; }
@media (hover: none) { .show-hint { font-size: 0; } .show-hint::after { content: 'Проведите пальцем'; font-size: 12.5px; } }
.show-fallback { display: none; }
.show-stage.nogl { cursor: default; }
.show-stage.nogl .show-fallback { display: block; position: absolute; left: 50%; top: 50%; width: 40%; transform: translate(-50%, -50%); image-rendering: pixelated; }
.show-stage.nogl .corner { opacity: 1; transform: none; }
.show-stage.nogl .show-hint { display: none; }

.show-title {
	margin: 18px 0 18px; font: 400 clamp(52px, 6.4vw, 88px)/0.95 var(--display); letter-spacing: 0.01em;
	background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 0 0 30px; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 32em; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.facts li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.facts .px { width: 48px; height: 48px; padding: 7px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; }
.facts b { display: block; margin: 2px 0 2px; font-weight: 600; font-size: 15.5px; color: var(--text); }
.facts p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.show-foot { display: grid; gap: 18px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.note { margin: 0; font-size: 14px; color: var(--dim); }

/* Рецепт сеткой верстака: ячейки как в игре, только в цветах сайта */
.recipe { display: flex; align-items: center; gap: 16px; margin: 0; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 40px); gap: 2px; padding: 4px; background: #0a0806; border-radius: 2px; }
.slot {
	display: grid; place-items: center; width: 40px; height: 40px; background: #1d1810;
	box-shadow: inset 2px 2px 0 #0b0907, inset -2px -2px 0 #3a3022;
}
.slot img { width: 32px; height: 32px; image-rendering: pixelated; }
.slot:hover { background: #2a2216; }
.recipe figcaption { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.recipe figcaption small { font-weight: 400; font-size: 12.5px; color: var(--dim); line-height: 1.4; }

/* ---------------------------------------------------------------- блоки */

.block { max-width: var(--wrap); margin: 0 auto; padding: 100px 24px; }
.block-head { margin-bottom: 44px; }
.block-head h2, .page-head h1 { margin: 14px 0 0; font: 400 clamp(36px, 4.4vw, 54px)/1.05 var(--display); color: var(--text); }
.block-head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.more { font-weight: 600; font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
	padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: 4px;
	background: linear-gradient(180deg, rgba(255, 211, 107, 0.035), rgba(255, 211, 107, 0.008));
	transition: border-color 0.25s, transform 0.3s var(--ease), background 0.25s;
}
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature .px { width: 36px; height: 36px; }
.feature:hover .px { animation: bob 0.6s var(--ease); }
@keyframes bob { 40% { transform: translateY(-4px) rotate(-4deg); } }
.feature h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.feature p a { color: var(--gold); border-bottom: 1px solid rgba(255, 207, 90, 0.35); transition: border-color 0.2s; }
.feature p a:hover { border-color: var(--gold); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 14px; border-top: 1px solid var(--line-2); }
.steps li::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--gold); }
.step-n { display: block; font: 400 54px/1 var(--display); background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: 10px 0 8px; font-size: 17px; font-weight: 600; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
.start-ip { margin-top: 48px; display: flex; justify-content: center; }

.hcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hcard {
	display: grid; gap: 10px; align-content: start; padding: 24px; color: var(--text);
	border: 1px solid var(--line); border-radius: 4px; background: rgba(19, 16, 12, 0.55);
	transition: border-color 0.25s, transform 0.3s var(--ease);
}
.hcard:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-3px); }
.hcard--img { padding-top: 0; overflow: hidden; }
.hcard-img { display: block; width: calc(100% + 48px); max-width: none; margin: 0 -24px 6px; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.hcard b { font: 400 25px/1.15 var(--display); }
.hcard time { font-size: 13px; color: var(--dim); }
.hcard p { margin: 0; font-size: 14.5px; color: var(--muted); }
.hcard-type { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.t-ico { width: 14px; height: 14px; fill: currentColor; flex: none; }

.aura-band-in {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
	padding: 30px 34px; border: 1px solid var(--line-2); border-radius: 4px;
	background: linear-gradient(100deg, rgba(255, 211, 107, 0.08), rgba(255, 211, 107, 0.01) 60%);
}
.aura-band h2 { margin: 10px 0 6px; font: 400 36px/1.05 var(--display); }
.aura-band p { margin: 0; color: var(--muted); }

/* Сфера AURA из пака: 24 кадра по 0.1 с, как в игре */
.aura-sphere {
	width: 256px; height: 256px; background: url(/img/icons/aura_strip.png) 0 0 / 100% 2400% no-repeat;
	image-rendering: pixelated; animation: aura 2.4s steps(24, jump-none) infinite;
	filter: drop-shadow(0 0 30px rgba(255, 207, 90, 0.18));
}
.aura-sphere--small { width: 80px; height: 80px; }
@keyframes aura { from { background-position: 0 0; } to { background-position: 0 100%; } }

/* ---------------------------------------------------------------- появление */

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.show-text[data-reveal] .facts li { opacity: 0; transform: translateX(-10px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 90ms + 250ms); }
.show-text[data-reveal].in .facts li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal], .show-text[data-reveal] .facts li { opacity: 1; transform: none; transition: none; }
	.hero-logo, .orbit ellipse, .scroll-cue i, .dot { animation: none; }
}

/* ---------------------------------------------------------------- страницы */

.page-head { max-width: 860px; margin: 0 auto; padding: 80px 24px 30px; text-align: center; }
.page-head .eyebrow::after { content: ''; width: 26px; height: 1px; background: linear-gradient(270deg, transparent, var(--g2)); }
.page-head p { margin: 16px auto 0; max-width: 36em; color: var(--muted); font-size: 17px; }

.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.filter button {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; cursor: pointer;
	border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); font: 500 14px var(--sans);
	transition: all 0.2s;
}
.filter button:hover { color: var(--text); border-color: var(--line-2); }
.filter button.on { color: #1d1405; background: linear-gradient(180deg, var(--g1), var(--g2)); border-color: transparent; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 30px 24px 120px; }
.timeline::before { content: ''; position: absolute; left: 43px; top: 40px; bottom: 120px; width: 1px; background: linear-gradient(180deg, var(--line-2), var(--line) 80%, transparent); }
.tl-item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 24px; margin-bottom: 26px; scroll-margin-top: 90px; }
.tl-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-top: 18px; color: var(--gold); background: var(--bg); border: 1px solid var(--line-2); transform: rotate(45deg); }
.tl-mark .t-ico { width: 16px; height: 16px; transform: rotate(-45deg); }
.tl-card { padding: 22px 28px 24px; border: 1px solid var(--line); border-radius: 4px; background: rgba(19, 16, 12, 0.62); }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: var(--dim); }
.tl-type { font: 600 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.tl-card h2 { margin: 10px 0 0; font: 400 32px/1.12 var(--display); }
.tl-img { display: block; width: 100%; margin-top: 18px; border-radius: 3px; border: 1px solid var(--line); }
.tl-card .prose { margin-top: 12px; }
/* Сезон - веха: крупнее, с золотой рамкой */
.tl-season .tl-mark { width: 40px; height: 40px; background: linear-gradient(180deg, var(--g1), var(--g2)); color: #2a1a05; border: 0; }
.tl-season .tl-card { overflow: hidden; border-color: rgba(255, 211, 107, 0.45); background: linear-gradient(160deg, rgba(255, 211, 107, 0.1), rgba(19, 16, 12, 0.7) 55%); padding: 30px 32px 30px; }
.tl-season .tl-card h2 { font-size: 46px; background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-cover { display: block; width: calc(100% + 64px); max-width: none; margin: -30px -32px 24px; border-radius: 4px 4px 0 0; border-bottom: 1px solid rgba(255, 211, 107, 0.35); }
.tl-major .tl-mark { border-color: var(--gold); }
.tl-major .tl-card { border-color: var(--line-2); }
.tl-empty-filter, .empty { text-align: center; color: var(--muted); }
.empty { display: grid; justify-items: center; gap: 10px; padding: 60px 20px; }
.empty .px { width: 48px; height: 48px; }

.prose { color: var(--text); font-size: 16px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 14px; }
.prose h2 { margin: 30px 0 12px; font: 400 28px/1.2 var(--display); color: var(--gold); }
.prose h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose ul { list-style: none; padding-left: 18px; }
.prose ul li { position: relative; }
.prose ul li::before { content: ''; position: absolute; left: -16px; top: 0.72em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.prose ol li::marker { color: var(--gold); font-weight: 600; }
.prose a { border-bottom: 1px solid rgba(255, 207, 90, 0.35); }
.prose blockquote { margin: 0 0 14px; padding: 4px 0 4px 18px; border-left: 2px solid var(--gold); color: var(--muted); }
.prose--page { max-width: 760px; margin: 0 auto; padding: 20px 24px 120px; }

/* AURA */
.donate { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; max-width: 1100px; min-height: calc(100vh - 66px); margin: 0 auto; padding: 60px 24px 100px; }
.donate-art { position: relative; display: grid; justify-items: center; gap: 30px; }
.donate-art::before { content: ''; position: absolute; top: 50%; left: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -58%); background: radial-gradient(closest-side, rgba(232, 150, 46, 0.13), transparent); pointer-events: none; }
.donate-art .aura-sphere { width: min(80%, 300px); height: auto; aspect-ratio: 1; }
.donate-art .badge { width: 126px; height: auto; }
.donate h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin: 14px 0 14px; font: 400 clamp(60px, 8vw, 96px)/1 var(--display); background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.forever { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 30px; font: 600 14px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.forever .px { width: 18px; height: 16px; }
.perks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 2px; }
.perks li { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.perks b { font: 400 40px/1 var(--display); background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; }
.perks .px { width: 63px; height: auto; justify-self: center; }
.perks span { color: var(--text); }
.buy { display: grid; gap: 16px; padding: 26px; border: 1px solid var(--line-2); border-radius: 4px; background: rgba(19, 16, 12, 0.7); }
.price { display: flex; align-items: baseline; gap: 12px; }
.price b { font: 400 44px/1 var(--display); color: var(--text); }
.price span { color: var(--muted); font-size: 14.5px; }
.field { display: grid; gap: 8px; }
.field span { font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.field input {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 3px; background: #0d0b08;
	color: var(--text); font: 600 19px var(--mono); outline: none; transition: border-color 0.2s;
}
.field input:focus { border-color: var(--gold); }
.field input::placeholder { color: #4a4337; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--g2); }
.fine { margin: 0; font-size: 13.5px; color: var(--dim); line-height: 1.55; }
.form-error { margin: 0; color: var(--err); font-size: 14.5px; }

.done { display: grid; justify-items: center; gap: 14px; max-width: 640px; margin: 0 auto; padding: 120px 24px 140px; text-align: center; }
.done h1 { margin: 10px 0 0; font: 400 46px/1.1 var(--display); }
.done p { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.done b { color: var(--text); }
.done .px { width: 64px; height: 64px; }
.done--bad h1 { color: var(--text); }

/* Вход по паролю */
.gate { display: grid; justify-items: center; align-content: center; gap: 18px; min-height: 100vh; padding: 24px; text-align: center; }
.gate-logo { width: 200px; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
.gate-text { margin: 0; color: var(--muted); }
.gate-form { display: flex; gap: 10px; }
.gate-form input { width: 240px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 3px; background: #0d0b08; color: var(--text); font: 500 16px var(--mono); outline: none; }
.gate-form input:focus { border-color: var(--gold); }

/* ---------------------------------------------------------------- правила */

.rules-head h1 { font-size: clamp(44px, 6vw, 72px); }
.rules-search {
	position: relative; display: flex; align-items: center; max-width: 560px; margin: 30px auto 0;
}
.rules-search svg { position: absolute; left: 18px; width: 18px; height: 18px; fill: var(--gold); opacity: 0.7; pointer-events: none; }
.rules-search input {
	width: 100%; padding: 15px 18px 15px 48px; border: 1px solid var(--line-2); border-radius: 40px; background: rgba(13, 11, 8, 0.85);
	color: var(--text); font: 500 15.5px var(--sans); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.rules-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 207, 90, 0.08); }
.rules-search input::placeholder { color: var(--dim); }

.rules-wrap, .doc-wrap {
	display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start;
	max-width: 1180px; margin: 0 auto; padding: 30px 24px 120px;
}
.doc-wrap--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.rules-toc, .doc-toc { position: sticky; top: 96px; display: grid; gap: 2px; max-height: calc(100vh - 120px); overflow: auto; }
.rules-toc a, .doc-toc a {
	display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-left: 2px solid var(--line);
	color: var(--muted); font-size: 14.5px; line-height: 1.35; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.rules-toc a b { flex: none; width: 24px; font: 400 18px/1 var(--display); color: var(--dim); transition: color 0.2s; }
.rules-toc a:hover, .doc-toc a:hover { color: var(--text); border-color: var(--line-2); }
.rules-toc a.on { color: var(--text); border-color: var(--gold); background: linear-gradient(90deg, rgba(255, 211, 107, 0.08), transparent); }
.rules-toc a.on b, .rules-toc a:hover b { color: var(--gold); }

.rules-intro {
	position: relative; margin-bottom: 26px; padding: 22px 26px 22px 30px; border: 1px solid var(--line-2); border-radius: 4px;
	background: linear-gradient(100deg, rgba(255, 211, 107, 0.08), rgba(255, 211, 107, 0.01) 70%); font-size: 16.5px; line-height: 1.65;
}
.rules-intro::before { content: ''; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: linear-gradient(180deg, var(--g1), var(--g2)); border-radius: 4px 0 0 4px; }
.rules-intro p { margin: 0; }

.rsec { margin-bottom: 22px; border: 1px solid var(--line); border-radius: 4px; background: rgba(19, 16, 12, 0.62); scroll-margin-top: 90px; overflow: hidden; }
.rsec header { display: flex; align-items: center; gap: 20px; padding: 22px 30px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 211, 107, 0.045), transparent); }
.rsec-n {
	font: 400 58px/0.9 var(--display); letter-spacing: -0.02em;
	background: linear-gradient(180deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rsec h2 { margin: 0; font: 400 32px/1.1 var(--display); color: var(--text); }

.rule {
	display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 18px; align-items: start;
	padding: 15px 30px; border-top: 1px solid rgba(255, 211, 107, 0.07); scroll-margin-top: 100px; transition: background 0.2s, box-shadow 0.2s;
}
.rsec header + .rule { border-top: 0; }
.rule:hover { background: rgba(255, 211, 107, 0.03); }
.rule.hl, .rule:target { background: rgba(255, 211, 107, 0.08); box-shadow: inset 3px 0 0 var(--gold); }
.rule-n {
	justify-self: start; margin-top: 1px; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 3px;
	font: 700 13px/1.2 var(--mono); color: var(--gold); transition: background 0.2s, color 0.2s;
}
.rule-n:hover { background: var(--gold); color: #1d1405; }
.rule p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--text); }
.rule p code { white-space: nowrap; }
.rule-p {
	margin-top: 2px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 20px; white-space: nowrap;
	font: 600 12.5px/1.2 var(--sans); color: var(--muted); background: rgba(255, 255, 255, 0.015);
}
.rule-p--mid { color: var(--gold); border-color: rgba(255, 207, 90, 0.35); background: rgba(255, 207, 90, 0.06); }
.rule-p--hard { color: var(--err); border-color: rgba(255, 122, 107, 0.38); background: rgba(255, 122, 107, 0.07); }
.rule-note { padding: 16px 30px 18px; border-top: 1px solid rgba(255, 211, 107, 0.07); font-size: 15.5px; }
.rule-note ul { margin: 6px 0 4px; }
.rule-note li { margin: 7px 0; }
.searching .rule-note, .searching .rules-intro { display: none; }
.rules-empty { padding: 40px 0; text-align: center; color: var(--muted); }

.toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 30; padding: 11px 18px; border: 1px solid var(--gold); border-radius: 30px;
	background: rgba(19, 16, 12, 0.96); color: var(--text); font-size: 14px; pointer-events: none;
	opacity: 0; transform: translate(-50%, 12px); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Документы: оферта, политика */
.prose--doc { font-size: 16px; line-height: 1.72; }
.prose--doc > p:first-child { color: var(--muted); }
.prose--doc h2 { margin: 38px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 27px; scroll-margin-top: 90px; }
.prose--doc h2:first-of-type { margin-top: 26px; }
.prose--doc strong { color: var(--text); }
.prose--doc p { margin: 0 0 10px; }
.doc-toc a { font-size: 14px; }

/* Способы оплаты */
.methods { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.methods legend { margin-bottom: 8px; padding: 0; font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.method {
	position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: center; padding: 13px 16px; cursor: pointer;
	border: 1px solid var(--line); border-radius: 4px; background: #0d0b08; transition: border-color 0.2s, background 0.2s;
}
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method:hover { border-color: var(--line-2); }
.method:has(input:checked) { border-color: var(--gold); background: linear-gradient(100deg, rgba(255, 211, 107, 0.1), rgba(255, 211, 107, 0.02)); }
.method:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.m-ico { width: 22px; height: 22px; fill: var(--muted); }
.method:has(input:checked) .m-ico { fill: var(--gold); }
.method b { display: block; font-weight: 600; font-size: 15px; color: var(--text); }
.method small { display: block; font-size: 13px; color: var(--dim); }
.field--small input { font: 500 16px var(--sans); padding: 12px 14px; }
.field span i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 400; margin-left: 6px; }
.check a { color: var(--gold); }
[data-autopost] { margin-top: 6px; }

/* ---------------------------------------------------------------- подвал */

.foot { border-top: 1px solid var(--line); background: rgba(10, 8, 6, 0.8); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; max-width: var(--wrap); margin: 0 auto; padding: 34px 24px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand div { display: grid; }
.foot-brand b { font: 400 22px/1.1 var(--display); letter-spacing: 0.08em; color: var(--text); }
.foot-brand span { font-size: 13px; color: var(--dim); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); font-size: 14px; transition: all 0.2s; }
.social:hover { color: var(--text); border-color: var(--line-2); }
.social svg { width: 16px; height: 16px; }
.foot-legal { text-align: right; font-size: 12.5px; color: var(--dim); }
.foot-legal p { margin: 4px 0 0; max-width: 26em; }
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--text); }
.foot-docs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin-bottom: 6px; font-size: 13px; }
.foot-seller { color: var(--muted); }

/* ---------------------------------------------------------------- планшет и телефон */

@media (max-width: 1080px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.show { gap: 32px; }
}

@media (max-width: 860px) {
	.nav { gap: 16px; }
	.nav-toggle {
		display: grid; align-content: center; gap: 6px; width: 40px; height: 40px; margin-left: auto; order: 3;
		background: none; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; padding: 0 10px;
	}
	.nav-toggle i { display: block; height: 2px; background: var(--text); transition: transform 0.25s; }
	.menu-open .nav-toggle i:first-child { transform: translateY(4px) rotate(45deg); }
	.menu-open .nav-toggle i:last-child { transform: translateY(-4px) rotate(-45deg); }
	.nav-links {
		position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px;
		background: rgba(12, 10, 8, 0.97); border-bottom: 1px solid var(--line);
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: all 0.2s;
	}
	.menu-open .nav-links { visibility: visible; opacity: 1; transform: none; }
	.nav-links a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-links a.on::after { display: none; }
	.nav-online { margin-left: auto; font-size: 13px; }
	.nav-online span { display: none; }

	.hero { grid-template-columns: 1fr; text-align: left; padding-top: 10px; min-height: 0; padding-bottom: 90px; }
	.hero-art { order: -1; width: min(72vw, 340px); justify-self: center; }
	.hero-lead { font-size: 16.5px; }
	.ip { min-width: 0; width: 100%; }

	.show, .show--flip { grid-template-columns: 1fr; padding: 70px 20px; }
	.show--flip .show-stage { order: 0; }
	.show-stage { max-height: none; width: min(100%, 520px); }
	.donate { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-top: 30px; }
	.donate-art .aura-sphere { width: 180px; }
	.hcards { grid-template-columns: 1fr; }
	.aura-band-in { grid-template-columns: auto 1fr; }
	.aura-band-in .btn { grid-column: 1 / -1; }
	.foot-in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.foot-legal { text-align: center; }
	.foot-docs { justify-content: center; }
	.rules-wrap, .doc-wrap { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }
	.rules-toc, .doc-toc { position: static; display: flex; gap: 6px; max-height: none; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
	.rules-toc a, .doc-toc a { flex: none; border: 1px solid var(--line); border-radius: 30px; padding: 7px 12px; }
	.rules-toc a b { width: auto; }
	.rsec header { padding: 18px 18px 16px; gap: 14px; }
	.rsec-n { font-size: 44px; }
	.rsec h2 { font-size: 26px; }
	.rule { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 14px 18px; }
	.rule-p { grid-column: 2; justify-self: start; white-space: normal; }
	.rule-note { padding: 14px 18px; }
	.block { padding: 70px 20px; }
	.block-head--row { flex-direction: column; align-items: start; }
}

@media (max-width: 560px) {
	.feature-grid, .steps { grid-template-columns: 1fr; }
	.season span { font-size: 11px; }
	.tl-item { grid-template-columns: 28px 1fr; gap: 14px; }
	.tl-mark { width: 28px; height: 28px; }
	.timeline::before { left: 37px; }
	.tl-card { padding: 18px 18px 20px; }
	.tl-season .tl-card h2 { font-size: 36px; }
	.gate-form { flex-direction: column; width: 100%; }
	.gate-form input { width: 100%; }
	.recipe { flex-direction: column; align-items: start; }
}
