:root {
	--lk-offer-bg: #090722;
	--lk-offer-surface: #15103f;
	--lk-offer-text: #f8f7ff;
	--lk-offer-muted: #aaa6c5;
	--lk-offer-line: rgba(255,255,255,.14);
	--lk-offer-purple: #8b5cf6;
	--lk-offer-cyan: #29d9ff;
}

body.lk-offer-popup-open {
	overflow: hidden;
}

.lk-offer-popup,
.lk-offer-popup * {
	box-sizing: border-box;
}

.lk-offer-popup {
	position: fixed;
	inset: 0;
	z-index: 100005;
	display: grid;
	place-items: center;
	padding: 24px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}

.lk-offer-popup[hidden] {
	display: none;
}

.lk-offer-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.lk-offer-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2,1,14,.86);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.lk-offer-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(660px, 100%);
	max-height: min(900px, calc(100vh - 48px));
	overflow: auto;
	border: 1px solid rgba(139,92,246,.42);
	border-radius: 26px;
	background:
		radial-gradient(circle at 100% 0, rgba(139,92,246,.22), transparent 22rem),
		var(--lk-offer-bg);
	box-shadow: 0 40px 120px rgba(0,0,0,.62), 0 0 60px rgba(139,92,246,.12);
	color: var(--lk-offer-text);
	transform: translateY(22px) scale(.975);
	transition: transform .3s cubic-bezier(.2,.75,.25,1);
}

.lk-offer-popup.is-open .lk-offer-popup__dialog {
	transform: translateY(0) scale(1);
}

.lk-offer-popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	display: grid !important;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 44px !important;
	padding: 0 !important;
	border: 1px solid rgba(255,255,255,.22) !important;
	border-radius: 50% !important;
	background: rgba(9,7,34,.72) !important;
	box-shadow: none !important;
	color: white !important;
	font-size: 17px;
	cursor: pointer;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.lk-offer-popup__close:hover,
.lk-offer-popup__close:focus-visible {
	border-color: var(--lk-offer-cyan) !important;
	background: rgba(41,217,255,.14) !important;
	color: var(--lk-offer-cyan) !important;
	transform: none !important;
}

.lk-offer-popup__media {
	position: relative;
	height: 244px;
	overflow: hidden;
	border-radius: 25px 25px 0 0;
	background: #0d0a2c;
}

.lk-offer-popup__media::after {
	content: "";
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(to bottom, transparent, var(--lk-offer-bg));
	pointer-events: none;
}

.lk-offer-popup__hero {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
}

.lk-offer-popup__brand,
.lk-offer-popup__badge {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(255,255,255,.16);
	background: rgba(9,7,34,.68);
	color: white;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.lk-offer-popup__brand {
	left: 20px;
	top: 20px;
	padding: 9px 13px;
	border-radius: 999px;
}

.lk-offer-popup__brand img {
	width: 102px;
	height: auto;
	object-fit: contain;
}

.lk-offer-popup__badge {
	right: 20px;
	bottom: 24px;
	padding: 9px 12px;
	border-color: rgba(41,217,255,.4);
	border-radius: 999px;
	color: var(--lk-offer-cyan);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .12em;
}

.lk-offer-popup__content {
	padding: 2px clamp(28px, 6vw, 54px) 24px;
	text-align: center;
}

.lk-offer-popup__eyebrow,
.lk-offer-popup__success-kicker {
	margin-bottom: 12px;
	color: var(--lk-offer-cyan);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .16em;
}

.lk-offer-popup h2,
.lk-offer-popup h3 {
	margin: 0;
	color: var(--lk-offer-text) !important;
	letter-spacing: -.035em;
}

.lk-offer-popup h2 {
	font-size: clamp(34px, 5vw, 50px);
	line-height: 1.02;
}

.lk-offer-popup h3 {
	font-size: 27px;
	line-height: 1.12;
}

.lk-offer-popup__content > p {
	max-width: 530px;
	margin: 16px auto 22px;
	color: #c7c3d9 !important;
	font-size: 16px;
	line-height: 1.6;
}

.lk-offer-popup__form-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
}

.lk-offer-popup__form-row input {
	width: 100%;
	min-width: 0;
	height: 54px;
	padding: 0 17px !important;
	border: 1px solid rgba(255,255,255,.18) !important;
	border-radius: 999px !important;
	outline: none;
	background: rgba(255,255,255,.07) !important;
	color: white !important;
	font-size: 15px;
}

.lk-offer-popup__form-row input::placeholder {
	color: #918baa !important;
	opacity: 1;
}

