@font-face {
	font-family: "GothamPro";
	src: local("GothamPro"), local("Gotham Pro");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "GothamPro";
	src: local("GothamPro-Medium"), local("Gotham Pro Medium");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

:root {
	--site-header-bar-height: 72px;
	--site-header-height: calc(var(--site-header-bar-height) + var(--site-notices-height, 0px));
	--site-header-line: rgba(143, 159, 217, .16);
	--site-header-text: #f5f7ff;
	--site-header-muted: #aeb8cf;
	--site-header-muted-dark: #76829e;
	--site-header-violet: #8465ff;
	--site-header-cyan: #41cfff;
}

body {
	padding-top: var(--site-header-height);
}

.site-header.shared-site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--site-header-text);
	font-family: "GothamPro", "Gotham Pro", "Montserrat", "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.shared-site-header::before {
	position: absolute;
	inset: 0 0 auto;
	height: var(--site-header-bar-height);
	z-index: 0;
	background: rgba(7, 9, 20, .34);
	backdrop-filter: blur(18px) saturate(125%);
	-webkit-backdrop-filter: blur(18px) saturate(125%);
	content: "";
	pointer-events: none;
	transition: background-color 180ms ease;
}

.site-header.shared-site-header::after {
	position: absolute;
	top: calc(var(--site-header-bar-height) - 1px);
	left: 0;
	right: 0;
	z-index: 1;
	height: 1px;
	background: var(--site-header-line);
	content: "";
	pointer-events: none;
	transition: background-color 180ms ease;
}

.site-header.shared-site-header.is-scrolled {
	background: transparent;
	box-shadow: 0 14px 42px rgba(0, 0, 0, .24);
}

.site-header.shared-site-header.is-scrolled::before {
	background: rgba(7, 9, 20, .58);
}

.site-header.shared-site-header.is-scrolled::after {
	background: rgba(132, 101, 255, .18);
}

.site-header-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: min(1400px, calc(100% - 40px));
	height: var(--site-header-bar-height);
	margin: 0 auto;
}

.site-brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 202px;
	color: var(--site-header-text);
	font-size: 18px;
	font-weight: 400;
}

.site-brand:hover,
.site-brand:focus-visible {
	color: var(--site-header-text);
}

.site-brand-logo {
	display: block;
	width: 202px;
	height: 34px;
	max-width: 202px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 0 15px rgba(103, 120, 255, .16));
	transition: filter 180ms ease;
	user-select: none;
}

.site-brand:hover .site-brand-logo,
.site-brand:focus-visible .site-brand-logo {
	filter: brightness(1.12) drop-shadow(0 0 18px rgba(103, 120, 255, .28));
}

.site-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-width: 0;
}

.site-navigation-link {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--site-header-bar-height);
	padding: 0 10px;
	color: var(--site-header-muted);
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
	transition: color 180ms ease, text-shadow 180ms ease;
}

.site-navigation-link::after {
	position: absolute;
	right: 10px;
	bottom: 0;
	left: 10px;
	height: 2px;
	background: #8c6cff;
	box-shadow: 0 0 12px rgba(140, 108, 255, .62);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 220ms cubic-bezier(.22, 1, .36, 1), box-shadow 180ms ease;
}

.site-navigation-link:hover,
.site-navigation-link:focus-visible,
.site-navigation-link.is-active {
	color: var(--site-header-text);
	text-shadow: 0 0 14px rgba(164, 140, 255, .32);
}

.site-navigation-link:hover::after,
.site-navigation-link:focus-visible::after,
.site-navigation-link.is-active::after {
	transform: scaleX(1);
}

.site-navigation-link--mobile {
	display: none;
}

.site-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	gap: 10px;
}

.site-header-socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 48px;
	padding: 0 5px;
}

.site-header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: rgba(221, 226, 241, .7);
	background: transparent;
	box-shadow: none;
	filter: drop-shadow(0 0 0 rgba(65, 207, 255, 0));
	transition: color 200ms ease, filter 200ms ease;
}

.site-header-social-link svg {
	display: block;
	width: 21px;
	height: 21px;
	flex: 0 0 auto;
	fill: currentColor;
}

.site-header-social-link--discord {
	width: 26px;
}

.site-header-social-link--discord svg {
	width: 26px;
	height: 26px;
}

.site-header-social-link--vk {
	width: 35px;
}

.site-header-social-link--vk svg {
	width: 35px;
	height: 35px;
}

.site-header-social-link--youtube svg {
	width: 23px;
	height: 23px;
	fill: currentColor;
	stroke: none;
}

.site-header-social-link:hover,
.site-header-social-link:focus-visible {
	border-color: transparent;
	color: var(--site-header-cyan);
	background: transparent;
	box-shadow: none;
	filter: brightness(1.1) drop-shadow(0 0 5px rgba(65, 207, 255, .46));
}

.site-key-activation-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 13px;
	border: 1px solid transparent;
	border-radius: 0;
	color: rgba(221, 226, 241, .76);
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .075em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease,
		color 160ms ease,
		filter 160ms ease;
}

