/* ============================================================
   Sexys Latinas — Modal de verificación de edad
   ============================================================ */

.sl-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.97);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 24px;
	font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
	color: var(--sl-text);
	animation: sl-fade-in 0.25s ease-in-out both;
}

.sl-age-gate.is-leaving {
	animation: sl-fade-out 0.3s ease-in-out forwards;
	pointer-events: none;
}

@keyframes sl-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes sl-fade-out {
	from { opacity: 1; }
	to   { opacity: 0; }
}

.sl-age-gate__panel {
	width: 100%;
	max-width: 480px;
	background: var(--sl-bg-soft);
	border: 1px solid var(--sl-gold);
	border-radius: var(--sl-radius);
	padding: 36px 32px;
	box-shadow: 0 0 32px rgba(255, 215, 0, 0.15);
	max-height: 95vh;
	overflow-y: auto;
}

.sl-age-gate__logo {
	text-align: center;
	margin-bottom: 24px;
}
.sl-age-gate__logo img {
	max-width: 200px;
	height: auto;
}
.sl-age-gate__brand {
	font-family: 'Playfair Display', serif;
	font-size: 28px;
	letter-spacing: 2px;
	color: var(--sl-gold);
	text-transform: uppercase;
}

.sl-age-gate__title {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	color: var(--sl-gold);
	text-align: center;
	margin: 0 0 16px;
	letter-spacing: 1px;
}

.sl-age-gate__warning {
	font-size: 14px;
	line-height: 1.7;
	color: #e5e5e5;
	text-align: center;
	margin: 0 0 28px;
}

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

.sl-age-gate__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sl-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.sl-field__label {
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--sl-gold-soft);
}
.sl-field input {
	background: #000;
	border: 1px solid var(--sl-gold-dark);
	border-radius: var(--sl-radius);
	color: var(--sl-text);
	padding: 12px 14px;
	font-size: 14px;
	font-family: inherit;
	transition: var(--sl-transition);
	width: 100%;
	box-sizing: border-box;
}
.sl-field input:focus {
	outline: none;
	border-color: var(--sl-gold);
	box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.sl-checkbox {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	line-height: 1.5;
	color: #cfcfcf;
	cursor: pointer;
}
.sl-checkbox input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--sl-gold);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.sl-btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 14px 18px;
	border-radius: var(--sl-radius);
	cursor: pointer;
	transition: var(--sl-transition);
	text-transform: uppercase;
	line-height: 1.2;
	border: 1px solid var(--sl-gold);
}
.sl-btn--primary {
	background: var(--sl-gold);
	color: #000;
}
.sl-btn--primary:hover,
.sl-btn--primary:focus {
	background: #fff200;
	box-shadow: 0 0 14px var(--sl-gold);
	transform: scale(1.02);
}
.sl-btn--ghost {
	background: transparent;
	color: var(--sl-gold);
}
.sl-btn--ghost:hover,
.sl-btn--ghost:focus {
	background: var(--sl-gold);
	color: #000;
	box-shadow: 0 0 14px var(--sl-gold);
}
.sl-btn[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.sl-age-gate__feedback {
	min-height: 18px;
	font-size: 13px;
	text-align: center;
}
.sl-age-gate__feedback.is-error  { color: #ff6b6b; }
.sl-age-gate__feedback.is-success { color: var(--sl-gold); }

.sl-age-gate__switch {
	text-align: center;
	font-size: 13px;
	color: #b8b8b8;
	margin: 4px 0 0;
}
.sl-age-gate__switch a {
	color: var(--sl-gold);
	text-decoration: none;
	margin-left: 6px;
}
.sl-age-gate__switch a:hover { text-decoration: underline; }

.sl-age-gate__legal {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid rgba(184, 134, 11, 0.3);
	font-size: 11px;
	line-height: 1.5;
	color: #8a8a8a;
	text-align: center;
}

@media (max-width: 480px) {
	.sl-age-gate__panel { padding: 24px 18px; }
	.sl-age-gate__title { font-size: 20px; }
	.sl-age-gate__warning { font-size: 13px; }
	.sl-btn { font-size: 12px; padding: 12px 14px; }
}
