/* ========== ₹1000 donation engagement page ========== */

.donate-hero-pay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 0.5rem;
}

.donate-amount-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff8e7;
  letter-spacing: -0.02em;
}

.donate-amount-pill small {
  font-size: 0.42em;
  font-weight: 600;
  color: rgba(232, 184, 74, 0.95);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.im-pay-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: min(100%, 340px);
}

.im-pay-wrap > a[rel="im-checkout"],
.im-pay-wrap iframe,
.im-pay-wrap .instamojo {
  max-width: 100% !important;
}

/* Brand-aligned fallover if button.js is slow */
.im-pay-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(160deg, #e2c56a 0%, #c4922a 45%, #9a7320 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 30px rgba(154, 115, 32, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.im-pay-fallback:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 36px rgba(154, 115, 32, 0.36);
}

.im-secure-note {
  font-size: 0.88rem;
  color: rgba(226, 232, 255, 0.72);
  margin: 0;
}

.im-secure-note strong {
  color: #e8b84a;
  font-weight: 600;
}

/* Impact path — one job, no card clutter */
.impact-path {
  display: grid;
  gap: 1.25rem;
  counter-reset: seva;
}

.impact-path-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.25rem 0;
}

.impact-path-item::before {
  counter-increment: seva;
  content: counter(seva, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--saffron-deep);
  line-height: 1.2;
  min-width: 2.2ch;
}

.impact-path-item h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.impact-path-item p {
  margin: 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.trust-strip div {
  padding: 1.1rem 1rem;
  border-top: 2px solid rgba(196, 146, 42, 0.45);
}

.trust-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.pay-stage {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(15, 47, 58, 0.96), rgba(10, 16, 36, 0.96));
  color: #eef2ff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pay-stage::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 65%);
  pointer-events: none;
}

.pay-stage > * {
  position: relative;
  z-index: 1;
}

.pay-stage .donate-amount-pill {
  margin-bottom: 0.35rem;
}

.pay-stage .im-secure-note {
  color: rgba(226, 232, 255, 0.7);
}

.sticky-pay {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 90;
  width: min(100% - 1.5rem, 420px);
  padding: 0.75rem 0.85rem;
  border-radius: 18px;
  background: rgba(10, 16, 36, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 184, 74, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: transform 0.35s var(--ease);
}

.sticky-pay.is-show {
  transform: translateX(-50%) translateY(0);
}

.sticky-pay p {
  margin: 0;
  color: #eef2ff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.sticky-pay p strong {
  display: block;
  color: #e8b84a;
  font-family: var(--font-display);
}

.sticky-pay .im-pay-wrap {
  width: auto;
  min-width: 148px;
}

.sticky-pay .im-pay-wrap > a[rel="im-checkout"] {
  width: auto !important;
  min-width: 140px;
}

@media (max-width: 800px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sticky-pay {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .sticky-pay .im-pay-wrap {
    width: 100%;
  }
}
