:root {
	--bg: #050816;
	--text: #f4f7ff;
	--muted: #aab7d8;
	--cyan: #35e6ff;
	--violet: #7b4dff;
	--pink: #d656ff;
	--blue: #4d7cff;
	--mint: #67ffd4;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	font-family: "Inter", sans-serif;
	background:
		radial-gradient(circle at 15% 20%, rgba(122, 77, 255, 0.32), transparent 24%),
		radial-gradient(circle at 80% 18%, rgba(53, 230, 255, 0.25), transparent 22%),
		radial-gradient(circle at 70% 40%, rgba(214, 86, 255, 0.22), transparent 26%),
		radial-gradient(circle at 20% 75%, rgba(77, 124, 255, 0.24), transparent 24%),
		radial-gradient(circle at 82% 85%, rgba(103, 255, 212, 0.18), transparent 20%),
		linear-gradient(180deg, #040714 0%, #070b1a 100%);
	color: var(--text);
	overflow-x: hidden;
}

body::before,
body::after {
	content: "";
	position: fixed;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	filter: blur(130px);
	z-index: 0;
	pointer-events: none;
	opacity: 0.95;
}

body::before {
	top: -140px;
	left: -140px;
	background: radial-gradient(circle, rgba(128, 74, 255, 0.62), rgba(52, 229, 255, 0.13) 60%, transparent 72%);
	animation: floatA 16s ease-in-out infinite;
}

body::after {
	right: -150px;
	bottom: -150px;
	background: radial-gradient(circle, rgba(53, 230, 255, 0.48), rgba(214, 86, 255, 0.18) 58%, transparent 72%);
	animation: floatB 18s ease-in-out infinite;
}

.bg-orb {
	position: fixed;
	border-radius: 50%;
	filter: blur(95px);
	z-index: 0;
	pointer-events: none;
	opacity: 0.95;
}

.bg-orb.one {
	width: 390px;
	height: 390px;
	top: 12%;
	left: 46%;
	background: rgba(123, 77, 255, 0.35);
	animation: drift 20s ease-in-out infinite;
}

.bg-orb.two {
	width: 340px;
	height: 340px;
	top: 52%;
	left: 8%;
	background: rgba(53, 230, 255, 0.22);
	animation: drift 24s ease-in-out infinite reverse;
}

.bg-orb.three {
	width: 310px;
	height: 310px;
	top: 26%;
	right: 6%;
	background: rgba(214, 86, 255, 0.24);
	animation: drift 22s ease-in-out infinite;
}

.stars {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.48;
	background-image:
		radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.85), transparent 60%),
		radial-gradient(1.5px 1.5px at 75% 18%, rgba(255,255,255,0.7), transparent 60%),
		radial-gradient(2px 2px at 64% 58%, rgba(255,255,255,0.7), transparent 60%),
		radial-gradient(1.5px 1.5px at 34% 76%, rgba(255,255,255,0.8), transparent 60%),
		radial-gradient(2px 2px at 86% 72%, rgba(255,255,255,0.65), transparent 60%),
		radial-gradient(1.5px 1.5px at 12% 61%, rgba(255,255,255,0.55), transparent 60%);
}

.wrapper {
	position: relative;
	z-index: 2;
	max-width: 1320px;
	margin: 0 auto;
	padding: 54px 20px 44px;
}

.outside-hero {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
	gap: 34px;
	min-height: calc(100vh - 98px);
	padding: 12px 0 20px;
}

.hero-copy {
	text-align: left;
	max-width: 540px;
	position: sticky;
	top: 44px;
	padding-top: 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	font-family: "Space Grotesk", sans-serif;
	font-size: 48px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 32px;
}

.brand-mark {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	position: relative;
	background: linear-gradient(
		135deg,
		rgba(255,255,255,0.96),
		rgba(103,255,212,0.92) 24%,
		rgba(53,230,255,0.78) 50%,
		rgba(123,77,255,0.92) 78%,
		rgba(214,86,255,0.9)
		);
	box-shadow: 0 0 22px rgba(53,230,255,0.18);
	border: 0;
	transform: rotate(-8deg);
	overflow: hidden;
}

.brand-mark::before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 14px;
	background:
		radial-gradient(
		circle at 68% 28%,
		rgba(255,255,255,0.75) 0%,
		rgba(255,255,255,0.22) 18%,
		transparent 36%
		),
		linear-gradient(135deg, rgba(8,12,28,0.55), rgba(8,12,28,0.08));
	box-shadow: none;
}

