.donate-page #wrapper {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(184, 61, 186, 0.08) 0%, rgba(184, 61, 186, 0) 36%),
    var(--bg-dark-1);
}

.donation-layout {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.donation-shell {
  padding: 44px;
  border: 1px solid rgba(var(--brand-plum-rgb), 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 17, 34, 0.98) 0%, rgba(14, 13, 28, 0.98) 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.donation-header {
  text-align: center;
}

.donation-header h1 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.04;
}

.donation-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.donation-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.donation-section-label {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donation-section-label span {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.donation-option-stack {
  display: grid;
  gap: 12px;
}

.donation-option,
.payment-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.donation-option input,
.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donation-option-ui {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.donation-option:hover .donation-option-ui,
.payment-option:hover .payment-option-ui {
  transform: translateY(-1px);
  border-color: rgba(var(--brand-plum-rgb), 0.45);
}

.donation-option-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  box-shadow: inset 0 0 0 4px transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.donation-option-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.donation-option-price {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.donation-option-copy {
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  font-weight: 600;
  text-align: right;
}

.donation-option input:checked + .donation-option-ui {
  border-color: rgba(var(--brand-plum-rgb), 0.8);
  background: linear-gradient(180deg, rgba(var(--brand-plum-rgb), 0.18) 0%, rgba(var(--brand-plum-deep-rgb), 0.12) 100%);
  box-shadow: 0 14px 36px rgba(184, 61, 186, 0.12);
}

.donation-option input:checked + .donation-option-ui .donation-option-mark {
  border-color: rgba(var(--brand-plum-rgb), 1);
  box-shadow: inset 0 0 0 4px rgba(var(--brand-plum-rgb), 1);
}

.donation-custom-wrap {
  margin-top: 16px;
}

.donation-inline-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
}

.donation-option-custom {
  margin-bottom: 12px;
}

.donation-custom-row {
  position: relative;
}

.donation-currency {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 700;
}

.donation-text-input,
.donation-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  box-shadow: none;
}

.donation-text-input {
  height: 56px;
  padding: 0 16px;
}

.donation-custom-row .donation-text-input {
  padding-left: 38px;
}

.donation-textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.donation-text-input::placeholder,
.donation-textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.donation-text-input:focus,
.donation-textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-plum-rgb), 0.7);
  background: rgba(var(--brand-plum-rgb), 0.06);
}

.payment-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-option-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.payment-option input:checked + .payment-option-ui {
  border-color: rgba(var(--brand-plum-rgb), 0.8);
  background: rgba(var(--brand-plum-rgb), 0.16);
  color: #ffffff;
}

.payment-method-panels {
  position: relative;
}

.payment-method-panel {
  display: none;
}

.payment-method-panel.is-active {
  display: block;
}

.payment-method-copy {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.65;
}

.payment-method-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.payment-method-note strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.payment-method-note span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.donation-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.donation-submit {
  width: 100%;
  margin-top: 28px;
}

.donation-success {
  margin-top: 20px;
}

@media (max-width: 991.98px) {
  .donation-layout {
    display: block;
    min-height: auto;
  }

  .donation-shell {
    padding: 36px 28px;
  }

  .donation-header h1 {
    font-size: 46px;
  }
}

@media (max-width: 767.98px) {
  .donation-shell {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .donation-header h1 {
    font-size: 38px;
  }

  .donation-header p {
    font-size: 16px;
  }

  .donation-option-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .donation-option-copy {
    text-align: left;
  }

  .payment-option-grid {
    grid-template-columns: 1fr;
  }
}
