/* Old Dragon — homepage donate promotion modal */

#OdDonateOverlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(8, 14, 12, 0.72);
	backdrop-filter: blur(2px);
	animation: odDonateFadeIn 0.35s ease;
}

#OdDonateOverlay.is-hidden {
	display: none;
}

@keyframes odDonateFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

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

.OdDonateModal {
	position: relative;
	width: min(520px, 100%);
	max-height: min(92vh, 720px);
	overflow: auto;
	border-radius: 10px;
	border: 2px solid #c9a227;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(200, 120, 40, 0.35) 0%, transparent 55%),
		linear-gradient(180deg, #2a1c10 0%, #1a120c 45%, #12100e 100%);
	box-shadow:
		0 0 0 1px rgba(255, 210, 100, 0.25),
		0 18px 50px rgba(0, 0, 0, 0.65),
		0 0 40px rgba(200, 120, 30, 0.25);
	animation: odDonatePop 0.4s ease;
	color: #f5e6c8;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	text-align: center;
	padding: 22px 22px 18px;
}

.OdDonateClose {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 50%;
	background: #a01818;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.OdDonateClose:hover {
	background: #c02020;
}

.OdDonateBrand {
	font-size: clamp(22px, 4.5vw, 28px);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f0c24a;
	text-shadow:
		0 0 12px rgba(240, 170, 40, 0.55),
		0 2px 0 #5a3010;
	margin: 4px 0 6px;
	text-transform: uppercase;
}

.OdDonateTitle {
	font-size: clamp(16px, 3.4vw, 20px);
	font-weight: 700;
	color: #ffe29a;
	margin: 0 0 4px;
	text-shadow: 0 0 10px rgba(255, 180, 40, 0.35);
}

.OdDonateSub {
	font-size: 12px;
	color: #d8c090;
	margin: 0 0 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-family: Verdana, Arial, sans-serif;
}

.OdDonateTiers {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 16px;
}

.OdDonateTier {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 6px;
	background: linear-gradient(90deg, rgba(60, 36, 16, 0.95), rgba(40, 28, 16, 0.85));
	border: 1px solid rgba(201, 162, 39, 0.45);
	text-align: left;
	font-family: Verdana, Arial, sans-serif;
}

.OdDonateIcon {
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: radial-gradient(circle at 30% 30%, #ffe080, #c8921a 60%, #6a4808);
	border: 1px solid #5a3a08;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.OdDonateRange {
	font-weight: bold;
	font-size: 13px;
	color: #ffe8b0;
}

.OdDonateArrow {
	color: #f0c24a;
	font-size: 16px;
	font-weight: bold;
}

.OdDonateBonus {
	font-weight: bold;
	font-size: 12px;
	color: #fff0c0;
	white-space: nowrap;
}

.OdDonateBadge {
	min-width: 48px;
	height: 48px;
	padding: 0 4px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #ffe08a, #d4a017 50%, #7a5208 100%);
	border: 2px solid #f0d060;
	color: #2a1600;
	font-weight: bold;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 12px rgba(240, 180, 40, 0.35);
}

.OdDonateFooterIcons {
	display: flex;
	justify-content: center;
	gap: 18px;
	margin: 8px 0 10px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 9px;
	color: #c8b888;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.OdDonateFooterIcons span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	max-width: 90px;
}

.OdDonateFooterIcons i {
	font-style: normal;
	font-size: 16px;
}

.OdDonateCta {
	display: inline-block;
	margin: 4px 0 6px;
	padding: 10px 20px;
	border-radius: 4px;
	background: linear-gradient(180deg, #e8b820, #b87a10);
	color: #1a1000 !important;
	font-weight: bold;
	font-size: 13px;
	text-decoration: none;
	font-family: Verdana, Arial, sans-serif;
	border: 1px solid #8a5a08;
	box-shadow: 0 3px 0 #5a3a08, 0 0 16px rgba(232, 180, 40, 0.35);
}

.OdDonateCta:hover {
	filter: brightness(1.08);
}

.OdDonateFoot {
	margin: 6px 0 0;
	font-size: 11px;
	color: #b8a878;
	font-family: Verdana, Arial, sans-serif;
}

@media (max-width: 480px) {
	.OdDonateTier {
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
	}
	.OdDonateArrow { display: none; }
	.OdDonateBadge {
		grid-column: 2;
		justify-self: end;
		width: 40px;
		height: 40px;
		min-width: 40px;
		font-size: 12px;
	}
	.OdDonateBonus {
		grid-column: 1 / -1;
		text-align: center;
	}
}