.brand-mark::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	right: 10px;
	top: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.72);
	filter: blur(1px);
}

.brand span {
	background: linear-gradient(90deg, #ffffff 0%, #c19bff 40%, #61f0ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.outside-hero h1 {
	margin: 0 0 30px;
	max-width: 520px;
	font-size: clamp(42px, 4.15vw, 64px);
	line-height: 1.04;
	font-weight: 800;
	letter-spacing: -0.055em;
	text-wrap: balance;
}

.outside-hero h1 strong {
	font-weight: 800;
	background: linear-gradient(90deg, #ffffff 0%, #b675ff 38%, #55e8ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 34px rgba(116, 97, 255, 0.28);
}

.main-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 18px 32px;
	border-radius: 20px;
	border: 0;
	background: linear-gradient(90deg, rgba(123, 77, 255, 0.94), rgba(53, 230, 255, 0.92));
	color: white;
	font-weight: 800;
	font-size: 18px;
	text-decoration: none;
	box-shadow:
		0 12px 30px rgba(87, 70, 255, 0.28),
		0 0 22px rgba(53, 230, 255, 0.18),
		inset 0 0 0 1px rgba(255,255,255,0.06);
	transition: 0.28s ease;
	align-self: flex-start;
}

.main-btn:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow:
		0 18px 38px rgba(87, 70, 255, 0.33),
		0 0 28px rgba(53, 230, 255, 0.30),
		inset 0 0 0 1px rgba(255,255,255,0.08);
}

.collab-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 11px 16px;
	border-radius: 999px;
	color: rgba(232, 242, 255, 0.86);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.01em;
	background: rgba(53, 230, 255, 0.07);
	border: 1px solid rgba(53, 230, 255, 0.14);
	box-shadow: 0 0 22px rgba(53, 230, 255, 0.10);
	align-self: flex-start;
	white-space: nowrap;
}

.collab-badge span {
	color: #6eeeff;
}

.hero-art {
	position: absolute;
	top: 100%;
	width: 430px;
	height: 430px;
	z-index: 1;
	pointer-events: none;
	opacity: 0.72;
}

.cosmic-dust {
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
	filter: blur(36px);
	opacity: 0.75;
	z-index: 1;
}

.dust-one {
	width: 440px;
	height: 170px;
	right: 26px;
	top: 238px;
	background: linear-gradient(90deg, rgba(123, 77, 255, 0), rgba(123, 77, 255, 0.32), rgba(53, 230, 255, 0.22), rgba(214, 86, 255, 0));
	transform: rotate(-18deg);
	animation: dustMove 9s ease-in-out infinite;
}

.dust-two {
	width: 370px;
	height: 130px;
	right: 86px;
	top: 110px;
	background: linear-gradient(90deg, rgba(53, 230, 255, 0), rgba(53, 230, 255, 0.24), rgba(214, 86, 255, 0.18), rgba(123, 77, 255, 0));
	transform: rotate(22deg);
	animation: dustMoveTwo 11s ease-in-out infinite reverse;
}

.planet-wrap {
	position: absolute;
	inset: 0;
	z-index: 4;
	animation: planetFloat 8s ease-in-out infinite;
	pointer-events: none;
}

.planet-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	filter:
		drop-shadow(0 0 28px rgba(53, 230, 255, 0.34))
		drop-shadow(0 0 62px rgba(123, 77, 255, 0.27))
		drop-shadow(0 0 102px rgba(214, 86, 255, 0.15));
	transform: scale(1.04);
}

.content-side {
	position: relative;
	min-width: 0;
}

.app {
	position: relative;
	overflow: visible;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	padding-top: 0;
	margin-top: 18px;
}

.features-block {
	position: relative;
	z-index: 2;
	margin: 0 0 28px;
}

.features-title {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: #ffffff;
	margin: 10px 0 18px;
	padding-left: 18px;
}

.features {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	padding: 0 0 34px;
}

.feature {
	min-width: 0;
}

.feature:nth-child(3) {
	grid-column: 1 / -1;
}

