/* Smoke Hauz Age Gate */

#shag-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
	background: #000;
	background-image: radial-gradient(ellipse at 50% 0%, rgba(232, 135, 58, 0.16), transparent 60%);
	color: #fff;
	font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
}

html.shag-lock {
	overflow: hidden;
}

/* Hide the page itself until the visitor confirms their age (stops a flash of content). */
html.shag-lock body {
	visibility: hidden;
}

html.shag-lock #shag-overlay {
	display: flex;
	visibility: visible;
	animation: shag-fade 0.3s ease-out both;
}

#shag-overlay *,
#shag-overlay *::before,
#shag-overlay *::after {
	box-sizing: border-box;
}

#shag-overlay [hidden] {
	display: none !important;
}

.shag-card {
	width: 100%;
	max-width: 520px;
	margin: auto;
	padding: 44px 36px 36px;
	background: #000;
	border: 1px solid rgba(232, 135, 58, 0.45);
	border-radius: 24px;
	text-align: center;
	box-shadow: 0 0 80px rgba(232, 135, 58, 0.12);
}

.shag-logo {
	display: block;
	max-width: 180px;
	max-height: 72px;
	width: auto;
	height: auto;
	margin: 0 auto 24px;
	object-fit: contain;
}

.shag-eyebrow {
	margin: 0 0 14px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #E8873A;
}

.shag-title {
	margin: 0 0 16px;
	font-family: 'Montserrat Alternates', 'Work Sans', sans-serif;
	font-size: clamp(1.7rem, 5.5vw, 2.4rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.shag-text {
	margin: 0 auto 30px;
	max-width: 400px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: #fff;
}

.shag-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.shag-btn {
	flex: 1 1 190px;
	appearance: none;
	margin: 0;
	padding: 15px 26px;
	border-radius: 999px;
	font-family: 'Work Sans', sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.shag-btn--yes {
	background: #E8873A;
	border: 1px solid #E8873A;
	color: #000;
}

.shag-btn--yes:hover {
	background: #f29a52;
	border-color: #f29a52;
	transform: translateY(-1px);
}

.shag-btn--no {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
}

.shag-btn--no:hover {
	border-color: #E8873A;
	color: #E8873A;
}

.shag-btn:focus-visible {
	outline: 2px solid #E8873A;
	outline-offset: 3px;
}

.shag-note {
	margin: 26px 0 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: #E8873A;
}

@keyframes shag-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@media (max-width: 480px) {
	.shag-card {
		padding: 36px 22px 28px;
		border-radius: 20px;
	}
	.shag-btn {
		flex-basis: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.shag-lock #shag-overlay { animation: none; }
	.shag-btn { transition: none; }
}
