/* Arcane website - donate page */
.donate-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 24px; align-items: start; }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.amounts button { min-height: 48px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text); font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.amounts button:hover { border-color: rgba(255, 170, 90, 0.4); transform: translateY(-1px); }
.amounts button.active { color: #1c0b03; border-color: transparent; background: linear-gradient(180deg, #ffd27a, #ff8a2a); box-shadow: 0 8px 22px rgba(255, 110, 30, 0.3); }
.field-label { display: block; margin: 20px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.field { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(0, 0, 0, 0.35); color: var(--text); font: inherit; font-size: 16px; }
.field:focus { outline: none; border-color: rgba(255, 160, 80, 0.55); box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15); }
.range { width: 100%; accent-color: var(--ember); }
.range-values { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted-2); }
.tiers { grid-template-columns: repeat(5, 1fr); }
.tiers li { flex-direction: column; justify-content: center; gap: 2px; text-align: center; padding: 10px 6px; }
.tiers li b { text-align: center; }
.total { text-align: center; padding: 10px 0 18px; }
.total__big { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6vw, 64px); line-height: 1; background: linear-gradient(180deg, #ffe7b0, #ff9a3c 60%, #ff6a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.total__big small { font-size: 0.4em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); -webkit-text-fill-color: var(--gold); }
.total__sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 16px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ember); flex: none; }
.check a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.donate-btn { width: 100%; }
.donate-btn:disabled { cursor: not-allowed; opacity: 0.55; filter: saturate(0.5); transform: none; box-shadow: none; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 14px 0 0; font-size: 13px; color: var(--muted-2); }
.steps--row { grid-template-columns: repeat(3, 1fr); }
.steps--row .step { grid-template-columns: 48px 1fr; }
.steps--row .step__n { width: 48px; height: 48px; font-size: 20px; }
.panel .note { margin: 16px 0 0; }
.note a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal__box { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--panel-solid); }
.modal__sub { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.modal__list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text); font-size: 14.5px; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal__actions .btn { min-height: 44px; font-size: 13px; }
body.modal-open { overflow: hidden; }

@media (max-width: 960px) {
  .donate-grid, .steps--row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .amounts { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .amounts button { padding: 0; font-size: 14px; }
  .tiers { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .tiers li { padding: 9px 2px; font-size: 12px; }
  .modal__actions .btn { width: 100%; }
}