.lk-offer-popup__form-row input:focus {
	border-color: var(--lk-offer-cyan) !important;
	box-shadow: 0 0 0 3px rgba(41,217,255,.12);
}

.lk-offer-popup__form-row button,
.lk-offer-popup__code-row button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--lk-offer-purple), #6540e8) !important;
	box-shadow: 0 12px 30px rgba(111,69,232,.28) !important;
	color: white !important;
	font-size: 14px;
	font-weight: 850;
	white-space: nowrap;
	cursor: pointer;
}

.lk-offer-popup__form-row button:hover,
.lk-offer-popup__code-row button:hover {
	background: linear-gradient(135deg, #9c76ff, #7552f0) !important;
	transform: translateY(-1px);
}

.lk-offer-popup__form-row button[disabled] {
	opacity: .68;
	cursor: wait;
	transform: none;
}

.lk-offer-popup__consent {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 9px;
	margin-top: 13px;
	color: var(--lk-offer-muted) !important;
	font-size: 12px;
	line-height: 1.45;
	cursor: pointer;
}

.lk-offer-popup__consent input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.lk-offer-popup__check {
	display: grid;
	place-items: center;
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	margin-top: 1px;
	border: 1px solid rgba(255,255,255,.3);
	border-radius: 4px;
	background: var(--lk-offer-surface);
	color: white;
	font-size: 9px;
	transition: border-color .2s ease, background-color .2s ease;
}

.lk-offer-popup__check i {
	opacity: 0;
}

.lk-offer-popup__consent input:checked + .lk-offer-popup__check {
	border-color: var(--lk-offer-purple);
	background: var(--lk-offer-purple);
}

.lk-offer-popup__consent input:checked + .lk-offer-popup__check i {
	opacity: 1;
}

.lk-offer-popup__consent input:focus-visible + .lk-offer-popup__check {
	outline: 2px solid var(--lk-offer-cyan);
	outline-offset: 3px;
}

.lk-offer-popup__message {
	min-height: 18px;
	margin-top: 10px;
	color: #ff9eaa;
	font-size: 13px;
	font-weight: 700;
}

.lk-offer-popup__message.is-success {
	color: #baff63;
}

.lk-offer-popup__success {
	margin-top: 4px;
}

.lk-offer-popup__code-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 18px auto;
}

.lk-offer-popup__code-row code {
	min-width: 210px;
	padding: 15px 18px;
	border: 1px dashed rgba(41,217,255,.48);
	border-radius: 14px;
	background: rgba(41,217,255,.07);
	color: var(--lk-offer-cyan);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 18px;
	font-weight: 850;
	letter-spacing: .08em;
}

.lk-offer-popup__code-row button {
	min-height: 50px !important;
	padding-inline: 18px !important;
}

.lk-offer-popup__shop-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: white !important;
	font-size: 14px;
	font-weight: 800;
}

.lk-offer-popup__shop-link:hover {
	color: var(--lk-offer-cyan) !important;
}

.lk-offer-popup__trust {
	display: flex;
	justify-content: center;
	gap: 0;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--lk-offer-line);
	color: #8f89aa;
	font-size: 11px;
	font-weight: 750;
}

.lk-offer-popup__trust span + span::before {
	content: "•";
	margin: 0 10px;
	color: var(--lk-offer-purple);
}

@media (max-width: 640px) {
	.lk-offer-popup {
		align-items: end;
		padding: 12px;
	}

	.lk-offer-popup__dialog {
		max-height: calc(100vh - 24px);
		border-radius: 22px;
	}

	.lk-offer-popup__media {
		height: 210px;
		border-radius: 21px 21px 0 0;
	}

	.lk-offer-popup__brand {
		left: 14px;
		top: 14px;
	}

	.lk-offer-popup__badge {
		right: 14px;
		bottom: 15px;
	}

	.lk-offer-popup__close {
		top: 12px;
		right: 12px;
	}

	.lk-offer-popup__content {
		padding: 2px 22px 24px;
	}

	.lk-offer-popup h2 {
		font-size: 34px;
	}

	.lk-offer-popup__content > p {
		margin: 13px auto 18px;
		font-size: 14px;
	}

	.lk-offer-popup__form-row {
		grid-template-columns: 1fr;
	}

	.lk-offer-popup__form-row button {
		width: 100%;
	}

	.lk-offer-popup__consent {
		justify-content: flex-start;
		text-align: left;
	}

	.lk-offer-popup__trust {
		flex-wrap: wrap;
		row-gap: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lk-offer-popup,
	.lk-offer-popup__dialog {
		transition: none;
	}
}
