.mascot-showcase {
	overflow: hidden;
	background: radial-gradient(circle at 82% 22%, rgba(184, 231, 206, .1), transparent 28%), #0b0e0d;
}

.mascot-showcase-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
}

.mascot-showcase-heading p {
	max-width: 680px;
	margin: 0;
	color: var(--muted);
	font-size: 18px;
}

.mascot-story {
	position: relative;
	min-height: 680px;
	overflow: hidden;
	border: 1px solid rgba(244, 240, 231, .15);
	border-radius: 40px;
	background: radial-gradient(circle at 70% 44%, rgba(210, 168, 92, .2), transparent 18%), radial-gradient(circle at 82% 34%, rgba(184, 231, 206, .18), transparent 30%), linear-gradient(135deg, #101513, #17120d);
}

.mascot-story::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to right, rgba(0, 0, 0, .8), transparent 88%);
}

.mascot-story-wordmark {
	position: absolute;
	z-index: 1;
	right: 22px;
	bottom: -.08em;
	left: 22px;
	color: rgba(244, 240, 231, .12);
	font-size: clamp(52px, 8.4vw, 122px);
	font-weight: 950;
	line-height: .82;
	letter-spacing: -.065em;
	white-space: nowrap;
	transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}

.mascot-story-character {
	position: absolute;
	z-index: 2;
	bottom: -2%;
	left: 76%;
	width: min(39%, 470px);
	aspect-ratio: 2 / 3;
	transform: translateX(-50%);
	transition: left 1.05s cubic-bezier(.2, .82, .2, 1), opacity .55s ease, transform .8s ease;
}

.mascot-story-glow {
	position: absolute;
	inset: 18% 2% 3%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(210, 168, 92, .26), rgba(184, 231, 206, .1) 48%, transparent 72%);
	filter: blur(16px);
}

.mascot-pose {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
	border: 0;
	border-radius: 0;
	filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .48));
	transition: opacity .38s ease, transform .65s cubic-bezier(.2, .82, .2, 1);
}

.mascot-pose-neutral { opacity: 0; }
.mascot-pose-pointing { opacity: 1; }
.mascot-pose-pointing-down { opacity: 0; }

.mascot-story-cards {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: clamp(24px, 5vw, 72px);
	display: grid;
	width: min(51%, 610px);
	gap: 13px;
	transform: translateY(-53%);
}

.mascot-story-card {
	display: grid;
	gap: 5px;
	padding: 18px 22px;
	border: 1px solid rgba(16, 36, 29, .1);
	border-radius: 20px;
	background: rgba(244, 240, 231, .96);
	color: #10241d;
	box-shadow: 0 22px 54px rgba(0, 0, 0, .25);
	transition: opacity .5s ease, transform .65s cubic-bezier(.2, .82, .2, 1), background-color .3s ease, border-color .3s ease, box-shadow .35s ease;
}