.feature {
	display: flex;
	align-items: flex-start;
	text-align: left;
	gap: 16px;
	padding: 22px 20px;
	border-radius: 24px;
	background: rgba(12, 18, 38, 0.44);
	border: 1px solid rgba(182, 215, 255, 0.12);
	backdrop-filter: blur(22px);
	-webkit-backdrop-filter: blur(22px);
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.05),
		0 12px 34px rgba(0,0,0,0.14);
}

.feature-icon {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	font-size: 27px;
	color: #ffffff;
	background: linear-gradient(135deg, rgba(123,77,255,0.62), rgba(53,230,255,0.28));
	border: 0;
	box-shadow: 0 0 22px rgba(123,77,255,0.20);
}

.feature h3 {
	margin: 0 0 7px;
	font-size: clamp(22px, 2vw, 26px);
	font-weight: 800;
	text-align: left;
}

.feature p {
	margin: 0;
	color: var(--muted);
	line-height: 1.45;
	font-size: 15px;
	text-align: left;
	max-width: 260px;
}

.partners-block {
	position: relative;
	z-index: 2;
	margin: 0 0 28px;
}

.partners-title {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: #ffffff;
	margin: 10px 0 18px;
	padding-left: 18px;
}

.partners-card {
	border-radius: 30px;
	background: rgba(9, 15, 33, 0.46);
	border: 1px solid rgba(185, 225, 255, 0.14);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	overflow: hidden;
	box-shadow:
		inset 0 1px 0 rgba(255,255,255,0.04),
		0 16px 40px rgba(0,0,0,0.22);
}

.partners-loader {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 8px;
	margin-block: 16px;
}

.partners-loader > p {
	margin: 0;
	color: var(--muted);
}

.partners-head {
	display: grid;
	grid-template-columns: 1.15fr 1fr 0.9fr;
	gap: 12px;
	align-items: center;
	padding: 22px 24px 15px;
	color: #6eeeff;
	font-size: 15px;
	font-weight: 800;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.partners-head div:last-child {
	font-size: 15px;
	color: #6eeeff;
	text-shadow: none;
}

.partner-row {
	display: grid;
	grid-template-columns: 1.15fr 1fr 0.9fr;
	gap: 12px;
	align-items: center;
	margin: 12px 16px;
	padding: 20px 20px;
	border-radius: 24px;
	color: #ecf3ff;
	text-decoration: none;
	background: linear-gradient(90deg, rgba(123,77,255,0.22), rgba(17, 24, 51, 0.64) 42%, rgba(53,230,255,0.18));
	border: 1px solid rgba(173, 212, 255, 0.12);
	transition: 0.28s ease;
	position: relative;
	overflow: hidden;
}

.partner-row::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(123,77,255,0.18), rgba(53,230,255,0.16), rgba(214,86,255,0.14));
	opacity: 0;
	transition: 0.28s ease;
}

.partner-row:hover {
	transform: translateY(-2px);
	border-color: rgba(98, 243, 255, 0.42);
	box-shadow:
		0 0 0 1px rgba(126, 245, 255, 0.10) inset,
		0 0 22px rgba(53, 230, 255, 0.16),
		0 0 36px rgba(123, 77, 255, 0.12);
}

.partner-row:hover::before {
	opacity: 1;
}

.partner-row.featured {
	background: linear-gradient(90deg, rgba(91, 48, 255, 0.34), rgba(18, 29, 64, 0.78) 24%, rgba(20, 43, 84, 0.72) 78%, rgba(25, 201, 255, 0.28));
	box-shadow:
		0 0 0 1px rgba(129, 231, 255, 0.20) inset,
		0 0 22px rgba(53, 230, 255, 0.18),
		0 0 26px rgba(123, 77, 255, 0.14);
}

.name-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	position: relative;
	z-index: 1;
}

.coin {
	width: 44px;
	height: 44px;
	border-radius: 16px;
	position: relative;
	flex: 0 0 44px;
	border: 0;
	box-shadow: 0 0 18px rgba(123, 77, 255, 0.22);
}

