.site-footer.shared-site-footer {
	position: relative;
	z-index: 2;
	min-height: 0;
	padding: 58px 0 34px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: #aeb8cf;
	background:
		radial-gradient(circle at top center, rgba(79, 140, 255, .10), transparent 48%),
		#070b16;
	font-family: "GothamPro", "Gotham Pro", "Montserrat", "Segoe UI", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

.site-footer-inner {
	display: grid;
	gap: 26px;
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

.site-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-footer-brand {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #f5f7ff;
	font-size: 18px;
	transition: filter 160ms ease;
}

.site-footer-brand:hover,
.site-footer-brand:focus-visible {
	color: #f5f7ff;
	filter: brightness(1.14);
}

.site-footer-brand img {
	display: block;
	width: 170px;
	height: 44px;
	max-width: 170px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 0 16px rgba(138, 100, 255, .18));
}

.site-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.site-footer-links a {
	color: #aeb8cf;
	transition: color 160ms ease, text-shadow 160ms ease, filter 160ms ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
	color: #ffffff;
	text-shadow: 0 0 16px rgba(138, 100, 255, .42);
	filter: brightness(1.1);
}

.site-footer-legal-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.site-footer-legal-card {
	min-height: 100%;
	padding: 8px 18px 8px 0;
}

.site-footer-legal-card p {
	margin: 0;
	color: rgba(213, 220, 231, .82);
	font-size: 12px;
	line-height: 1.45;
	text-align: justify;
}

.site-footer-bottom {
	--footer-payment-label-color: rgba(213, 220, 231, .72);
	display: grid;
	gap: 22px;
	padding-top: 4px;
	color: var(--footer-payment-label-color);
	text-align: center;
}

.site-footer-bottom__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.site-footer-payments {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	text-align: left;
}

.site-footer-payments__providers,
.site-footer-payments__logos,
.site-footer-payments__cards {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 24px;
}

.site-footer-payments__providers { min-width: 0; gap: 14px 12px; }
.site-footer-payments__caption { font-size: inherit; font-weight: 400; }
.site-footer-payments__logos { gap: 14px 16px; }
.site-footer-payments__cards { margin-left: auto; flex: 0 0 auto; flex-wrap: nowrap; gap: 28px; }
.site-footer-payments__cards img { display: block; object-fit: contain; }

.site-footer-bottom .site-footer-payments__provider {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	color: #fff;
	text-shadow: none;
	filter: none;
	text-decoration: none;
}

.site-footer-payments__provider--robokassa {
	--footer-payment-logo: url('/static/WebsiteAssets/LogosWhite/Robokassa.png');
	--footer-payment-width: 100px;
	--footer-payment-height: 15px;
	/* Optical alignment of the lowercase wordmark with the 13px footer caption. */
	--footer-payment-optical-offset: -2.5px;
}

.site-footer-payments__provider--yoomoney {
	--footer-payment-logo: url('/static/WebsiteAssets/PaymentBrands/yoomoney-white.svg');
	--footer-payment-width: 100px;
	--footer-payment-height: 24px;
}

.site-footer-payments__provider img {
	display: block;
	width: var(--footer-payment-width);
	height: var(--footer-payment-height);
	object-fit: contain;
	transform: translateY(var(--footer-payment-optical-offset, 0px));
	/* Keep intrinsic layout and alt text; the mask supplies the shared caption color. */
	opacity: 0;
}

.site-footer-payments__tint {
	position: absolute;
	width: var(--footer-payment-width);
	height: var(--footer-payment-height);
	transform: translateY(var(--footer-payment-optical-offset, 0px));
	opacity: 1;
	pointer-events: none;
	filter: drop-shadow(0 0 6px transparent);
	transition: filter 220ms ease;
}

.site-footer-payments__tint::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: var(--footer-payment-label-color);
	-webkit-mask: var(--footer-payment-logo) center / contain no-repeat;
	mask: var(--footer-payment-logo) center / contain no-repeat;
	transition: background-color 220ms ease;
}

.site-footer-payments__provider:is(:hover, :focus-visible) .site-footer-payments__tint {
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, .45));
}
.site-footer-payments__provider:is(:hover, :focus-visible) .site-footer-payments__tint::before {
	background: #fff;
}

.site-footer-bottom p,
.site-footer-bottom span {
	margin: 0;
}

.site-footer-bottom a {
	color: #a78bfa;
	text-shadow: 0 0 0 rgba(255, 255, 255, 0);
	transition: color 180ms ease, text-shadow 180ms ease, filter 180ms ease;
}

.site-footer-bottom a:hover,
.site-footer-bottom a:focus-visible {
	color: #ffffff;
	text-shadow: 0 0 12px rgba(255, 255, 255, .5);
	filter: brightness(1.12);
}

.site-footer-heart-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 4px;
	overflow: hidden;
	color: #ff0000;
	background: currentColor;
	font-size: 0;
	line-height: 0;
	white-space: nowrap;
	vertical-align: -4px;
	-webkit-mask: url("/lib/lucide/heart.svg?v=1.42.0") center / contain no-repeat;
	mask: url("/lib/lucide/heart.svg?v=1.42.0") center / contain no-repeat;
}

.shared-site-footer :is(a, button):focus-visible {
	outline: 1px solid #41cfff;
	outline-offset: 3px;
}

@media (max-width: 680px) {
	.site-footer.shared-site-footer {
		padding-top: 48px;
	}

	.site-footer-inner {
		width: min(100% - 24px, 1240px);
	}

	.site-footer-top {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer-legal-grid {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.site-footer-legal-card {
		padding-right: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shared-site-footer *,
	.shared-site-footer *::before,
	.shared-site-footer *::after {
		transition-duration: .01ms !important;
	}
}
