/* ============================================================
   FundPromote — shared design system
   Raise it live. Give · Bid · Cheer · Live.
   Built on the shared live-engagement template (TalentSuperstore
   family) in FundPromote's forest / emerald / gold colorway.
   ============================================================ */

:root {
  /* Core palette */
  --forest:   #0C3B2E;  /* primary / backgrounds */
  --emerald:  #1D9E75;  /* brand / primary action */
  --gold:     #FFC24B;  /* donate / progress / match */
  --cream:    #F7F2E7;  /* light surfaces */

  /* Supporting accents */
  --pine:     #11503D;  /* raised surface on dark */
  --bid:      #D85A30;  /* bid / urgency */
  --sage:     #A7D9C4;  /* muted text on dark */
  --hairline: #E7E0CF;  /* borders on light */

  --forest-deep: #082820;
  --ink: #123024;       /* text on light surfaces */
  --muted-ink: #5a6f66;

  --radius: 16px;
  --radius-sm: 11px;
  --radius-pill: 999px;
  --maxw: 1160px;

  --shadow-soft: 0 1px 2px rgba(8,40,32,.06), 0 8px 30px rgba(8,40,32,.08);
  --shadow-lift: 0 2px 6px rgba(8,40,32,.12), 0 20px 50px rgba(8,40,32,.16);

  --font: "Helvetica Neue", Helvetica, "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1rem; }

.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1rem;
}
.eyebrow.on-dark { color: var(--gold); }