.site-key-activation-trigger svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.site-key-activation-trigger:hover,
.site-key-activation-trigger:focus-visible,
.site-key-activation-trigger.is-active {
	border-color: rgba(65, 207, 255, .82);
	box-shadow: 0 0 14px rgba(65, 207, 255, .1), inset 0 0 16px rgba(65, 207, 255, .025);
	color: var(--site-header-cyan);
	filter: brightness(1.08);
	outline: none;
}

.site-header-auth-links {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 100%;
}

.site-header-auth-separator {
	width: 1px;
	height: 20px;
	flex: 0 0 1px;
	background: rgba(151, 164, 218, .4);
	box-shadow: 0 0 8px rgba(151, 164, 218, .14);
}

.site-header-auth-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 0;
	color: rgba(221, 226, 241, .76);
	background: transparent;
	box-shadow: none;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .075em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, filter 160ms ease;
}

.site-header-auth-link::after {
	position: absolute;
	right: 0;
	bottom: -12px;
	left: 0;
	height: 2px;
	background: #8c6cff;
	box-shadow: 0 0 12px rgba(140, 108, 255, .62);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
}

.site-header-auth-link svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.site-header-auth-link:hover,
.site-header-auth-link:focus-visible {
	border-color: rgba(65, 207, 255, .82);
	color: var(--site-header-cyan);
	background: transparent;
	box-shadow: 0 0 14px rgba(65, 207, 255, .1), inset 0 0 16px rgba(65, 207, 255, .025);
	filter: brightness(1.08);
	outline: none;
}

.site-header-auth-link.is-active {
	color: var(--site-header-cyan);
}

.site-header-auth-link.is-active::after {
	transform: scaleX(1);
}

.is-auth-navigation-transition .site-header-auth-link.is-active::after {
	animation: site-header-auth-line-enter 200ms cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes site-header-auth-line-enter {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

.site-mobile-menu {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 0;
	border: 1px solid var(--site-header-line);
	border-radius: 4px;
	color: var(--site-header-text);
	background: rgba(16, 21, 36, .5);
	box-shadow: none;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.site-mobile-menu:hover,
.site-mobile-menu:focus-visible {
	border-color: rgba(132, 101, 255, .42);
	box-shadow: 0 0 18px rgba(132, 101, 255, .13);
	filter: brightness(1.12);
}

.site-mobile-menu svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.6;
}

.shared-site-header :is(a, button):focus-visible {
	outline: 1px solid var(--site-header-cyan);
	outline-offset: 3px;
}

@media (max-width: 1120px) {
	.site-brand {
		min-width: 164px;
	}

	.site-brand-logo {
		width: 164px;
		max-width: 164px;
	}

	.site-navigation {
		gap: 18px;
	}

	.site-navigation-link {
		font-size: 13px;
	}
}

@media (max-width: 980px) {
	:root {
		--site-header-bar-height: 64px;
	}

	.site-header-inner {
		width: calc(100% - 24px);
	}

	.site-navigation {
		position: fixed;
		top: var(--site-header-height);
		right: 16px;
		left: 16px;
		display: none;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding: 8px;
		border: 1px solid var(--site-header-line);
		border-radius: 5px;
		background: rgba(9, 12, 25, .96);
		box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
		backdrop-filter: blur(18px) saturate(125%);
		-webkit-backdrop-filter: blur(18px) saturate(125%);
	}

	.site-navigation.is-open {
		display: flex;
	}

	.site-navigation-link,
	.site-navigation-link--mobile {
		display: flex;
		min-height: 48px;
		padding: 14px;
	}

	.site-navigation-link::after {
		display: none;
	}

	.site-header-auth-link::after {
		bottom: -8px;
	}

	.site-mobile-menu {
		display: flex;
	}
}

@media (max-width: 680px) {
	.site-header-inner {
		width: calc(100% - 20px);
		padding: 0 8px 0 12px;
	}

	.site-brand {
		min-width: 0;
	}

	.site-brand-logo {
		width: 148px;
		height: 30px;
		max-width: 148px;
	}

	.site-header-actions {
		gap: 8px;
	}

	.site-header-socials {
		gap: 8px;
		padding: 0 2px;
	}

	.site-header-social-link {
		width: 19px;
	}

	.site-header-social-link svg {
		width: 19px;
		height: 19px;
	}

	.site-header-social-link--discord svg {
		width: 26px;
		height: 26px;
	}

	.site-header-social-link--discord {
		width: 26px;
	}

	.site-key-activation-trigger {
		padding: 0 10px;
		font-size: 10px;
	}
	.site-header-auth-links {
		gap: 5px;
	}

	.site-header-auth-link {
		padding-inline: 9px;
		font-size: 10px;
	}
}

@media (max-width: 520px) {
	.site-key-activation-trigger {
		width: 44px;
		padding: 0;
	}

	.site-key-activation-trigger span {
		display: none;
	}

	.site-header-auth-link {
		width: 44px;
		padding: 0;
	}

	.site-header-auth-link span {
		display: none;
	}

	.site-header-auth-link::after {
		right: 0;
		bottom: -8px;
		left: 0;
	}
}

@media (max-width: 430px) {
	.site-brand-logo {
		width: 132px;
		max-width: 132px;
	}
	.site-mobile-menu {
		width: 38px;
		height: 38px;
		min-height: 38px;
	}
}
