/* River Riders 2027 — campaign additions (loads after styles.css) */

/* Cards: stack content and pin the button to the bottom */
.support-card { display: flex; flex-direction: column; }
.support-card > .button { margin-top: auto; }
.support-card .tiers { margin-bottom: 18px; }

/* Thank-you gifts per amount */
.perks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; }
.perks a {
  display: grid;
  grid-template-columns: 4.2em 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  background: #eee4cf0d;
  border-radius: 16px;
  border-left: 2px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.perks strong { color: var(--accent); font: 700 1.35rem/1 var(--display); letter-spacing: -.01em; }
.perks span { color: var(--muted); font-size: .82rem; line-height: 1.38; }
.perks b { color: var(--accent); font-weight: 600; }
.perks a:hover, .perks a:focus-visible { background: #eee4cf1c; border-left-color: var(--accent); }
.perks a:hover span { color: var(--paper); }

.card-note {
  margin: 0 0 22px;
  padding-left: 12px;
  border-left: 2px solid #eee4cf2e;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.42;
}

.support__notes { display: grid; gap: 4px; margin-top: 22px; color: var(--muted); font-size: .8rem; max-width: 92ch; }
.support__notes b { color: var(--highlight); }

/* Progress toward the €20K milestone */
.progress { margin: 4px 0 22px; }
.progress__track { position: relative; height: 14px; background: #eee4cf17; border-radius: var(--radius-pill); overflow: hidden; }
.progress__fill {
  position: absolute; inset: 0 auto 0 0;
  width: var(--progress, 0%);
  min-width: 14px;
  background: linear-gradient(90deg, var(--coral), var(--highlight));
  border-radius: inherit;
  transition: width 1.2s cubic-bezier(.2, .7, .2, 1);
}
.progress__text { margin-top: 10px; color: var(--paper); font-size: 1rem; }
.progress__text strong { color: var(--highlight); font: 700 clamp(26px, 2.6vw, 36px)/1 var(--display); letter-spacing: -.01em; margin-right: 4px; }
.progress__meta { margin-top: 2px !important; color: var(--muted); font: .68rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; }

/* Days left in the deadline strip */
.threshold__days:not(:empty)::before { content: "·"; margin: 0 8px; }

/* Thank-you gift shown inside the contribution dialog */
.gift-benefits { color: var(--paper); font-size: .9rem; line-height: 1.45; padding: 10px 14px; background: #eee4cf12; border-radius: 14px; }
.gift-benefits:empty { display: none; }
.gift-benefits b { color: var(--highlight); }

@media (max-width: 690px) {
  .threshold__days { display: block; margin-top: 2px; }
  .threshold__days:not(:empty)::before { content: none; }
  .perks a { grid-template-columns: 3.8em 1fr; padding: 10px 12px; }
}
