/**
 * Frontend Stylesheet for Adblock Detector (Theme Integration)
 * Version: 2.0.0 — Redesigned to match PiximFix brand
 */

/* ── Full-page overlay that replaces content ── */
.adblock-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 40px 20px;
	background: linear-gradient(160deg, #f0f5ff 0%, #e8f0fe 40%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}

/* Decorative floating dots (matches homepage aesthetic) */
.adblock-overlay::before,
.adblock-overlay::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: rgba(0, 122, 255, 0.08);
	pointer-events: none;
}

.adblock-overlay::before {
	width: 300px;
	height: 300px;
	top: -80px;
	right: -60px;
}

.adblock-overlay::after {
	width: 200px;
	height: 200px;
	bottom: -40px;
	left: -40px;
}

/* ── Main card container ── */
.adblock-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 48px 40px;
	max-width: 560px;
	width: 100%;
	text-align: center;
	box-shadow:
		0 4px 6px rgba(0, 122, 255, 0.06),
		0 12px 40px rgba(0, 122, 255, 0.10);
	border: 1px solid rgba(0, 122, 255, 0.10);
	position: relative;
	z-index: 1;
	animation: adblock-slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes adblock-slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ── Shield icon ── */
.adblock-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 24px;
	background: linear-gradient(135deg, #4A90E2 0%, #007AFF 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 122, 255, 0.25);
}

.adblock-icon svg {
	width: 36px;
	height: 36px;
	fill: #ffffff;
}

/* ── Title ── */
.adblock-card h2 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: #0F1724;
	margin: 0 0 16px;
	letter-spacing: -0.3px;
	line-height: 1.3;
}

/* ── Body text ── */
.adblock-card p {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #5A6577;
	line-height: 1.7;
	margin: 0 0 28px;
	letter-spacing: 0.01em;
}

/* ── CTA button ── */
.adblock-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	background: linear-gradient(135deg, #4A90E2 0%, #007AFF 100%);
	color: #ffffff !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 14px rgba(0, 122, 255, 0.30);
	letter-spacing: 0.02em;
}

.adblock-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 22px rgba(0, 122, 255, 0.40);
}

.adblock-btn:active {
	transform: translateY(0);
}

.adblock-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ── Footer note ── */
.adblock-footer {
	margin-top: 20px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 13px;
	color: #9CA3B0;
	letter-spacing: 0.01em;
}

.adblock-footer a {
	color: #007AFF;
	text-decoration: none;
}

.adblock-footer a:hover {
	text-decoration: underline;
}

/* ── Divider line ── */
.adblock-divider {
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, #4A90E2, #007AFF);
	border-radius: 2px;
	margin: 0 auto 20px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
	.adblock-overlay {
		padding: 30px 16px;
		min-height: 50vh;
	}

	.adblock-card {
		padding: 36px 24px;
		border-radius: 16px;
	}

	.adblock-card h2 {
		font-size: 20px;
	}

	.adblock-card p {
		font-size: 14px;
	}

	.adblock-icon {
		width: 60px;
		height: 60px;
	}

	.adblock-icon svg {
		width: 30px;
		height: 30px;
	}

	.adblock-btn {
		padding: 12px 28px;
		font-size: 14px;
	}
}