.coin.one {
	background: linear-gradient(135deg, #ebdcff, #895cff 34%, #1ce5ff 100%);
}

.coin.two {
	background: linear-gradient(135deg, #eff7ff, #6a59ff 36%, #5ff0ff 100%);
}

.coin.three {
	background: linear-gradient(135deg, #fff0ff, #ff63de 32%, #7b4dff 100%);
}

.coin.four {
	background: linear-gradient(135deg, #f3f8ff, #5cb3ff 32%, #7b4dff 100%);
}

.coin::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.00) 54%);
	opacity: 0.55;
}

.partner-name,
.partner-rate,
.partner-time {
	position: relative;
	z-index: 1;
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: fit-content;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(53, 230, 255, 0.08);
	border: 1px solid rgba(53, 230, 255, 0.14);
	color: #f5f9ff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.1;
	box-shadow: 0 0 16px rgba(53, 230, 255, 0.08);
}

.partner-time {
	min-width: 104px;
	justify-content: center;
	white-space: nowrap;
	padding-left: 16px;
	padding-right: 16px;
	text-align: center;
}

.time-icon {
	display: none;
}

.footer {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 14px 0 0;
	border-top: 0;
	color: var(--muted);
	flex-wrap: wrap;
}

.telegram-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--cyan);
	text-decoration: none;
	font-weight: 800;
	padding: 12px 18px;
	border-radius: 999px;
	background: rgba(53, 230, 255, 0.08);
	border: 1px solid rgba(53, 230, 255, 0.18);
	box-shadow: 0 0 22px rgba(53, 230, 255, 0.12);
	transition: 0.28s ease;
}

.telegram-link:hover {
	transform: translateY(-2px);
	background: rgba(53, 230, 255, 0.14);
	box-shadow: 0 0 30px rgba(53, 230, 255, 0.24);
}

.telegram-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	color: white;
	background: linear-gradient(135deg, rgba(123,77,255,0.7), rgba(53,230,255,0.9));
	box-shadow: 0 0 18px rgba(53, 230, 255, 0.18);
	flex: 0 0 28px;
}

.telegram-icon svg {
	width: 16px;
	height: 16px;
	display: block;
	fill: currentColor;
	transform: translateX(-1px);
}

@keyframes drift {
	0%, 100% { transform: translate3d(0,0,0) scale(1); }
	50% { transform: translate3d(24px,-28px,0) scale(1.04); }
}

@keyframes floatA {
	0%, 100% { transform: translate(0,0); }
	50% { transform: translate(28px, 24px); }
}

@keyframes floatB {
	0%, 100% { transform: translate(0,0); }
	50% { transform: translate(-26px, -18px); }
}

