.lcs-modal-open {
	overflow: hidden;
}

.lcs-modal-wrap {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 24px;
	pointer-events: none;
	position: fixed;
	transition: opacity 180ms ease;
	z-index: 999999;
}

.lcs-modal-wrap.is-open {
	opacity: 1;
	pointer-events: auto;
}

.lcs-modal-backdrop {
	background:
		radial-gradient(circle at 25% 10%, rgba(113, 63, 255, 0.30), transparent 36%),
		radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.22), transparent 34%),
		rgba(5, 7, 18, 0.82);
	backdrop-filter: blur(14px);
	inset: 0;
	position: absolute;
}

.lcs-modal {
	background:
		linear-gradient(145deg, rgba(20, 24, 45, 0.94), rgba(8, 10, 22, 0.98)),
		radial-gradient(circle at top, rgba(116, 91, 255, 0.20), transparent 44%);
	border: 1px solid rgba(188, 181, 255, 0.22);
	border-radius: 28px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 50px rgba(111, 87, 255, 0.18);
	color: #ffffff;
	max-width: 520px;
	outline: none;
	overflow: hidden;
	padding: 46px 34px 34px;
	position: relative;
	text-align: center;
	transform: translateY(10px) scale(0.98);
	transition: transform 180ms ease;
	width: min(100%, 520px);
}

.lcs-modal-wrap.is-open .lcs-modal {
	transform: translateY(0) scale(1);
}

.lcs-modal::before {
	background: linear-gradient(90deg, rgba(64, 221, 255, 0), rgba(112, 92, 255, 0.75), rgba(255, 255, 255, 0.85), rgba(64, 221, 255, 0));
	content: '';
	height: 1px;
	left: 10%;
	position: absolute;
	top: 0;
	width: 80%;
}

.lcs-x {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.82);
	cursor: pointer;
	display: flex;
	font-size: 24px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	right: 18px;
	top: 18px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 38px;
}

.lcs-x:hover,
.lcs-x:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.28);
	color: #ffffff;
	transform: translateY(-1px);
}

.lcs-orb {
	background:
		radial-gradient(circle at 35% 25%, #ffffff, rgba(255, 255, 255, 0.35) 13%, transparent 24%),
		radial-gradient(circle at center, rgba(124, 92, 255, 0.98), rgba(47, 201, 255, 0.72) 58%, rgba(124, 92, 255, 0) 72%);
	border-radius: 999px;
	box-shadow: 0 0 36px rgba(83, 196, 255, 0.42), 0 0 68px rgba(126, 91, 255, 0.30);
	height: 68px;
	margin: 0 auto 22px;
	width: 68px;
}

.lcs-kicker {
	color: rgba(199, 213, 255, 0.78);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.19em;
	line-height: 1.35;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.lcs-modal h2 {
	color: #ffffff;
	font-size: clamp(34px, 6vw, 54px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 0 0 28px;
	text-wrap: balance;
}

.lcs-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.lcs-btn {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 750;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	min-width: 104px;
	padding: 13px 18px;
	text-decoration: none !important;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.lcs-btn:hover,
.lcs-btn:focus-visible {
	transform: translateY(-1px);
}

.lcs-btn-home {
	background: linear-gradient(135deg, #ffffff, #cfd7ff);
	box-shadow: 0 12px 28px rgba(112, 92, 255, 0.28);
	color: #090b17 !important;
}

.lcs-btn-home:hover,
.lcs-btn-home:focus-visible {
	box-shadow: 0 16px 34px rgba(112, 92, 255, 0.38);
}

.lcs-btn-close {
	background: rgba(255, 255, 255, 0.07);
	color: #ffffff;
}

.lcs-btn-close:hover,
.lcs-btn-close:focus-visible {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.30);
}

@media (max-width: 520px) {
	.lcs-modal-wrap {
		padding: 18px;
	}

	.lcs-modal {
		border-radius: 22px;
		padding: 42px 22px 26px;
	}

	.lcs-actions {
		gap: 10px;
	}

	.lcs-btn {
		min-width: 96px;
	}
}
