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

.dgcp-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 18px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dgcp-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 18, 50, 0.58);
	backdrop-filter: blur(7px);
}

.dgcp-card {
	position: relative;
	display: grid;
	width: min(94vw, 430px);
	aspect-ratio: 1 / 1;
	max-height: calc(100vh - 32px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	background:
		linear-gradient(155deg, #154cff 0%, #082566 48%, #04163d 100%);
	box-shadow: 0 24px 60px rgba(7, 30, 82, 0.38);
	color: #ffffff;
	overflow: auto;
}

.dgcp-card svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.dgcp-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	cursor: pointer;
}

.dgcp-close svg {
	width: 18px;
	height: 18px;
}

.dgcp-badge {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 2;
	min-height: 36px;
	min-width: 150px;
	padding: 9px 14px 8px;
	border-radius: 0 0 9px 9px;
	background: #ff5a0a;
	color: #ffffff;
	font-size: 12px;
	font-weight: 950;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	transform: translateX(-50%);
}

.dgcp-card-inner {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 5px;
	min-height: 100%;
	padding: 38px 20px 12px;
	text-align: center;
}

.dgcp-offer-prefix {
	margin-top: 2px;
	font-size: clamp(16px, 4.4vw, 21px);
	font-weight: 950;
	line-height: 1;
}

.dgcp-offer-primary {
	color: #ff5a0a;
	font-size: clamp(40px, 11vw, 54px);
	font-weight: 950;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
}

.dgcp-offer-secondary {
	font-size: clamp(16px, 4.4vw, 21px);
	font-weight: 950;
	line-height: 1.05;
}

.dgcp-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 2px;
	color: #ffffff;
	font-size: clamp(20px, 5.4vw, 27px);
	font-weight: 950;
	line-height: 1;
}

.dgcp-brand-logo {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: #ffffff;
	color: #1264e8;
	overflow: hidden;
}

.dgcp-brand-logo svg {
	width: 25px;
	height: 25px;
}

.dgcp-brand-logo__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.dgcp-brand-logo--image {
	padding: 5px;
}

.dgcp-benefits {
	display: grid;
	gap: 4px;
	width: 100%;
	margin: 3px 0 1px;
	padding: 8px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	list-style: none;
	text-align: left;
}

.dgcp-benefits li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.18;
}

.dgcp-benefits svg {
	color: #99ccff;
	font-size: 15px;
}

.dgcp-code {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 36px;
	border: 1px dashed rgba(255, 255, 255, 0.55);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	padding: 7px 14px;
	cursor: pointer;
}

.dgcp-code span {
	color: #d7e2ff;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.dgcp-code strong {
	font-size: 16px;
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
}

.dgcp-deal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 42px;
	border-radius: 9px;
	background: #ff5a0a;
	color: #ffffff;
	font-size: 14px;
	font-weight: 950;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 16px 28px rgba(255, 90, 10, 0.22);
}

.dgcp-deal-button:hover,
.dgcp-deal-button:focus {
	color: #ffffff;
	background: #ff681c;
}

.dgcp-deal-button svg {
	width: 18px;
	height: 18px;
}

.dgcp-money-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 850;
	line-height: 1.25;
}

.dgcp-money-back svg {
	color: #64d987;
	width: 15px;
	height: 15px;
}

@media (max-width: 420px) {
	.dgcp-popup {
		padding: 12px;
	}

	.dgcp-card {
		width: calc(100vw - 24px);
	}

	.dgcp-card-inner {
		gap: 5px;
		padding: 38px 20px 12px;
	}

	.dgcp-brand-logo {
		width: 38px;
		height: 38px;
	}

	.dgcp-benefits {
		padding: 8px 12px;
	}

	.dgcp-benefits li {
		font-size: 12px;
	}
}
