/**
 * SS-7 age gate overlay
 */

html,
body {
	min-height: 100%;
	margin: 0;
	font-family: Arial, sans-serif;
}

.age-gate {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.age-gate[hidden] {
	display: none !important;
}

.age-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 7, 31, 0.82);
	backdrop-filter: blur(4px);
}

.age-gate__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 440px);
	padding: 32px 28px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(63, 45, 97, 0.28);
	text-align: center;
	pointer-events: auto;
}

.age-gate__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 999px;
	background: var(--purple-deep, #3F2D61);
	color: var(--gold, #E7B842);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.age-gate__title {
	margin: 0 0 12px;
	color: var(--purple-deep, #3F2D61);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

.age-gate__text {
	margin: 0 0 24px;
	color: #4b5563;
	font-size: 0.975rem;
	line-height: 1.55;
}

.age-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.age-gate__actions form {
	display: flex;
	flex: 1 1 0;
	margin: 0;
}

.age-gate__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	pointer-events: auto;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.age-gate__btn:focus-visible {
	outline: 3px solid var(--gold, #E7B842);
	outline-offset: 2px;
}

.age-gate__btn--confirm {
	background: var(--gold, #E7B842);
	color: #1a1a1a;
	box-shadow: 0 2px 12px rgba(231, 184, 66, 0.35);
}

.age-gate__btn--confirm:hover,
.age-gate__btn--confirm:focus-visible {
	background: var(--gold-hover, #D7A52B);
}

.age-gate__btn--deny {
	background: #f3f4f6;
	color: #374151;
}

.age-gate__btn--deny:hover,
.age-gate__btn--deny:focus-visible {
	background: #e5e7eb;
}

html.age-gate-open,
body.age-gate-open {
	overflow: hidden;
}

@media (min-width: 480px) {
	.age-gate__actions {
		flex-direction: row;
	}

	.age-gate__btn {
		flex: 1 1 0;
	}
}
