/* Gameindir 18+ Age Verification Modal Styles (Image 1 Modern Redesign) */

.gameindir-age-gate-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.gameindir-age-gate-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(10, 13, 23, 0.88);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.gameindir-age-gate-card {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 520px;
	background: #182030;
	background: linear-gradient(145deg, #192233 0%, #131926 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	padding: 36px 32px 30px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 85, 165, 0.1);
	text-align: center;
	animation: gameindirAgePopIn 0.32s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
	box-sizing: border-box;
}

@keyframes gameindirAgePopIn {
	from {
		opacity: 0;
		transform: scale(0.92) translateY(18px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.gameindir-age-title {
	color: #ffffff;
	font-size: 21px;
	font-weight: 800;
	margin: 0 0 14px 0;
	letter-spacing: -0.3px;
	line-height: 1.35;
}

.gameindir-age-desc {
	color: #94a3b8;
	font-size: 13px;
	line-height: 1.65;
	margin: 0 0 16px 0;
	text-align: center;
}

.gameindir-age-desc a {
	color: #38bdf8;
	text-decoration: underline;
	transition: color 0.18s ease;
	font-weight: 600;
}

.gameindir-age-desc a:hover {
	color: #a782e9;
}

.gameindir-age-notice {
	color: #cbd5e1;
	font-size: 12.5px;
	line-height: 1.5;
	margin-bottom: 16px;
}

.gameindir-age-notice__star {
	color: #ff55a5;
	font-weight: bold;
}

.gameindir-age-notice__sub {
	color: #64748b;
	font-size: 11.5px;
	display: block;
	margin-top: 2px;
}

/* DOB 3-Select Dropdowns */
.gameindir-age-selects-row {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
	justify-content: center;
}

.gameindir-age-select-wrap {
	flex: 1;
	position: relative;
	min-width: 0;
}

.gameindir-age-select {
	width: 100%;
	height: 42px;
	background-color: #121724;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 18px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 24px;
	color: #ffffff;
	padding: 0 28px 0 14px;
	font-size: 13.5px;
	font-weight: 600;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	text-align: center;
	text-align-last: center;
	outline: none;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.gameindir-age-select:focus {
	border-color: #ff55a5;
	box-shadow: 0 0 12px rgba(255, 85, 165, 0.25);
	background-color: #161c2c;
}

.gameindir-age-select option {
	background: #161c2c;
	color: #ffffff;
	padding: 8px 12px;
}

/* Checkbox Row */
.gameindir-age-checkbox-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
}

.gameindir-age-check-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
	font-size: 13px;
	color: #cbd5e1;
	font-weight: 500;
}

.gameindir-age-checkbox {
	width: 17px;
	height: 17px;
	cursor: pointer;
	accent-color: #ff55a5;
	border-radius: 4px;
	margin: 0;
}

.gameindir-age-error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #f87171;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 600;
	margin-bottom: 16px;
	animation: shake 0.3s ease;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

/* Footer Action Buttons */
.gameindir-age-footer-actions {
	display: flex;
	gap: 14px;
	margin-top: 6px;
}

.gameindir-age-btn {
	flex: 1;
	height: 44px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
	border: none;
}

.gameindir-age-btn--cancel {
	background: #1e2638;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cbd5e1;
}

.gameindir-age-btn--cancel:hover {
	background: #252f44;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.2);
}

.gameindir-age-btn--confirm {
	background: #e83e8c;
	background: linear-gradient(90deg, #d82b7d 0%, #ff55a5 100%);
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(255, 85, 165, 0.35);
}

.gameindir-age-btn--confirm:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(255, 85, 165, 0.5);
	background: linear-gradient(90deg, #e33588 0%, #ff69b4 100%);
}

.gameindir-age-restricted-icon {
	font-size: 44px;
	margin-bottom: 12px;
}

@media (max-width: 575px) {
	.gameindir-age-gate-card {
		padding: 26px 20px 22px;
		border-radius: 16px;
	}
	.gameindir-age-title {
		font-size: 18px;
	}
	.gameindir-age-desc {
		font-size: 12px;
		line-height: 1.55;
	}
	.gameindir-age-select {
		height: 38px;
		font-size: 12.5px;
		padding: 0 22px 0 10px;
	}
	.gameindir-age-footer-actions {
		gap: 10px;
	}
	.gameindir-age-btn {
		height: 40px;
		font-size: 13px;
	}
}
