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

.ba-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.ba-age-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 34, 0.7);
	backdrop-filter: blur(3px);
}

.ba-age-gate__modal {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	background: #fff;
	border-radius: 24px;
	padding: 32px 34px 28px;
	box-shadow: 0 18px 54px rgba(15, 23, 42, 0.35);
	text-align: center;
	color: #1e293b;
}

.ba-age-gate__head {
	margin-bottom: 14px;
}

.ba-age-gate__logo {
	display: block;
	margin: 0 auto;
	max-width: 210px;
	width: auto;
	height: auto;
}

.ba-age-gate__logo-fallback {
	width: 60px;
	height: 60px;
	margin: 0 auto;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	background: #c2185b;
}

.ba-age-gate__title {
	margin: 0 0 20px;
	font-size: clamp(1.45rem, 3.2vw, 2.05rem);
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.ba-age-gate__text {
	margin: 0 auto 16px;
	max-width: 540px;
	font-size: 1.05rem;
	line-height: 1.52;
}

.ba-age-gate__terms {
	margin: 0 auto 24px;
	max-width: 540px;
	font-size: 1.02rem;
	line-height: 1.52;
}

.ba-age-gate__terms a {
	color: #c2185b;
	font-weight: 700;
	text-decoration: none;
}

.ba-age-gate__terms a:hover {
	text-decoration: underline;
}

.ba-age-gate__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.ba-age-gate__accept {
	border: 0;
	border-radius: 14px;
	min-width: 184px;
	padding: 13px 28px;
	background: #c2185b;
	color: #fff;
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: 0.01em;
	cursor: pointer;
}

.ba-age-gate__accept:hover {
	background: #a9164d;
}

.ba-age-gate__reject {
	border: 0;
	background: transparent;
	color: #c2185b;
	font-size: 1.04rem;
	cursor: pointer;
}

.ba-age-gate__reject:hover {
	text-decoration: underline;
}

body.ba-age-gate-open {
	overflow: hidden !important;
}

@media (max-width: 640px) {
	.ba-age-gate {
		padding: 10px;
	}

	.ba-age-gate__modal {
		padding: 24px 18px 22px;
		border-radius: 18px;
	}
}
