/**
 * Verificare vârstă 18+ — overlay full screen.
 */

body.ajp-age-gate-pending {
	overflow: hidden;
}

body.ajp-age-gate-pending > *:not(#ajp-age-gate) {
	visibility: hidden;
}

.ajp-age-gate {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: #05132e;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	visibility: visible;
	pointer-events: auto;
}

.ajp-age-gate.is-hidden {
	display: none;
}

.ajp-age-gate__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 520px;
	text-align: center;
}

.ajp-age-gate__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: clamp(28px, 5vw, 40px);
	background: transparent;
}

.ajp-age-gate__logo-img {
	display: block;
	width: min(100%, 360px);
	height: auto;
	background: transparent;
	object-fit: contain;
}

.ajp-age-gate__question {
	margin: 0 0 clamp(24px, 4vw, 32px);
	color: #ffffff;
	font-size: clamp(18px, 2.6vw, 22px);
	font-weight: 500;
	line-height: 1.4;
}

.ajp-age-gate__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 3vw, 24px);
	width: 100%;
}

.ajp-age-gate__btn {
	flex: 1 1 0;
	max-width: 180px;
	min-height: 52px;
	padding: 12px 24px;
	border: none;
	border-radius: 999px;
	background: #ffcc00;
	color: #0b162c;
	font-family: inherit;
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
	position: relative;
	z-index: 1;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ajp-age-gate__btn:hover,
.ajp-age-gate__btn:focus {
	background: #ffd633;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 204, 0, 0.35);
	outline: none;
}

.ajp-age-gate__btn:active {
	transform: translateY(0);
}
