/* === Промо-страница «Древние: Падение мира» === */

@font-face {
	font-family: 'Boombox';
	src: url('/css/fonts/Boombox-Family.woff2') format('woff2'),
		url('/css/fonts/Boombox-Family.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Mastodon';
	src: url('/css/fonts/Mastodon.woff2') format('woff2'),
		url('/css/fonts/Mastodon.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Onest';
	src: url('/css/fonts/Onest-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Onest';
	src: url('/css/fonts/Onest-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Onest';
	src: url('/css/fonts/Onest-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Onest';
	src: url('/css/fonts/Onest-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--p-bg: #0a090b;
	--p-bg-2: #100e13;
	--p-bg-3: #16121a;
	--p-text: #f2ede4;
	--p-muted: #a49b90;
	--p-gold: #d8b45a;
	--p-gold-2: #f0cf82;
	--p-gold-dark: #8a6b24;
	--p-line: rgba(216, 180, 90, .18);
	--p-line-soft: rgba(255, 255, 255, .07);
	--p-panel: rgba(255, 255, 255, .035);
	--p-shadow: 0 24px 60px rgba(0, 0, 0, .55);
	--p-radius: 18px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--p-bg);
	color: var(--p-text);
	font-family: 'Onest', 'Segoe UI', Tahoma, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(900px 600px at 12% 0%, rgba(216, 180, 90, .09), transparent 65%),
		radial-gradient(800px 700px at 92% 18%, rgba(120, 46, 30, .16), transparent 70%);
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
	margin: 0;
}

.p_wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 28px;
	position: relative;
	z-index: 1;
}

/* ── Кнопки ── */

.p_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 12px;
	font-family: 'Onest', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .3px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.p_btn--gold {
	background: linear-gradient(135deg, #f4d78d 0%, var(--p-gold) 48%, #b78f38 100%);
	color: #221a08;
	border-color: rgba(255, 240, 200, .55);
	box-shadow: 0 10px 30px rgba(216, 180, 90, .22), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.p_btn--gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 38px rgba(216, 180, 90, .34), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.p_btn--ghost {
	background: rgba(255, 255, 255, .04);
	color: var(--p-text);
	border-color: rgba(255, 255, 255, .18);
	backdrop-filter: blur(4px);
}

.p_btn--ghost:hover {
	transform: translateY(-2px);
	border-color: var(--p-gold);
	color: var(--p-gold-2);
}

.p_btn--sm {
	min-height: 42px;
	padding: 0 22px;
	font-size: 14px;
	border-radius: 10px;
}

/* ── Навигация ── */

.p_nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
	border-bottom: 1px solid transparent;
}

.p_nav.is-scrolled {
	background: rgba(9, 8, 10, .86);
	border-bottom-color: var(--p-line);
	backdrop-filter: blur(14px);
}

.p_nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.p_brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	line-height: 1.1;
}

.p_brand__mark {
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: 22px;
	color: #1d1607;
	background: linear-gradient(140deg, #f2d68b, var(--p-gold) 55%, #a9812e);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px rgba(216, 180, 90, .25);
}

.p_brand__text {
	display: flex;
	flex-direction: column;
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: 16px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--p-text);
}

.p_brand__text em {
	font-family: 'Onest', sans-serif;
	font-style: normal;
	font-size: 10px;
	letter-spacing: 2.6px;
	color: var(--p-gold);
	margin-top: 3px;
}

.p_nav__links {
	display: flex;
	align-items: center;
	gap: 28px;
}

.p_nav__links a {
	position: relative;
	font-size: 14px;
	color: #cfc7bb;
	transition: color .2s ease;
}

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

.p_nav__links a:hover {
	color: var(--p-gold-2);
}

.p_nav__links a:hover::after {
	transform: scaleX(1);
}

/* ── Hero ── */

.p_hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 128px 0 72px;
	overflow: hidden;
	isolation: isolate;
}

.p_hero__bg {
	position: absolute;
	inset: -6% 0 -12%;
	background: url('/img/promo/hero.jpg') center 42% / cover no-repeat;
	transform: scale(1.06);
	will-change: transform;
	z-index: -3;
}

.p_hero__glow {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(60% 70% at 72% 45%, rgba(255, 140, 60, .22), transparent 68%),
		linear-gradient(90deg, rgba(8, 7, 9, .96) 0%, rgba(8, 7, 9, .82) 42%, rgba(8, 7, 9, .38) 72%, rgba(8, 7, 9, .7) 100%);
}

.p_hero__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 190px;
	z-index: -1;
	background: linear-gradient(180deg, rgba(10, 9, 11, 0) 0%, var(--p-bg) 88%);
}

.p_hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 48px;
}

.p_badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 12px;
	border-radius: 100px;
	border: 1px solid var(--p-line);
	background: rgba(216, 180, 90, .07);
	font-size: 12px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--p-gold-2);
}

