/* RCSpotter — Support / donate page (field backdrop shell) */

.rcs-donate-page {
  --donate-text-halo:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.92),
    0 2px 10px rgba(0, 0, 0, 0.82);
}

.rcs-donate-page .rcs-donate-wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 88px;
}

.rcs-donate-chrome .rcs-pilot-chrome-row {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.rcs-donate-back {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-shadow: var(--donate-text-halo);
}

.rcs-donate-back:hover {
  color: #fff;
}

.rcs-donate-hero {
  margin-bottom: 16px;
  padding: 24px 22px 26px;
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rcs-donate-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 222, 128, 0.95);
}

.rcs-donate-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4.5vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.rcs-donate-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.rcs-donate-panel {
  padding: 22px 20px 24px;
  border-radius: 18px;
  background: rgba(11, 18, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.rcs-donate-helps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.rcs-donate-helps li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1.25rem;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.rcs-donate-helps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(74, 222, 128, 0.95);
  font-weight: 800;
}

.rcs-donate-helps-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rcs-donate-methods {
  display: grid;
  gap: 12px;
}

.rcs-donate-method {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.rcs-donate-method--primary {
  border-color: rgba(255, 95, 95, 0.45);
  background: rgba(255, 95, 95, 0.08);
}

.rcs-donate-method--soon {
  opacity: 0.72;
}

.rcs-donate-method-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rcs-donate-method h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.rcs-donate-method p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.rcs-donate-pill {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rcs-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.rcs-donate-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.rcs-donate-btn--kofi {
  background: #ff5f5f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 95, 95, 0.35);
}

.rcs-donate-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.rcs-donate-note {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.rcs-donate-loading {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.rcs-donate-fallback {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.rcs-donate-fallback a {
  color: rgba(74, 222, 128, 0.95);
}

[data-theme="light"] .rcs-donate-back {
  color: rgba(15, 23, 42, 0.88);
  text-shadow: none;
}

[data-theme="light"] .rcs-donate-hero {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .rcs-donate-hero h1,
[data-theme="light"] .rcs-donate-method h2 {
  color: var(--rcs-text, #0f172a);
}

[data-theme="light"] .rcs-donate-lead,
[data-theme="light"] .rcs-donate-helps li,
[data-theme="light"] .rcs-donate-method p {
  color: var(--rcs-text-secondary, #334155);
}

[data-theme="light"] .rcs-donate-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .rcs-donate-method {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .rcs-donate-method--primary {
  background: rgba(255, 95, 95, 0.08);
  border-color: rgba(255, 95, 95, 0.35);
}

[data-theme="light"] .rcs-donate-note,
[data-theme="light"] .rcs-donate-loading,
[data-theme="light"] .rcs-donate-fallback {
  color: var(--rcs-muted, #64748b);
}

.rcs-donate-btn--stripe {
  background: #635bff;
  border: 1px solid #635bff;
  color: #fff;
}

.rcs-donate-btn--stripe:hover {
  filter: brightness(1.06);
}

.rcs-donate-btn--stripe:disabled {
  opacity: 0.65;
  cursor: wait;
}

.rcs-donate-freq,
.rcs-donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.rcs-donate-freq-btn,
.rcs-donate-amt {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rcs-donate-freq-btn.is-on,
.rcs-donate-amt.is-on {
  background: #e8b84a;
  border-color: #e8b84a;
  color: #1c1408;
}

.rcs-donate-custom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 8px;
  margin: 4px 0 16px;
  font-size: 13px;
  font-weight: 600;
}

.rcs-donate-custom > span {
  margin-right: 0;
}

.rcs-donate-custom input {
  margin-left: 0;
  max-width: 160px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font: inherit;
}

.rcs-donate-stripe-err {
  margin: 10px 0 0;
  color: #fca5a5;
  font-size: 13px;
}

[data-theme="light"] .rcs-donate-freq-btn,
[data-theme="light"] .rcs-donate-amt {
  border-color: rgba(15, 23, 42, 0.14);
  background: #fff;
}

[data-theme="light"] .rcs-donate-custom input {
  border-color: rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--rcs-text, #0f172a);
}

@media (min-width: 640px) {
  .rcs-donate-methods {
    grid-template-columns: 1fr;
  }
}
