/*
 * Saber66 marketing pop-up (includes/marketing-popup.php).
 * Plain CSS on purpose: no Sass source, outside the old theme's build. Goes with
 * the old theme when Saber66 is rebuilt (operator, 2026-11-20).
 */

.marketing-popup {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 0;
	overflow: auto;
	border: 1px solid #00DDFF;
	border-radius: 10px;
	background: #121212;
	box-shadow: 0 0 24px 0 #00DDFF;
	color: #FFFFFF;
}

.marketing-popup::backdrop {
	background: rgba(0, 0, 0, 0.75);
}

.marketing-popup__panel {
	position: relative;
	overflow: hidden;
}

.marketing-popup__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}

.marketing-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #FFFFFF;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.marketing-popup__close:hover,
.marketing-popup__close:focus-visible {
	color: #00DDFF;
}

.marketing-popup__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 48px 32px 32px;
	text-align: center;
}

.marketing-popup__title {
	margin: 0;
	color: #FFFFFF;
	text-transform: uppercase;
	text-shadow: 0 0 12px #00DDFF;
}

.marketing-popup__text {
	margin: 0;
	font-size: 18px;
}

.marketing-popup__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.marketing-popup__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.marketing-popup__input {
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid #00DDFF;
	border-radius: 24px;
	background: #000000;
	color: #FFFFFF;
	font-size: 16px;
}

.marketing-popup__trap {
	position: absolute;
	left: -9999px;
}

.marketing-popup__submit,
.marketing-popup__button {
	align-self: center;
	min-height: 48px;
	color: #FFFFFF;
	cursor: pointer;
}

.marketing-popup__status {
	margin: 0;
	color: #00DDFF;
}

.marketing-popup__status:empty {
	display: none;
}

@media (max-width: 480px) {

	.marketing-popup__body {
		padding: 48px 20px 24px;
	}

}