.mascot-story-card:hover,
.mascot-story-card:focus-visible { background: #fff; }
.mascot-story-card span { color: #517466; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.mascot-story-card strong { font-size: clamp(18px, 2vw, 27px); line-height: 1.08; }
.mascot-story-card small { color: #486158; font-size: 13px; line-height: 1.35; }
.mascot-story-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.mascot-story-actions .button.secondary { background: rgba(14, 17, 16, .72); }
.mascot-story-caption { max-width: 900px; margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.mascot-showcase.is-ready .mascot-story-character {
	left: 50%;
	opacity: 0;
	transform: translateX(-50%) translateY(8%);
}

.mascot-showcase.is-ready .mascot-pose-neutral { opacity: 1; }
.mascot-showcase.is-ready .mascot-pose-pointing,
.mascot-showcase.is-ready .mascot-pose-pointing-down { opacity: 0; transform: scale(.96); }
.mascot-showcase.is-ready .mascot-story-card,
.mascot-showcase.is-ready .mascot-story-actions { opacity: 0; transform: translateX(-32px); pointer-events: none; }
.mascot-showcase.is-active .mascot-story-character { opacity: 1; transform: translateX(-50%) translateY(0); }
.mascot-showcase.is-presenting .mascot-story-character { left: 76%; }
.mascot-showcase.is-presenting .mascot-pose-neutral { opacity: 0; transform: scale(.96); }
.mascot-showcase.is-amurskaya .mascot-pose-pointing { opacity: 1; transform: scale(1); }
.mascot-showcase.is-volgogradskiy .mascot-pose-pointing-down { opacity: 1; transform: scale(1); }
.mascot-showcase.is-complete .mascot-pose-neutral { opacity: 1; transform: scale(1); }
.mascot-showcase.is-complete .mascot-pose-pointing,
.mascot-showcase.is-complete .mascot-pose-pointing-down { opacity: 0; transform: scale(.96); }
.mascot-showcase.is-presenting .mascot-story-wordmark { opacity: .45; transform: translateY(4px); }
.mascot-showcase.is-presenting .mascot-story-card,
.mascot-showcase.is-presenting .mascot-story-actions { opacity: 1; transform: translateX(0); pointer-events: auto; }
.mascot-showcase.is-presenting .mascot-story-card:nth-child(1) { transition-delay: .22s; }
.mascot-showcase.is-presenting .mascot-story-card:nth-child(2) { transition-delay: .55s; }
.mascot-showcase.is-presenting .mascot-story-actions { transition: opacity .5s ease .88s, transform .65s cubic-bezier(.2, .82, .2, 1) .88s; }
.mascot-showcase.is-amurskaya [data-mascot-branch="amurskaya"],
.mascot-showcase.is-volgogradskiy [data-mascot-branch="volgogradskiy"] {
	border-color: rgba(184, 231, 206, .95);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(184, 231, 206, .16), 0 0 32px rgba(122, 255, 187, .3), 0 24px 60px rgba(0, 0, 0, .3);
	transform: translateX(10px) scale(1.025);
}
.mascot-showcase.is-complete .mascot-story-character { animation: mascot-presenter-breathe 4.8s ease-in-out infinite; }

@keyframes mascot-presenter-breathe {
	0%, 100% { transform: translateX(-50%) translateY(0) rotate(0); }
	50% { transform: translateX(-50%) translateY(-7px) rotate(.4deg); }
}

@media (max-width: 900px) {
	.mascot-showcase-heading { align-items: start; }
	.mascot-story { min-height: 850px; }
	.mascot-story-character { top: 18px; bottom: auto; left: 69%; width: 300px; height: 410px; }
	.mascot-story-cards { top: 390px; right: 22px; left: 22px; width: auto; transform: none; }
	.mascot-story-wordmark { top: 270px; bottom: auto; font-size: clamp(44px, 10vw, 80px); white-space: normal; }
	.mascot-showcase.is-presenting .mascot-story-character { left: 69%; }
}

@media (max-width: 560px) {
	.mascot-showcase-heading { display: grid; }
	.mascot-showcase-heading h2 { font-size: 40px; }
	.mascot-showcase-heading p { font-size: 16px; }
	.mascot-story { min-height: 710px; border-radius: 28px; }
	.mascot-story-character { top: 46px; left: 77%; width: 190px; height: 292px; }
	.mascot-showcase.is-presenting .mascot-story-character { left: 77%; }
	.mascot-showcase.is-ready:not(.is-presenting) .mascot-story-character { left: 50%; }
	.mascot-story-wordmark { display: none; }
	.mascot-story-cards { inset: 0; width: auto; height: 100%; transform: none; display: block; }
	.mascot-story-card {
		position: absolute;
		left: 14px;
		width: 48%;
		padding: 8px 8px 8px 11px;
		border: 0;
		border-left: 2px solid rgba(184, 231, 206, .34);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
	}
	.mascot-story-card:hover,
	.mascot-story-card:focus-visible { background: rgba(14, 17, 16, .18); }
	.mascot-story-card:nth-child(1) { top: 82px; }
	.mascot-story-card:nth-child(2) { top: 218px; }
	.mascot-story-card span { color: #b8e7ce; font-size: 8px; letter-spacing: .1em; }
	.mascot-story-card strong { color: #fff; font-size: 15px; line-height: 1.12; }
	.mascot-story-card small { display: none; }
	.mascot-story-actions { position: absolute; top: 510px; right: 14px; left: 14px; display: grid; grid-template-columns: 1fr; }
	.mascot-story-actions .button { width: 100%; }
	.mascot-showcase.is-amurskaya [data-mascot-branch="volgogradskiy"],
	.mascot-showcase.is-volgogradskiy [data-mascot-branch="amurskaya"] { opacity: .36; transform: scale(.97); }
	.mascot-showcase.is-amurskaya [data-mascot-branch="amurskaya"],
	.mascot-showcase.is-volgogradskiy [data-mascot-branch="volgogradskiy"] {
		border-color: #b8e7ce;
		background: linear-gradient(90deg, rgba(14, 17, 16, .48), transparent);
		box-shadow: none;
		transform: translateX(2px) scale(1.01);
	}
	.mascot-showcase.is-amurskaya [data-mascot-branch="amurskaya"]::after,
	.mascot-showcase.is-volgogradskiy [data-mascot-branch="volgogradskiy"]::after {
		content: "Мишка выбирает";
		justify-self: start;
		border-radius: 999px;
		padding: 4px 8px;
		background: #10241d;
		color: #b8e7ce;
		font-size: 9px;
		font-weight: 900;
		letter-spacing: .08em;
		text-transform: uppercase;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mascot-story-character,
	.mascot-pose,
	.mascot-story-wordmark,
	.mascot-story-card,
	.mascot-story-actions { transition: none !important; animation: none !important; }
}
