@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700");

:root {
	--bg: #0b1220;
	--card: #0f1a2f;
	--text: #eaf0ff;
	--muted: rgba(234, 240, 255, 0.72);
	--border: rgba(234, 240, 255, 0.12);
	--accent: #00c177;
	--error: #ff5a6b;
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	background: radial-gradient(1200px 600px at 50% 0%, rgba(0, 193, 119, 0.22), rgba(11, 18, 32, 0)) , var(--bg);
	color: var(--text);
}

.donate-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.donate-shell {
	width: 100%;
	max-width: 430px;
}

.donate-header {
	margin-bottom: 14px;
}

.donate-back {
	display: inline-block;
	color: var(--muted);
	text-decoration: none;
	font-weight: 500;
	margin-bottom: 10px;
}

.donate-title {
	margin: 0;
	font-size: 32px;
	letter-spacing: 0.2px;
	font-weight: 700;
}

.donate-subtitle {
	margin: 6px 0 0 0;
	color: var(--muted);
	font-weight: 500;
}

.donate-card {
	background: rgba(15, 26, 47, 0.92);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 16px;
	backdrop-filter: blur(10px);
}

.donate-amounts {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
}

.amount-pill {
	flex: 1;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	border-radius: 14px;
	padding: 12px 10px;
	font-weight: 700;
	font-size: 16px;
	transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.amount-pill:active {
	transform: scale(0.99);
}

.amount-pill.is-selected {
	border-color: rgba(0, 193, 119, 0.75);
	background: rgba(0, 193, 119, 0.16);
}

.donate-custom {
	margin-bottom: 14px;
}

.donate-label {
	display: block;
	font-size: 13px;
	color: var(--muted);
	margin: 0 0 6px 0;
}

.donate-input-row {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	padding: 10px 12px;
}

.donate-currency {
	color: var(--muted);
	font-weight: 700;
	margin-right: 8px;
}

.donate-input {
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	color: var(--text);
	font-size: 16px;
	font-weight: 600;
}

.donate-input::placeholder {
	color: rgba(234, 240, 255, 0.45);
	font-weight: 500;
}

.donate-hint {
	margin-top: 6px;
	font-size: 12px;
	color: rgba(234, 240, 255, 0.58);
}

.donate-details {
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.03);
	margin-bottom: 14px;
}

.donate-details summary {
	cursor: pointer;
	color: var(--muted);
	font-weight: 600;
	font-size: 13px;
	list-style: none;
}

.donate-details summary::-webkit-details-marker {
	display: none;
}

.donate-details-body {
	padding-top: 12px;
	display: grid;
	gap: 10px;
}

.donate-pay {
	margin-top: 6px;
}

.gpay-button-wrap {
	min-height: 48px;
}

.fallback-pay {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--muted);
	font-weight: 700;
}

.donate-status {
	margin-top: 12px;
	min-height: 22px;
	font-size: 14px;
	color: var(--muted);
}

.donate-status.is-error {
	color: var(--error);
}

.donate-status.is-success {
	color: var(--accent);
	font-weight: 700;
}

.donate-footer {
	margin-top: 12px;
	text-align: center;
}

.donate-trust {
	font-size: 12px;
	color: rgba(234, 240, 255, 0.55);
}