.p_badge i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #7ddc7d;
	box-shadow: 0 0 10px #7ddc7d;
}

.p_hero__title {
	margin: 22px 0 0;
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: clamp(46px, 7.4vw, 92px);
	line-height: .96;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-shadow: 0 18px 50px rgba(0, 0, 0, .6);
}

.p_hero__title span {
	display: block;
	margin-top: 10px;
	font-size: clamp(26px, 3.8vw, 46px);
	letter-spacing: 3px;
	background: linear-gradient(100deg, #f8e3a8 0%, var(--p-gold) 46%, #a9802c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.p_hero__lead {
	margin-top: 24px;
	max-width: 540px;
	font-size: 17px;
	line-height: 1.68;
	color: #d3cabd;
}

.p_hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.p_hero__note {
	margin-top: 18px;
	font-size: 13px;
	color: #8e857a;
}

/* Веер карт */

.p_hero__fan {
	position: relative;
	height: 470px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.p_fan_card {
	position: absolute;
	width: 238px;
	height: 336px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(240, 207, 130, .38);
	background: #0d0b0e;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(0, 0, 0, .7);
	transition: transform .5s cubic-bezier(.2, .8, .3, 1);
}

.p_fan_card img,
.p_fan_card video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p_fan_card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(6, 5, 7, .8) 100%);
}

.p_fan_card--c {
	transform: translateY(-14px) rotate(-2deg) scale(1.06);
	z-index: 3;
}

.p_fan_card--l {
	transform: translate(-118px, 26px) rotate(-13deg);
	z-index: 2;
}

.p_fan_card--r {
	transform: translate(118px, 26px) rotate(13deg);
	z-index: 1;
}

.p_hero__fan:hover .p_fan_card--c {
	transform: translateY(-28px) rotate(0deg) scale(1.1);
}

.p_hero__fan:hover .p_fan_card--l {
	transform: translate(-140px, 18px) rotate(-17deg);
}

.p_hero__fan:hover .p_fan_card--r {
	transform: translate(140px, 18px) rotate(17deg);
}

.p_fan_ring {
	position: absolute;
	width: 430px;
	height: 430px;
	border-radius: 50%;
	border: 1px solid rgba(216, 180, 90, .16);
	box-shadow: 0 0 120px rgba(216, 180, 90, .12) inset;
	pointer-events: none;
}

/* ── Полоса статистики ── */

.p_strip {
	border-top: 1px solid var(--p-line);
	border-bottom: 1px solid var(--p-line);
	background: linear-gradient(180deg, rgba(216, 180, 90, .045), rgba(216, 180, 90, 0));
}

.p_strip__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.p_stat {
	text-align: center;
	border-right: 1px solid var(--p-line-soft);
}

.p_stat:last-child {
	border-right: none;
}

.p_stat b {
	display: block;
	font-family: 'Mastodon', 'Onest', sans-serif;
	font-size: 38px;
	line-height: 1.1;
	color: var(--p-gold-2);
}

.p_stat span {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--p-muted);
}

/* ── Секции ── */

.p_section {
	position: relative;
	padding: 100px 0;
}

.p_section--alt {
	background: linear-gradient(180deg, var(--p-bg-2), var(--p-bg));
	border-top: 1px solid var(--p-line-soft);
	border-bottom: 1px solid var(--p-line-soft);
}

.p_head {
	max-width: 640px;
	margin-bottom: 46px;
}