.lead { font-size: 1.12rem; color: var(--muted-ink); }
.on-dark .lead, .lead.on-dark { color: var(--sage); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Brand lockup
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo { width: 40px; height: 40px; flex: none; }
.brand .wordmark {
  font-size: 1.3rem; font-weight: 500; letter-spacing: -0.5px; line-height: 1;
}
.brand .wordmark b { font-weight: 500; }
.brand .wordmark .fund { color: var(--forest); }
.brand .wordmark .promote { color: var(--emerald); }
.on-dark .brand .wordmark .fund { color: #fff; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,59,46,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(167,217,196,.16);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--sage); font-size: .95rem; font-weight: 400;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: .98rem; font-weight: 500;
  letter-spacing: -0.2px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, opacity .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-donate { background: var(--gold); color: var(--forest); }
.btn-donate:hover { box-shadow: 0 8px 24px rgba(255,194,75,.35); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(29,158,117,.35); }
.btn-solid { background: var(--forest); color: #fff; }
.btn-bid { background: var(--bid); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--hairline); }
.on-dark .btn-ghost, .btn-ghost.on-dark { color: #fff; border-color: rgba(167,217,196,.4); }
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: var(--sage); background: rgba(167,217,196,.1); }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* ============================================================
   Tags / pills
   ============================================================ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 500; letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.tag-live { background: var(--emerald); color: #fff; }
.tag-live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse 1.6s infinite;
}
.tag-auction { background: #dff0e8; color: var(--forest); }
.tag-match { background: var(--forest); color: #fff; }
.tag-ppv { background: var(--forest); color: #fff; }
.tag-vote { background: var(--gold); color: var(--forest); }
.tag-free { background: var(--hairline); color: var(--muted-ink); }
.on-dark .tag-auction { background: rgba(167,217,196,.16); color: var(--sage); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.85); }
}

/* ============================================================
   Hero — dark forest with concentric-ring motif
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--forest);
  color: #fff;
}
.hero::before {
  /* concentric rings, radiating from top-right — the brand motif */
  content: "";
  position: absolute; top: -10%; right: -18%;
  width: 900px; height: 900px;
  background:
    repeating-radial-gradient(circle at center,
      rgba(167,217,196,0) 0,
      rgba(167,217,196,0) 46px,
      rgba(167,217,196,.10) 47px,
      rgba(167,217,196,.10) 48px);
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, transparent 72%);
          mask-image: radial-gradient(circle at center, #000 55%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 8%, rgba(29,158,117,.20), transparent 45%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center;
  padding: 84px 0 92px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--emerald); }
.hero .tagline {
  font-size: 1.18rem; color: var(--sage); margin-bottom: 32px; max-width: 30ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.8rem; font-weight: 500; color: var(--gold); letter-spacing: -0.5px; }
.hero-stat .lbl { font-size: .82rem; color: var(--sage); letter-spacing: .3px; }

/* ============================================================
   Live player card (the shared "player + rail")
   ============================================================ */
.player {
  background: var(--pine); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lift);
  border: 1px solid rgba(167,217,196,.14);
}
.player-stage {
  position: relative; aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 30% 30%, rgba(29,158,117,.35), transparent 55%),
    linear-gradient(135deg, #0f4636, #0a3125);
  display: flex; align-items: center; justify-content: center;
}
.player-stage .rings {
  position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 68% 40%,
    rgba(167,217,196,0) 0, rgba(167,217,196,0) 30px,
    rgba(167,217,196,.08) 31px, rgba(167,217,196,.08) 32px);
  -webkit-mask-image: radial-gradient(circle at 68% 40%, #000 40%, transparent 70%);
          mask-image: radial-gradient(circle at 68% 40%, #000 40%, transparent 70%);
}
.player-stage .play-btn {
  position: relative; z-index: 2;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s ease, background .15s;
}
.player-stage .play-btn:hover { transform: scale(1.06); background: rgba(255,255,255,.22); }
.player-stage .play-btn svg { margin-left: 4px; }
.player-topbar {
  position: absolute; top: 14px; left: 14px; right: 14px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
}
.player-viewers {
  font-size: .8rem; color: #fff; background: rgba(8,40,32,.5);
  padding: 4px 10px; border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.player-caption {
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.player-caption .ttl { color: #fff; font-weight: 500; font-size: 1.02rem; letter-spacing: -0.3px; }
.player-caption .sub { color: var(--sage); font-size: .84rem; }

/* Rail (list beside/under a player) */
.rail { display: grid; gap: 10px; }
.rail-item {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(167,217,196,.07); border: 1px solid rgba(167,217,196,.12);
}
.rail-item .thumb {
  width: 58px; height: 42px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, #0f4636, #0a3125);
  display:flex; align-items:center; justify-content:center;
}
.rail-item .meta { min-width: 0; }
.rail-item .meta .t { color: #fff; font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-item .meta .s { color: var(--sage); font-size: .78rem; }

/* ============================================================
   Goal thermometer
   ============================================================ */
.thermo {
  background: var(--forest-deep); border-radius: var(--radius);
  padding: 22px 24px; border: 1px solid rgba(167,217,196,.14);
}
.thermo.on-light { background: var(--forest); }
.thermo-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.thermo-raised { color: var(--gold); font-size: 1.7rem; font-weight: 500; letter-spacing: -0.5px; }
.thermo-of { color: var(--sage); font-size: .92rem; }
.thermo-pct { color: #fff; font-size: 1.1rem; font-weight: 500; margin-left: auto; }
.thermo-bar {
  height: 12px; border-radius: var(--radius-pill);
  background: rgba(167,217,196,.16); overflow: hidden;
}
.thermo-fill {
  height: 100%; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--emerald), #34c48f);
  box-shadow: 0 0 16px rgba(29,158,117,.5);
}
.thermo-sub { margin-top: 12px; color: var(--sage); font-size: .84rem; display:flex; gap:16px; flex-wrap:wrap; }

/* ============================================================
   Action bar
   ============================================================ */
.action-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.action-bar .btn { width: 100%; padding: 15px 12px; }
@media (max-width: 620px) { .action-bar { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   Sections on light
   ============================================================ */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { color: var(--forest); margin-bottom: 12px; }
.section-head p { color: var(--muted-ink); font-size: 1.08rem; margin: 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-forest { background: var(--forest); color: #fff; }
.bg-forest h2 { color: #fff; }
.bg-forest .section-head p { color: var(--sage); }

/* ============================================================
   Feature / step cards
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: #e6f4ee; color: var(--emerald);
}
.card h3 { color: var(--forest); margin-bottom: 8px; }
.card p { color: var(--muted-ink); font-size: .96rem; margin: 0; }

/* ============================================================
   Auction lot card
   ============================================================ */
.lot {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.lot:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.lot-img {
  aspect-ratio: 16/10; position: relative;
  background: linear-gradient(135deg, #12503c, #0b3224);
  display:flex; align-items:center; justify-content:center;
}
.lot-img .tag { position: absolute; top: 12px; left: 12px; }
.lot-img .lot-emoji { font-size: 3rem; opacity: .9; }
.lot-body { padding: 18px 20px 20px; display:flex; flex-direction:column; gap: 4px; flex: 1; }
.lot-body h3 { color: var(--forest); font-size: 1.12rem; }
.lot-meta { color: var(--muted-ink); font-size: .84rem; }
.lot-foot {
  margin-top: 14px; display:flex; align-items:center; justify-content:space-between; gap: 12px;
}
.lot-bid .k { color: var(--muted-ink); font-size: .74rem; text-transform: uppercase; letter-spacing: .6px; }
.lot-bid .v { color: var(--forest); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.5px; }
.lot-timer { color: var(--bid); font-weight: 500; font-size: .84rem; }

/* ============================================================
   Donor wall / live feed
   ============================================================ */
.donor-wall {
  background: var(--forest-deep); border-radius: var(--radius);
  padding: 22px 24px; border: 1px solid rgba(167,217,196,.14);
}
.donor-wall h3 { color:#fff; font-size: 1.05rem; margin-bottom: 14px; }
.donor-row {
  display: flex; align-items: baseline; gap: 8px; padding: 9px 0;
  border-bottom: 1px solid rgba(167,217,196,.1); font-size: .92rem;
}
.donor-row:last-child { border-bottom: none; }
.donor-row .name { color: var(--emerald); font-weight: 500; }
.donor-row .name.gold { color: var(--gold); }
.donor-row .act { color: var(--sage); }
.donor-row .amt { color: #fff; margin-left: auto; font-weight: 500; }

/* ============================================================
   Matching window banner
   ============================================================ */
.match-banner {
  background: linear-gradient(120deg, #123f30, #0c3b2e);
  border: 1px solid rgba(255,194,75,.3);
  border-radius: var(--radius); padding: 30px 32px;
  display:flex; align-items:center; gap: 26px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.match-banner .mb-badge {
  width: 66px; height: 66px; border-radius: 16px; flex: none;
  background: rgba(255,194,75,.15); color: var(--gold);
  display:flex; align-items:center; justify-content:center; font-size: 1.8rem;
}
.match-banner h3 { color:#fff; font-size: 1.4rem; margin-bottom: 4px; }
.match-banner p { color: var(--sage); margin:0; }
.match-banner .mb-cta { margin-left: auto; }
.match-banner .mb-timer { color: var(--gold); font-weight:500; font-size: .9rem; }

/* ============================================================
   CTA / SMS strip
   ============================================================ */
.cta-strip {
  background: var(--emerald);
  border-radius: 22px; padding: 54px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 26px; }
.sms-form { display:flex; gap: 10px; justify-content:center; flex-wrap: wrap; }
.sms-form input {
  font-family: var(--font); font-size: 1rem; padding: 14px 18px;
  border-radius: var(--radius-pill); border: none; min-width: 260px;
  background: rgba(255,255,255,.95); color: var(--ink);
}
.sms-form input::placeholder { color: #8aa79c; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--forest-deep); color: var(--sage); padding: 60px 0 34px;
}
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-top .brand .wordmark .fund { color:#fff; }
.footer-blurb { color: var(--sage); font-size: .92rem; margin-top: 16px; max-width: 32ch; }
.footer-col h4 { color:#fff; font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
.footer-col a { display:block; color: var(--sage); font-size: .92rem; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(167,217,196,.14);
  display:flex; align-items:center; justify-content:space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: var(--sage);
}

/* ============================================================
   Utility
   ============================================================ */
.stack-lg > * + * { margin-top: 20px; }
.hide-mobile { }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 68px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
  .match-banner .mb-cta { margin-left: 0; }
}
