.donate-hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-height) + var(--safe-top) + 2rem);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 179, 0, 0.16), transparent 26%),
    radial-gradient(circle at bottom right, rgba(66, 165, 245, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(10, 22, 40, 1), rgba(13, 43, 94, 0.94));
  overflow: hidden;
}

.donate-hero::before,
.donate-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(2px);
  animation: bokehFloat 7s ease-in-out infinite;
}

.donate-hero::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -40px;
}

.donate-hero::after {
  width: 220px;
  height: 220px;
  right: 12%;
  bottom: 8%;
  animation-delay: 1s;
}

.paint-reveal {
  display: inline-block;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: paintReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paintReveal {
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.donate-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
}

.amount-pills,
.frequency-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.amount-pill,
.frequency-pill {
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
}

.amount-pill.is-active,
.frequency-pill.is-active {
  background: var(--gradient-gold);
  color: var(--color-sky-deep);
}

.donate-form-shell {
  padding: 2rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.donate-form {
  display: grid;
  gap: 1rem;
}

.donate-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.donate-form .form-field {
  display: grid;
  gap: 0.45rem;
}

.donate-form .form-field input,
.donate-form .form-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-white);
}

.donate-form .form-field input:focus,
.donate-form .form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 179, 0, 0.55);
}

.donate-form .form-field__error {
  min-height: 1.1rem;
  color: var(--color-danger);
  font-size: 0.82rem;
}

[data-custom-wrap] .form-field {
  display: grid;
  gap: 0.45rem;
}

[data-custom-wrap] .form-field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-white);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.payment-chip {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.donate-form__note,
.donate-form__feedback {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.donate-form__feedback.is-error {
  color: var(--color-danger);
}

.impact-calculator {
  display: grid;
  gap: 1.2rem;
}

.impact-slider {
  width: 100%;
}

.impact-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-visual__icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.24), rgba(255, 179, 0, 0.2));
  color: var(--color-wing-gold);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.donate-qr-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(66, 165, 245, 0.12), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(255, 179, 0, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(8, 21, 39, 1), rgba(10, 22, 40, 1));
}

.donate-qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.9fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.donate-qr-copy {
  display: grid;
  gap: 1.2rem;
  max-width: 40rem;
}

.donate-qr-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.donate-qr-highlight {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(227, 234, 244, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
}

.donate-qr-note {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-card);
}

.donate-qr-note strong {
  color: var(--color-wing-gold);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.donate-qr-note p {
  color: rgba(227, 234, 244, 0.82);
}

.donate-qr-note a {
  color: var(--color-sky-bright);
}

.donate-qr-visual {
  display: grid;
}

.donate-qr-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 20% 18%, rgba(66, 165, 245, 0.14), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(255, 179, 0, 0.1), transparent 20%),
    linear-gradient(160deg, rgba(15, 36, 66, 0.96), rgba(7, 17, 31, 0.98));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.donate-qr-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -24% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.12), transparent 72%);
  pointer-events: none;
}

.donate-qr-card > * {
  position: relative;
  z-index: 1;
}

.donate-qr-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.donate-qr-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(122, 57, 226, 0.16);
  border: 1px solid rgba(167, 112, 255, 0.28);
  color: #d3b3ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donate-qr-card__meta {
  color: rgba(227, 234, 244, 0.68);
  font-size: 0.9rem;
}

.donate-qr-card__frame {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.98), rgba(18, 18, 20, 1));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 22px 40px rgba(0, 0, 0, 0.28);
}

.donate-qr-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.donate-qr-card__footer {
  margin-top: 1rem;
  padding: 0.95rem 0.2rem 0.15rem;
}

.donate-qr-card__footer p {
  color: rgba(227, 234, 244, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}

.donor-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.donor-pill {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.donor-pill.is-floating {
  transform: translateY(-6px);
  background: rgba(255, 179, 0, 0.18);
}

.tax-card {
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--color-wing-gold);
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .donate-hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .donate-layout,
  .donate-qr-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .impact-visual {
    grid-template-columns: 1fr;
  }

  .donate-form-shell {
    padding: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .donate-layout,
  .donate-qr-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .donate-qr-card {
    padding: 1rem;
    border-radius: 28px;
  }

  .donate-qr-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .donate-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .donate-hero {
    padding-top: calc(var(--nav-height) + var(--safe-top) + 1.5rem);
  }

  .donate-form-shell,
  .donate-qr-card {
    padding: 1rem;
    border-radius: 24px;
  }

  .donor-wall {
    gap: 0.6rem;
  }
}
