#age-gate-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

#age-gate-overlay.active {
	display: flex;
}

#age-gate-modal {
	background: #fff;
	border-radius: 12px;
	padding: 40px 36px 36px;
	max-width: 480px;
	width: 100%;
	text-align: center;
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.age-gate-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	background: #e83030;
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	font-family: sans-serif;
	/* Octagon shape */
	clip-path: polygon(
		29% 0%, 71% 0%,
		100% 29%, 100% 71%,
		71% 100%, 29% 100%,
		0% 71%, 0% 29%
	);
}

#age-gate-modal h2 {
	font-size: 22px;
	font-weight: 700;
	color: #111;
	margin: 0 0 14px;
}

#age-gate-modal p {
	font-size: 15px;
	color: #333;
	line-height: 1.6;
	margin: 0 0 28px;
}

.age-gate-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.age-gate-buttons button {
	padding: 13px 32px;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s;
}

.age-gate-buttons button:hover {
	opacity: 0.85;
}

#age-gate-over {
	background: #2bb5a0;
	color: #fff;
}

#age-gate-under {
	background: #d0d0d0;
	color: #555;
}

@media (max-width: 400px) {
	#age-gate-modal {
		padding: 28px 20px 24px;
	}

	.age-gate-buttons {
		flex-direction: column;
		align-items: center;
	}

	.age-gate-buttons button {
		width: 100%;
	}
}