.p_kicker {
	display: inline-block;
	font-family: 'Mastodon', 'Onest', sans-serif;
	font-size: 12px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--p-gold);
}

.p_title {
	margin-top: 12px;
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.1;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.p_sub {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--p-muted);
}

/* ── Возможности ── */

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

.p_feature {
	padding: 28px 26px 26px;
	border: 1px solid var(--p-line-soft);
	border-radius: var(--p-radius);
	background: var(--p-panel);
	transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.p_feature:hover {
	border-color: var(--p-line);
	background: rgba(216, 180, 90, .05);
	transform: translateY(-3px);
}

.p_ico {
	display: block;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	background: linear-gradient(150deg, var(--p-gold-2), var(--p-gold) 55%, #a9812e);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}

.p_feature h3 {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .2px;
}

.p_feature p {
	margin-top: 9px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--p-muted);
}

/* ── Режимы ── */

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

.p_mode {
	position: relative;
	min-height: 268px;
	border-radius: var(--p-radius);
	overflow: hidden;
	border: 1px solid var(--p-line-soft);
	background: #0b0a0c;
	display: flex;
	align-items: flex-end;
	isolation: isolate;
	transition: border-color .25s ease, transform .25s ease;
}

.p_mode--wide {
	grid-column: span 2;
}

.p_mode--full {
	grid-column: 1 / -1;
	min-height: 220px;
}

.p_mode--full .p_mode__body {
	max-width: 660px;
}

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

.p_mode__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform .6s cubic-bezier(.2, .8, .3, 1);
}

.p_mode::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 7, 9, .1) 0%, rgba(8, 7, 9, .55) 48%, rgba(8, 7, 9, .95) 100%);
}

.p_mode:hover .p_mode__img {
	transform: scale(1.06);
}

.p_mode__body {
	position: relative;
	padding: 24px;
}

.p_mode__tag {
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 10px;
	border-radius: 100px;
	border: 1px solid var(--p-line);
	background: rgba(0, 0, 0, .45);
	font-size: 10px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--p-gold-2);
}

.p_mode__body h3 {
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: 22px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.p_mode__body p {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.6;
	color: #cbc2b6;
	max-width: 520px;
}

/* ── Телефоны ── */

.p_phones {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	justify-items: center;
}

.p_phone {
	width: 100%;
	max-width: 250px;
}

.p_shot {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 24px;
}

.p_phone__screen {
	position: relative;
	aspect-ratio: 9 / 18.5;
	border-radius: 34px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: linear-gradient(160deg, #26222b, #100e13 62%);
	box-shadow: var(--p-shadow), inset 0 0 0 1px rgba(0, 0, 0, .8);
	overflow: hidden;
}

.p_phone__screen::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 86px;
	height: 20px;
	border-radius: 0 0 12px 12px;
	background: #0a090b;
	z-index: 3;
}

.p_phone__screen::after {
	content: '';
	position: absolute;
	inset: 12px;
	border-radius: 24px;
	background: radial-gradient(120% 80% at 50% 0%, rgba(216, 180, 90, .1), transparent 60%), #0d0b10;
	z-index: -1;
}

.p_phone__cap {
	margin-top: 14px;
	text-align: center;
	font-size: 12px;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--p-muted);
}

.p_mock {
	position: relative;
	height: 100%;
	border-radius: 24px;
	padding: 40px 12px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: linear-gradient(180deg, rgba(35, 26, 22, .9), rgba(12, 10, 14, .96));
	overflow: hidden;
}

