/* Age verification gate — loads on every front-end page.
   html.hb-age-verified is added either synchronously in header.php
   (returning visitor, cookie present) or by age-gate.js on confirm. */

html:not(.hb-age-verified) body {
	overflow: hidden;
}

html.hb-age-verified .age-gate {
	display: none !important;
}

.age-gate {
	position: fixed;
	inset: 0;
	z-index: 100010;
	background: linear-gradient(135deg, #1f5d3f 0%, #ff6b35 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: hbAgeGateIn 0.25s ease-out;
}

@keyframes hbAgeGateIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.age-gate-card {
	max-width: 440px;
	width: 100%;
	text-align: center;
	padding: 48px 36px;
	background: #1a1a1a;
	color: #fcfaf4;
	border-radius: 32px;
	border: 4px solid #fcfaf4;
	box-shadow: 12px 12px 0 rgba(26, 26, 26, 0.9);
	transform: rotate(-1deg);
}

.age-gate-logo {
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	margin-bottom: 16px;
	background: linear-gradient(135deg, #1f5d3f, #ff6b35);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.age-gate h2 {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
	color: #ffffff !important;
}

.age-gate p {
	font-size: 15px;
	color: #fcfaf4;
	opacity: 0.7;
	margin-bottom: 28px;
}

.age-gate-btns {
	display: flex;
	gap: 10px;
}

.age-btn {
	flex: 1;
	padding: 16px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 14px;
	transition: transform 0.2s;
}

.age-btn.yes {
	background: #7fb069;
	color: #1a1a1a;
}

.age-btn.yes:hover {
	transform: translateY(-2px);
}

.age-btn.no {
	background: transparent;
	color: #fcfaf4;
	border: 2px solid rgba(255, 248, 240, 0.3);
}

.age-btn.no:hover {
	background: rgba(255, 248, 240, 0.1);
}

@media (max-width: 480px) {
	.age-gate-card {
		padding: 36px 24px;
	}
	.age-gate-logo {
		font-size: 28px;
	}
	.age-gate h2 {
		font-size: 22px;
	}
}
