/* ============================================================
   Demo Site Popup — Frontend Popup Styles
   ============================================================ */

/* ── Overlay ─────────────────────────────── */
.dsp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.dsp-overlay.dsp-visible {
	opacity: 1;
	visibility: visible;
}

/* ── Popup card ──────────────────────────── */
.dsp-popup {
	position: relative;
	width: 90%;
	max-width: 420px;
	padding: 36px 32px 30px;
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08);
	text-align: center;
	transform: translateY(30px) scale(0.96);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dsp-overlay.dsp-visible .dsp-popup {
	transform: translateY(0) scale(1);
}

/* ── Close button ────────────────────────── */
.dsp-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.06);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	line-height: 1;
	padding: 0;
}

.dsp-close:hover {
	background: rgba(0, 0, 0, 0.12);
	transform: rotate(90deg);
}

.dsp-close svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* ── Badge icon ──────────────────────────── */
.dsp-badge {
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dsp-badge svg {
	width: 28px;
	height: 28px;
}

/* ── Typography ──────────────────────────── */
.dsp-popup h2 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.dsp-popup p {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 1.55;
	opacity: 0.72;
}

/* ── Links list ──────────────────────────── */
.dsp-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dsp-links a {
	align-items: center;
	border: 1.5px solid transparent;
	border-radius: 100px;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	justify-content: center;
	line-height: 1;
	padding: 15px 30px;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.dsp-links a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.dsp-links a svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* WhatsApp */
.dsp-link-whatsapp {
	background: #25d366;
	color: #fff !important;
}

/* Telegram */
.dsp-link-telegram {
	background: #2aabee;
	color: #fff !important;
}

/* Website */
.dsp-link-website {
	background: #f5a800 !important;
	color: #1e1e2f !important;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 480px) {
	.dsp-popup {
		padding: 28px 20px 24px;
		border-radius: 14px;
	}

	.dsp-popup h2 {
		font-size: 19px;
	}

	.dsp-links a {
		padding: 12px 16px;
		font-size: 14px;
	}
}