.p_mock__hud {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.p_mock__side {
	flex: 1 1 0;
	min-width: 0;
}

.p_mock__side--r {
	text-align: right;
}

.p_mock__side span {
	display: block;
	font-size: 8px;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #a29a8f;
}

.p_mock__bar {
	position: relative;
	height: 12px;
	margin-top: 3px;
	border-radius: 6px;
	background: #2a262c;
	overflow: hidden;
}

.p_mock__bar i {
	display: block;
	height: 100%;
	border-radius: 6px;
}

.p_mock__bar i.is-user {
	background: linear-gradient(90deg, #7fd18d, #2e9e52);
}

.p_mock__bar i.is-foe {
	background: linear-gradient(90deg, #f0735c, #cf2e1e);
}

.p_mock__side em {
	display: block;
	margin-top: 3px;
	font-family: 'Mastodon', sans-serif;
	font-style: normal;
	font-size: 9px;
	color: #cfc7bb;
}

.p_mock__round {
	flex: 0 0 auto;
	padding: 3px 7px;
	border-radius: 7px;
	background: #cccf68;
	color: #2b2a10;
	font-size: 7px;
	line-height: 1.1;
	letter-spacing: .6px;
	text-align: center;
	text-transform: uppercase;
}

.p_mock__round b {
	display: block;
	font-family: 'Mastodon', sans-serif;
	font-size: 14px;
}

.p_mock__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 7px;
}

.p_mock__card {
	position: relative;
	border-radius: 9px;
	overflow: hidden;
	border: 1px solid rgba(240, 207, 130, .3);
	background: #15121a;
	aspect-ratio: 3 / 4;
}

.p_mock__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p_mock__card.is-dead {
	filter: grayscale(1) brightness(.55);
}

.p_mock__card.is-dead::after {
	content: '✕';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #ff6b5c;
}

.p_mock__hp {
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 4px;
	height: 5px;
	border-radius: 3px;
	max-width: calc(100% - 8px);
}

.p_mock__hp.is-user {
	background: linear-gradient(90deg, #7fd18d, #2e9e52);
}

.p_mock__hp.is-foe {
	background: linear-gradient(90deg, #f0735c, #cf2e1e);
}

.p_mock__vs {
	align-self: center;
	font-family: 'Mastodon', sans-serif;
	font-size: 11px;
	letter-spacing: 2px;
	color: #8a8278;
}

.p_mock__hint {
	margin-top: auto;
	align-self: center;
	padding: 5px 14px;
	border-radius: 100px;
	border: 1px solid rgba(216, 180, 90, .3);
	background: rgba(0, 0, 0, .4);
	font-size: 8px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--p-gold-2);
}

.p_mock__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #f0e9df;
}

.p_mock__title em {
	font-family: 'Onest', sans-serif;
	font-style: normal;
	font-size: 9px;
	letter-spacing: .6px;
	text-transform: none;
	color: var(--p-gold);
}

.p_mock--grid .p_mock__inv {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.p_mock__cell {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .09);
	background: #15121a;
	aspect-ratio: 3 / 4;
}

.p_mock__cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p_mock__tabs {
	margin-top: auto;
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
}

.p_mock__tabs span {
	padding: 4px 8px;
	border-radius: 100px;
	border: 1px solid rgba(255, 255, 255, .09);
	font-size: 8px;
	color: #a9a196;
}

.p_mock__tabs .is-on {
	border-color: rgba(216, 180, 90, .55);
	background: rgba(216, 180, 90, .14);
	color: var(--p-gold-2);
}

.p_mock--list {
	gap: 7px;
}

.p_mock__tile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 11px 11px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .08);
	background: rgba(255, 255, 255, .03);
	font-size: 10px;
	color: #ded6ca;
}

.p_mock__tile em {
	font-style: normal;
	font-size: 8px;
	letter-spacing: .4px;
	color: #9c9387;
}

.p_mock__tile.is-active {
	border-color: rgba(216, 180, 90, .5);
	background: linear-gradient(90deg, rgba(216, 180, 90, .16), rgba(216, 180, 90, .04));
}

.p_mock__tile.is-active em {
	color: var(--p-gold-2);
}

/* ── Галерея ── */

.p_gallery {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
	padding: 4px 28px 26px;
	max-width: 1200px;
	margin: 0 auto;
}

.p_gcard {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .09);
	background: #0d0b0e;
	transition: border-color .25s ease, transform .25s ease;
}

.p_gcard:hover {
	border-color: var(--p-line);
	transform: translateY(-4px);
}

.p_gcard img,
.p_gcard video {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.p_gcard figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 40px 16px 14px;
	background: linear-gradient(180deg, rgba(8, 7, 9, 0), rgba(8, 7, 9, .94));
	font-size: 15px;
	font-weight: 700;
}

.p_gcard figcaption em {
	display: block;
	margin-top: 2px;
	font-style: normal;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--p-gold);
}

