/* ══════════════════════════════════════════════════════════
   RedPep Core — Age Gate Modal Styles
   ══════════════════════════════════════════════════════════ */

.rp-age-gate {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.80);
	padding: 18px;
	z-index: 99999;
}

.rp-age-gate.is-visible {
	display: flex;
}

.rp-age-card {
	width: min(680px, 100%);
	background: rgba(14, 14, 14, 0.97);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 22px;
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.85),
		0 0 0 1px rgba(225, 6, 0, 0.1);
	padding: 28px;
	backdrop-filter: blur(16px);
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.rp-age-card h2 {
	font-size: 20px;
	font-weight: 800;
	color: #f2f2f2;
	margin: 0 0 10px;
}

.rp-age-card > p {
	color: #9a9a9a;
	line-height: 1.5;
	font-size: 14px;
	margin: 0 0 16px;
}

/* Checkbox items */
.rp-check-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	margin-bottom: 10px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.rp-check-item:hover {
	border-color: rgba(225, 6, 0, 0.35);
	background: rgba(225, 6, 0, 0.05);
}

.rp-check-item input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: #e10600;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.rp-check-item label {
	font-size: 13px;
	color: #9a9a9a;
	line-height: 1.45;
	cursor: pointer;
}

.rp-check-item label strong {
	color: #f2f2f2;
}

/* Action row */
.rp-gate-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 16px;
	flex-wrap: wrap;
}

.rp-gate-btn {
	cursor: pointer;
	border-radius: 12px;
	padding: 11px 20px;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.15s ease;
}

.rp-gate-btn--exit {
	background: transparent;
	color: #f2f2f2;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.rp-gate-btn--exit:hover {
	background: rgba(255, 255, 255, 0.08);
}

.rp-gate-btn--enter {
	background: linear-gradient(135deg, #e10600, #8a0000);
	color: #fff;
	border: 1px solid rgba(225, 6, 0, 0.5);
	box-shadow: 0 0 16px rgba(225, 6, 0, 0.35);
}

.rp-gate-btn--enter:hover:not(:disabled) {
	box-shadow: 0 0 26px rgba(225, 6, 0, 0.55);
	transform: translateY(-1px);
}

.rp-gate-btn--enter:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.rp-gate-fine {
	font-size: 11px;
	color: rgba(233, 241, 255, 0.45);
	text-align: center;
	margin: 10px 0 0;
}

/* Prevent scroll while gate is open */
body.rp-gate-open {
	overflow: hidden;
}

/* Mobile */
@media (max-width: 520px) {
	.rp-age-card {
		padding: 20px;
	}
	.rp-age-card h2 {
		font-size: 17px;
	}
	.rp-gate-actions {
		justify-content: stretch;
	}
	.rp-gate-btn {
		flex: 1;
		text-align: center;
	}
}
