.contribute-page {
  color: #f7f5f1;
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 45, 70, 0.28), transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(18, 63, 98, 0.35), transparent 42%),
    linear-gradient(155deg, #121316 0%, #101215 45%, #171d25 100%);
  font-family: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.contribute-page h1,
.contribute-page h2,
.contribute-page h3 {
  font-family: "Libre Baskerville", "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.contribute-shell {
  position: relative;
  padding-top: 110px;
  padding-bottom: 80px;
  overflow: hidden;
}

.contribute-shell::before,
.contribute-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(56px);
  opacity: 0.45;
}

.contribute-shell::before {
  width: 280px;
  height: 280px;
  background: #d62d46;
  top: 140px;
  left: -90px;
}

.contribute-shell::after {
  width: 340px;
  height: 340px;
  background: #123f62;
  bottom: 30px;
  right: -80px;
}

.contribute-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.hero-kicker {
  margin-bottom: 0.8rem;
  color: #f3c1ca;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  color: #fff8ed;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.08;
}

.hero-text {
  margin-top: 1.1rem;
  margin-bottom: 1.25rem;
  color: rgba(246, 244, 240, 0.9);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 39rem;
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.amount-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 0.56rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.amount-chip:hover,
.amount-chip:focus {
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
}

.primary-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #e63950 0%, #c81d34 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(199, 32, 52, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-donate:hover,
.primary-donate:focus {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(199, 32, 52, 0.48);
}

.secure-note {
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: rgba(243, 236, 225, 0.8);
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 48px rgba(7, 9, 12, 0.45);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.impact-panel {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(6, 15, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-panel h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: #f6f0e4;
  font-size: 1.2rem;
}

.impact-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.impact-panel li {
  margin-bottom: 0.5rem;
  color: rgba(245, 240, 232, 0.92);
}

.impact-panel li:last-child {
  margin-bottom: 0;
}

.contribution-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contribution-card {
  border-radius: 0.9rem;
  padding: 1.2rem 1.1rem;
  background: rgba(9, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.contribution-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  color: #fdf5e7;
  font-size: 1.15rem;
}

.contribution-card p {
  margin-bottom: 0;
  color: rgba(243, 239, 232, 0.86);
}

.donate-options {
  margin-top: 2.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.donate-option {
  border-radius: 0.95rem;
  padding: 1.35rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(13, 22, 35, 0.76);
}

.option-label {
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #f3c1ca;
  font-weight: 700;
}

.donate-option h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #fff8ee;
  font-size: 1.3rem;
}

.donate-option p {
  margin-bottom: 0;
  color: rgba(242, 237, 230, 0.87);
  line-height: 1.58;
}

.option-action {
  display: inline-flex;
  margin-top: 0.9rem;
  border-radius: 0.65rem;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  background: #d62d46;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.option-action:hover,
.option-action:focus {
  color: #ffffff;
  text-decoration: none;
  background: #bf2038;
  transform: translateY(-2px);
}

.animate-rise,
.animate-rise-delay,
.animate-rise-late {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.62s ease forwards;
}

.animate-rise-delay {
  animation-delay: 0.14s;
}

.animate-rise-late {
  animation-delay: 0.24s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .contribute-hero {
    grid-template-columns: 1fr;
  }

  .hero-text {
    max-width: none;
  }
}

@media (max-width: 991px) {
  .contribution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contribute-shell {
    padding-top: 95px;
    padding-bottom: 60px;
  }

  .contribution-grid {
    grid-template-columns: 1fr;
  }

  .quick-amounts {
    gap: 0.55rem;
  }

  .amount-chip {
    min-width: 75px;
  }
}

/* ── Chip Active State ── */

.amount-chip-active {
  background: rgba(214, 45, 70, 0.28) !important;
  border-color: var(--kk-accent) !important;
  box-shadow: 0 0 0 2px rgba(214, 45, 70, 0.3);
}

/* ── Custom Amount Input ── */

.custom-amount-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  max-width: 320px;
}

.custom-amount-symbol {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 700;
}

.custom-amount-input {
  flex: 1;
  padding: 0.56rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -moz-appearance: textfield;
}

.custom-amount-input::-webkit-inner-spin-button,
.custom-amount-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-amount-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.custom-amount-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.custom-amount-go {
  padding: 0.56rem 1rem;
  font-size: 0.92rem;
}
