/* ── Age Gate: wrapper ──────────────────────────────────────────────────── */

.age-restricted-wrapper {
	position: relative;
}

/* Blurred content layer — sits behind the overlay */
.age-restricted-wrapper > *:not(.age-gate-overlay) {
	filter: blur(8px);
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	transition: filter 0.35s ease;
}

/* Once revealed, remove blur smoothly */
.age-restricted-wrapper.age-gate-revealed > *:not(.age-gate-overlay) {
	filter: none;
	pointer-events: auto;
	user-select: auto;
	-webkit-user-select: auto;
}

/* ── Overlay ────────────────────────────────────────────────────────────── */

.age-gate-overlay {
	position: absolute;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: inherit;
}

/* Full overlay for first-time visitors */
.age-gate-overlay.age-gate-full {
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

/* Minimal overlay for returning visitors (cookie already set) */
.age-gate-overlay.age-gate-simple {
	background: rgba(0, 0, 0, 0.35);
}

/* ── Age-gate box (first-time) ──────────────────────────────────────────── */

.age-gate-box {
	background: #ffffff;
	border-radius: 10px;
	padding: 36px 40px;
	max-width: 420px;
	width: 90%;
	text-align: center;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.age-gate-box h3 {
	margin: 0 0 12px;
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
}

.age-gate-box p {
	margin: 0 0 24px;
	font-size: 0.95rem;
	color: #555555;
	line-height: 1.6;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.age-gate-confirm-btn,
.age-gate-reveal-btn {
	display: inline-block;
	cursor: pointer;
	border: none;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: background 0.2s ease, transform 0.1s ease;
	line-height: 1;
}

.age-gate-confirm-btn:active,
.age-gate-reveal-btn:active {
	transform: scale(0.97);
}

/* Confirm button (full overlay) */
.age-gate-confirm-btn {
	padding: 14px 28px;
	background: #1a1a1a;
	color: #ffffff;
}

.age-gate-confirm-btn:hover {
	background: #333333;
}

/* Reveal button (simple overlay) */
.age-gate-reveal-btn {
	padding: 12px 22px;
	background: rgba(255, 255, 255, 0.92);
	color: #1a1a1a;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.age-gate-reveal-btn:hover {
	background: #ffffff;
}

/* ── Hidden state: overlay gone after reveal ────────────────────────────── */

.age-gate-overlay.age-gate-hidden {
	display: none;
}