@keyframes planetFloat {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes dustMove {
	0%, 100% { opacity: 0.55; transform: translateX(0) rotate(-18deg); }
	50% { opacity: 0.9; transform: translateX(18px) rotate(-14deg); }
}

@keyframes dustMoveTwo {
	0%, 100% { opacity: 0.55; transform: translateX(0) rotate(22deg); }
	50% { opacity: 0.9; transform: translateX(-18px) rotate(18deg); }
}

@media (min-width: 641px) and (max-width: 1024px) {
	.main-btn,
	.collab-badge {
		width: 280px;
		justify-content: center;
		align-self: center;
	}

	.collab-badge {
		margin-top: 14px;
	}
}

@media (max-width: 1024px) {
	.outside-hero {
		grid-template-columns: 1fr;
		min-height: auto;
		gap: 26px;
		text-align: center;
	}

	.hero-copy {
		max-width: 820px;
		margin: 0 auto;
		text-align: center;
		position: relative;
		top: auto;
		align-items: center;
	}

	.brand {
		justify-content: center;
	}

	.outside-hero h1 {
		margin-left: auto;
		margin-right: auto;
	}

	.content-side {
		width: 100%;
	}

	.hero-art {
		position: relative;
		width: 470px;
		height: 470px;
		top: auto;
		right: auto;
		margin: -24px auto -70px;
		opacity: 1;
	}

	.dust-one {
		right: 50%;
		top: 210px;
		transform: translateX(50%) rotate(-18deg);
	}

	.dust-two {
		right: 50%;
		top: 88px;
		transform: translateX(50%) rotate(22deg);
	}

	.features {
		grid-template-columns: 1fr;
	}

	.feature:nth-child(3) {
		grid-column: auto;
	}

	.partners-head,
	.partner-row {
		grid-template-columns: 1fr;
	}

	.partners-head {
		display: none;
	}

	.partner-row {
		gap: 10px;
	}

	@keyframes planetFloatMobile {
	0%, 100% { transform: translateX(50%) translateY(0) rotate(0deg); }
	50% { transform: translateX(50%) translateY(-16px) rotate(1.5deg); }
	}
}

@media (max-width: 640px) {
	.wrapper {
		padding: 28px 10px 24px;
	}

	.outside-hero {
		padding: 12px 10px 0;
		margin-bottom: 26px;
	}

	.brand {
		position: absolute;
		top: 18px;
		left: 18px;
		z-index: 20;
		margin-bottom: 0;
		justify-content: flex-start;
		gap: 12px;
	}

	.hero-copy {
		padding-top: 96px;
	}

	.brand-mark {
		width: 48px;
		height: 48px;
		border-radius: 16px;
	}

	.outside-hero h1 {
		font-size: 43px;
		line-height: 1.02;
		max-width: 100%;
	}

	.main-btn {
		width: 100%;
		justify-content: center;
		align-self: stretch;
	}

	.collab-badge {
		align-self: center;
	}

	.hero-art {
		display: none;
	}

	.stars {
		display: none;
	}

	.dust-one {
		width: 300px;
		height: 120px;
		top: 172px;
	}

	.dust-two {
		width: 260px;
		height: 90px;
		top: 72px;
	}

	.app {
		margin-top: 0;
	}

	.features,
	.footer {
		padding-left: 0;
		padding-right: 0;
	}

	.partners-block {
		margin-left: 0;
		margin-right: 0;
	}

	.features-title,
	.partners-title {
		font-size: 30px;
		text-align: left;
		padding-left: 14px;
		margin-top: 14px;
	}

	.feature p {
		max-width: none;
	}

	.partner-time {
		font-size: 19px;
	}

	.time-icon {
		display: inline-grid;
		width: 24px;
		height: 24px;
		place-items: center;
		line-height: 1;
		flex: 0 0 24px;
		font-size: 21px;
		filter: drop-shadow(0 0 6px rgba(53, 230, 255, 0.28));
	}

	.partners-card {
		border-radius: 24px;
	}

	.partner-row {
		margin-left: 10px;
		margin-right: 10px;
	}

	.partner-name,
	.partner-rate,
	.partner-time {
		font-size: 18px;
		min-height: 44px;
	}

	.partner-time {
		min-width: 108px;
		gap: 8px;
	}
}

@keyframes spinner-fade {
	0% { opacity: 85% }
	50%, 100% { opacity: 25% }
}

.spinner {
	position: relative;
	width: 35px;
	height: 35px;
}

.spinner > div {
	position: absolute;
	opacity: 25%;
	left: 44.5%;
	top: 37%;
	width: 8.57143%;
	height: 25.71429%;
	border-radius: 50%/16.67%;
	background-color: #f1f5f9;

	&:nth-child(1)  { transform: rotate(30deg)  translate(0, -150%) }
	&:nth-child(2)  { transform: rotate(60deg)  translate(0, -150%) }
	&:nth-child(3)  { transform: rotate(90deg)  translate(0, -150%) }
	&:nth-child(4)  { transform: rotate(120deg) translate(0, -150%) }
	&:nth-child(5)  { transform: rotate(150deg) translate(0, -150%) }
	&:nth-child(6)  { transform: rotate(180deg) translate(0, -150%) }
	&:nth-child(7)  { transform: rotate(210deg) translate(0, -150%) }
	&:nth-child(8)  { transform: rotate(240deg) translate(0, -150%) }
	&:nth-child(9)  { transform: rotate(270deg) translate(0, -150%) }
	&:nth-child(10) { transform: rotate(300deg) translate(0, -150%) }
	&:nth-child(11) { transform: rotate(330deg) translate(0, -150%) }
	&:nth-child(12) { transform: rotate(360deg) translate(0, -150%) }
}

.spinner.running > div {
	animation: spinner-fade 1s linear infinite;
	&:nth-child(1)  { animation-delay: -1.66667s }
	&:nth-child(2)  { animation-delay: -1.58333s }
	&:nth-child(3)  { animation-delay: -1.5s }
	&:nth-child(4)  { animation-delay: -1.41667s }
	&:nth-child(5)  { animation-delay: -1.33333s }
	&:nth-child(6)  { animation-delay: -1.25s }
	&:nth-child(7)  { animation-delay: -1.16667s }
	&:nth-child(8)  { animation-delay: -1.08333s }
	&:nth-child(9)  { animation-delay: -1s }
	&:nth-child(10) { animation-delay: -0.91667s }
	&:nth-child(11) { animation-delay: -0.83333s }
	&:nth-child(12) { animation-delay: -0.75s }
}