/* ── Шаги ── */

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

.p_step {
	position: relative;
	padding: 28px 26px 26px;
	border: 1px solid var(--p-line-soft);
	border-radius: var(--p-radius);
	background: var(--p-panel);
}

.p_step__num {
	display: inline-block;
	font-family: 'Mastodon', 'Onest', sans-serif;
	font-size: 30px;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(216, 180, 90, .55);
	margin-bottom: 14px;
}

.p_step h3 {
	font-size: 18px;
	font-weight: 700;
}

.p_step p {
	margin-top: 9px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--p-muted);
}

/* ── Финальный блок ── */

.p_cta {
	position: relative;
	margin-top: 56px;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--p-line);
	background: #0d0b0e;
	isolation: isolate;
	box-shadow: var(--p-shadow);
}

.p_cta__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url('/img/promo/logo.jpg') center 32% / cover no-repeat;
}

.p_cta::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(8, 7, 9, .96) 0%, rgba(8, 7, 9, .84) 46%, rgba(8, 7, 9, .45) 100%);
}

.p_cta__body {
	padding: 56px 48px;
	max-width: 620px;
}

.p_cta h2 {
	margin-top: 10px;
	font-family: 'Boombox', 'Onest', sans-serif;
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.12;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.p_cta p {
	margin: 14px 0 26px;
	font-size: 15px;
	line-height: 1.7;
	color: #cfc6ba;
}

/* ── Подвал ── */

.p_footer {
	border-top: 1px solid var(--p-line-soft);
	padding: 38px 0;
	background: #08070a;
}

.p_footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	flex-wrap: wrap;
}

.p_footer__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 1.3;
	color: #d6cec2;
}

.p_footer__brand em {
	display: block;
	font-style: normal;
	font-size: 11px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: #7f776d;
}

.p_footer__links {
	display: flex;
	gap: 22px;
	font-size: 13px;
	color: var(--p-muted);
}

.p_footer__links a:hover {
	color: var(--p-gold-2);
}

.p_footer__copy {
	font-size: 12px;
	color: #6f675e;
}

/* ── Появление при скролле ── */

.p_reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1);
}

.p_reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ── Адаптив ── */

@media (max-width: 1020px) {
	.p_hero {
		min-height: auto;
		padding-top: 118px;
	}

	.p_hero__inner {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.p_hero__fan {
		height: 360px;
		margin: 6px auto 0;
		width: 100%;
		max-width: 520px;
	}

	.p_fan_card {
		width: 180px;
		height: 256px;
	}

	.p_fan_card--l {
		transform: translate(-92px, 22px) rotate(-13deg);
	}

	.p_fan_card--r {
		transform: translate(92px, 22px) rotate(13deg);
	}

	.p_hero__fan:hover .p_fan_card--l {
		transform: translate(-104px, 16px) rotate(-16deg);
	}

	.p_hero__fan:hover .p_fan_card--r {
		transform: translate(104px, 16px) rotate(16deg);
	}

	.p_fan_ring {
		width: 330px;
		height: 330px;
	}

	.p_nav__links {
		display: none;
	}

	.p_gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.p_features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p_modes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p_mode--wide {
		grid-column: span 2;
	}
}

@media (max-width: 760px) {
	.p_wrap {
		padding: 0 18px;
	}

	.p_hero {
		padding: 108px 0 52px;
	}

	.p_hero__lead {
		font-size: 15px;
	}

	.p_hero__actions .p_btn {
		flex: 1 1 auto;
	}

	.p_hero__fan {
		height: 320px;
		max-width: 400px;
	}

	.p_fan_card {
		width: 150px;
		height: 214px;
	}

	.p_fan_card--l {
		transform: translate(-74px, 20px) rotate(-12deg);
	}

	.p_fan_card--r {
		transform: translate(74px, 20px) rotate(12deg);
	}

	.p_fan_ring {
		width: 280px;
		height: 280px;
	}

	.p_strip__inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px 6px;
	}

	.p_stat:nth-child(2n) {
		border-right: none;
	}

	.p_stat b {
		font-size: 30px;
	}

	.p_section {
		padding: 68px 0;
	}

	.p_features,
	.p_modes,
	.p_steps {
		grid-template-columns: 1fr;
	}

	.p_mode--wide {
		grid-column: auto;
	}

	.p_mode {
		min-height: 240px;
	}

	.p_phones {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px;
	}

	.p_gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.p_cta__body {
		padding: 34px 24px;
	}

	.p_footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}
}

