/* Scoped — every rule prefixed with #iceberg-promo / .iceberg-promo to avoid clashing with site styles */
#iceberg-promo {
	position: fixed;
	inset: 0;
	z-index: 2147483600;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family:
		-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
		Arial, sans-serif;
	opacity: 0;
	transition: opacity 240ms ease;
}
#iceberg-promo[data-visible='true'] {
	opacity: 1;
}

.iceberg-promo__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 22, 38, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.iceberg-promo__card {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	color: #0b1d2e;
	border-radius: 18px;
	padding: 32px 28px 24px;
	box-shadow:
		0 30px 60px -20px rgba(8, 22, 38, 0.45),
		0 0 0 1px rgba(8, 22, 38, 0.06);
	text-align: center;
	transform: translateY(8px) scale(0.98);
	transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
#iceberg-promo[data-visible='true'] .iceberg-promo__card {
	transform: translateY(0) scale(1);
}

/* Subtle iceberg-blue accent strip */
.iceberg-promo__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 18px 18px 0 0;
	background: linear-gradient(90deg, #4aa3df 0%, #1d4f7c 100%);
}

.iceberg-promo__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #6b7a8a;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
	transition:
		background 150ms ease,
		color 150ms ease;
}
.iceberg-promo__close:hover {
	background: #f1f4f7;
	color: #0b1d2e;
}

.iceberg-promo__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1d4f7c;
	background: #e8f1f8;
	padding: 5px 10px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.iceberg-promo__title {
	font-size: 22px;
	line-height: 1.25;
	margin: 0 0 10px;
	font-weight: 700;
	color: #0b1d2e;
}

.iceberg-promo__body {
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 22px;
	color: #44566a;
}

.iceberg-promo__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}

.iceberg-promo__btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 18px;
	border-radius: 10px;
	text-decoration: none;
	display: inline-block;
	transition:
		transform 120ms ease,
		background 150ms ease,
		box-shadow 150ms ease;
}
.iceberg-promo__btn:active {
	transform: translateY(1px);
}

.iceberg-promo__btn--primary {
	background: #1d4f7c;
	color: #ffffff;
	box-shadow: 0 6px 16px -6px rgba(29, 79, 124, 0.55);
}
.iceberg-promo__btn--primary:hover {
	background: #163e62;
}

.iceberg-promo__btn--ghost {
	background: transparent;
	color: #1d4f7c;
	box-shadow: inset 0 0 0 1px #cdd8e3;
}
.iceberg-promo__btn--ghost:hover {
	background: #f4f7fa;
}

.iceberg-promo__never {
	appearance: none;
	background: transparent;
	border: 0;
	color: #8a98a8;
	font: inherit;
	font-size: 12.5px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 6px 8px;
}
.iceberg-promo__never:hover {
	color: #44566a;
}

@media (max-width: 420px) {
	.iceberg-promo__card {
		padding: 28px 22px 20px;
		border-radius: 16px;
	}
	.iceberg-promo__title {
		font-size: 20px;
	}
	.iceberg-promo__body {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#iceberg-promo,
	.iceberg-promo__card {
		transition: none;
	}
}