@media (max-width: 480px) {
	.p_brand__text {
		font-size: 14px;
	}

	.p_brand__text em {
		font-size: 9px;
		letter-spacing: 2px;
	}

	.p_nav__cta {
		min-height: 38px;
		padding: 0 16px;
		font-size: 13px;
	}

	.p_hero__fan {
		height: 290px;
		max-width: 330px;
	}

	.p_fan_card {
		width: 132px;
		height: 188px;
	}

	.p_fan_card--l {
		transform: translate(-60px, 18px) rotate(-11deg);
	}

	.p_fan_card--r {
		transform: translate(60px, 18px) rotate(11deg);
	}

	.p_hero__fan:hover .p_fan_card--l {
		transform: translate(-66px, 14px) rotate(-13deg);
	}

	.p_hero__fan:hover .p_fan_card--r {
		transform: translate(66px, 14px) rotate(13deg);
	}

	.p_fan_ring {
		width: 240px;
		height: 240px;
	}

	.p_phones {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.p_phone {
		max-width: 270px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.p_reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.p_hero__bg {
		transform: none;
	}
}

/* === Платформы === */
.p_plats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 880px;
	margin: 0 auto;
}

.p_plat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 22px 14px 18px;
	border: 1px solid var(--p-line);
	border-radius: var(--p-radius);
	background: var(--p-panel);
	text-align: center;
	transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.p_plat__ico {
	width: 56px;
	height: 56px;
	display: block;
	border-radius: 13px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, .45);
}

.p_plat__name {
	font-family: 'Mastodon', 'Segoe UI', sans-serif;
	font-size: 15px;
	letter-spacing: .4px;
	color: var(--p-text);
}

.p_plat__state {
	font-size: 10px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .14em;
	padding: 5px 10px;
	border-radius: 100px;
	border: 1px solid var(--p-line-soft);
	color: var(--p-muted);
}

.p_plat__state--on {
	font-weight: bold;
	color: #1a1512;
	background: linear-gradient(180deg, var(--p-gold-2), #c6a04c);
	border-color: transparent;
}

a.p_plat:hover {
	border-color: rgba(216, 180, 90, .5);
	background: rgba(216, 180, 90, .07);
	transform: translateY(-3px);
}

@media (max-width: 760px) {
	.p_plats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.p_plat {
		padding: 18px 12px 15px;
	}
}

@media (max-width: 480px) {
	.p_plats {
		gap: 10px;
	}

	.p_plat__name {
		font-size: 14px;
	}
}

/* === Светлая тема (в стиле самой игры) === */

:root {
	--p-bg: #f5f2ea;
	--p-bg-2: #fbf9f4;
	--p-bg-3: #ffffff;
	--p-text: #1f1b14;
	--p-muted: #6f675c;
	--p-gold: #b08a33;
	--p-gold-2: #8a6b24;
	--p-gold-dark: #6d5316;
	--p-line: rgba(120, 95, 40, .24);
	--p-line-soft: rgba(60, 45, 20, .10);
	--p-panel: rgba(255, 255, 255, .78);
	--p-shadow: 0 18px 44px rgba(60, 45, 20, .14);
}

body::before {
	background:
		radial-gradient(900px 600px at 12% 0%, rgba(176, 138, 51, .12), transparent 65%),
		radial-gradient(800px 700px at 92% 14%, rgba(196, 150, 96, .16), transparent 70%);
}

/* Навигация */

.p_nav.is-scrolled {
	background: rgba(250, 248, 242, .9);
}

.p_nav__links a {
	color: rgba(31, 27, 20, .72);
}

.p_nav__links a:hover {
	color: var(--p-gold-dark);
}

.p_brand__text em {
	color: var(--p-gold-dark);
}

/* Кнопки */

.p_btn--ghost {
	background: rgba(255, 255, 255, .62);
	border-color: rgba(31, 27, 20, .18);
	color: var(--p-text);
}

.p_btn--ghost:hover {
	border-color: var(--p-gold);
	color: var(--p-gold-dark);
}

.p_btn--gold {
	box-shadow: 0 10px 26px rgba(150, 115, 40, .22), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* Первый экран: светлая дымка поверх арта */

.p_hero__glow {
	background:
		radial-gradient(60% 70% at 74% 45%, rgba(255, 186, 116, .3), transparent 68%),
		linear-gradient(90deg, rgba(245, 242, 234, .97) 0%, rgba(245, 242, 234, .93) 38%, rgba(245, 242, 234, .58) 72%, rgba(245, 242, 234, .34) 100%);
}

.p_hero__fade {
	background: linear-gradient(180deg, rgba(245, 242, 234, 0) 0%, var(--p-bg) 88%);
}

.p_badge {
	background: rgba(176, 138, 51, .13);
	color: var(--p-gold-dark);
}

.p_hero__title {
	text-shadow: none;
}

.p_hero__title span {
	background: linear-gradient(100deg, #c69a34 0%, #a9802c 46%, #7d5c15 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.p_hero__lead {
	color: #4d4638;
}

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

.p_fan_card {
	border-color: rgba(160, 122, 46, .45);
	box-shadow: 0 24px 50px rgba(60, 45, 20, .28), inset 0 0 0 1px rgba(0, 0, 0, .7);
}

.p_fan_ring {
	border-color: rgba(160, 122, 46, .22);
	box-shadow: 0 0 120px rgba(196, 158, 82, .18) inset;
}

/* Полоса статистики */

.p_strip {
	background: linear-gradient(180deg, rgba(176, 138, 51, .1), rgba(176, 138, 51, 0));
}

.p_stat b {
	color: var(--p-gold-2);
}

/* Возможности и шаги */

.p_feature:hover {
	background: rgba(176, 138, 51, .1);
}

.p_step__num {
	-webkit-text-stroke-color: rgba(140, 110, 45, .62);
}

/* Карточки режимов и галерея: фото тёмные, текст на них остаётся светлым */

.p_mode {
	color: #fff;
}

.p_mode__tag {
	border-color: rgba(240, 207, 130, .38);
	color: #f0cf82;
}

.p_mode__body h3 {
	color: #fff;
}

.p_gcard {
	border-color: rgba(60, 45, 20, .14);
}

.p_gcard figcaption {
	color: #fff;
}

.p_gcard figcaption em {
	color: #f0cf82;
}

/* Телефоны */

.p_phone__screen {
	box-shadow: 0 18px 40px rgba(50, 40, 20, .24), inset 0 0 0 1px rgba(0, 0, 0, .8);
}

/* Финальный блок остаётся тёмным баннером */

.p_cta {
	color: #f6f1e7;
}

.p_cta p {
	color: #d3cabd;
}

/* Подвал */

.p_footer {
	background: #ece7da;
}

.p_footer__brand {
	color: #453f33;
}

.p_footer__brand em {
	color: #8a8277;
}

.p_footer__links a:hover {
	color: var(--p-gold-dark);
}

.p_footer__copy {
	color: #8a8277;
}

/* Платформы */

.p_plat__ico {
	box-shadow: 0 8px 18px rgba(60, 45, 20, .18);
}

a.p_plat:hover {
	border-color: rgba(176, 138, 51, .5);
	background: rgba(255, 255, 255, .95);
}

/* === Плашка «в разработке» и статусы платформ === */
.p_notice {
	display: block;
	max-width: 520px;
	margin: 16px 0 0;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #4d4638;
	background: rgba(176, 138, 51, .13);
	border: 1px solid rgba(176, 138, 51, .34);
	border-radius: 12px;
}
.p_notice b { color: #6d5316; }

.p_plat__state--dev {
	color: #6d5316;
	background: rgba(176, 138, 51, .14);
	border-color: rgba(176, 138, 51, .4);
}

@media (max-width: 760px) {
	.p_notice { font-size: 13px; padding: 9px 12px; margin-top: 14px; }
	.p_plat__state { font-size: 9px; letter-spacing: .1em; padding: 5px 8px; }
}