/**
 * BestUGC Sponsor page (1.0.116).
 * Podcasters on Facebook sponsorship: broadcast hero with a live stage
 * photo, audience proof, three designed rate panels at the locked prices,
 * the documented group format, priced add-ons. Navy and gold.
 * Mobile-first at 440px; honors prefers-reduced-motion through main.js
 * guards and the keyframes below.
 */

/* ---------- Page backdrop ---------- */
#main:has(.sp-hero) {
  background-color: #060d1a;
  background-image:
    linear-gradient(rgba(224, 181, 99, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 181, 99, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #dfe7f2;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ---------- Hero ---------- */
.sp-hero { position: relative; overflow: hidden; padding: 5.5rem 0 3.5rem; text-align: center;
  background: radial-gradient(95% 75% at 50% 0%, #0d1b33 0%, rgba(6, 13, 26, 0) 72%); }
.sp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(224, 181, 99, .14), transparent 70%),
    radial-gradient(40% 30% at 85% 90%, rgba(255, 77, 46, .06), transparent 70%);
}
.sp-kicker { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 1.1rem; }
.sp-title {
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.6rem, 16vw, 9rem);
  line-height: .88; letter-spacing: .01em; margin: 0 0 1.2rem;
  text-wrap: balance; color: #fff;
}
.sp-title .sp-gold {
  background: linear-gradient(100deg, #f7dc9a 5%, var(--gold-bright) 45%, #c98f2e 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-lede { max-width: 36rem; margin: 0 auto 2rem; font-size: 1.06rem; line-height: 1.6; color: rgba(255,255,255,.82); }
.sp-ctas { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 1rem; }
.sp-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: 1.02rem; text-decoration: none;
  padding: .95rem 1.9rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.sp-btn-gold {
  color: #14100a; background: linear-gradient(100deg, #f7dc9a, var(--gold-bright) 55%, #d29a3f);
  box-shadow: 0 10px 34px rgba(224, 181, 99, .35);
}
.sp-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(224, 181, 99, .45); }
.sp-btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.sp-btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold-bright); color: var(--gold-bright); }
.sp-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* Hero photo: framed at honest size with a gold caption bar. */
.sp-hero-photo {
  margin: 2.6rem auto 0; max-width: 62rem; text-align: left;
  border: 1px solid rgba(224,181,99,.45); border-radius: 14px; overflow: hidden;
  background: #0a1424;
  box-shadow: 0 34px 90px rgba(0,0,0,.6), 0 0 0 6px rgba(224,181,99,.06), 0 0 44px rgba(224,181,99,.10);
}
.sp-hero-photo img { display: block; width: 100%; height: auto; }
.sp-hero-photo figcaption {
  padding: .85rem 1.1rem; color: #14100a;
  background: linear-gradient(100deg, #f7dc9a, var(--gold-bright) 55%, #d29a3f);
  font-weight: 700; font-size: .95rem; line-height: 1.45;
}

/* Headline entrance */
@keyframes sp-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.sp-hero .sp-title { animation: sp-rise .8s cubic-bezier(.2,.8,.2,1) both; }
.sp-hero .sp-lede, .sp-hero .sp-ctas, .sp-hero .sp-kicker { animation: sp-rise .8s .12s cubic-bezier(.2,.8,.2,1) both; }
.sp-hero .sp-meta { animation: sp-rise .8s .22s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .sp-hero .sp-title, .sp-hero .sp-lede, .sp-hero .sp-ctas, .sp-hero .sp-kicker, .sp-hero .sp-meta { animation: none; }
}

/* ---------- Ticker ---------- */
.sp-ticker { border-top: 1px solid rgba(224,181,99,.25); border-bottom: 1px solid rgba(224,181,99,.25); background: rgba(0,0,0,.35); }
.sp-ticker .ticker-track span {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1rem; color: var(--gold-bright); padding: 0 1.4rem;
}

/* ---------- Section headings ---------- */
.sp-head { text-align: center; max-width: 40rem; margin: 0 auto; }
.sp-head h2 {  text-transform: uppercase;  margin: .6rem 0 1rem; color: #fff; }
.sp-head p { color: rgba(255,255,255,.75); line-height: 1.6; margin: 0; }
.sp-head .eyebrow { justify-content: center; }

/* ---------- Audience stats ---------- */
.sp-audience { padding: 4.5rem 0; }
.sp-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(224,181,99,.22); border: 1px solid rgba(224,181,99,.22);
  margin-top: 2.2rem;
}
.sp-stat { background: #0a1424; padding: 1.8rem 1rem; text-align: center; }
.sp-stat-value { font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 800; line-height: 1; color: #fff; }
.sp-stat-label { margin-top: .5rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ---------- Rate tiers: designed pricing panels, never a table ---------- */
.sp-rates { padding: 4.5rem 0; }
.sp-tier-grid { display: grid; gap: 1rem; margin-top: 2.4rem; }
.sp-tier {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid rgba(224,181,99,.28); border-radius: 14px; padding: 1.9rem 1.6rem 1.7rem;
  background: linear-gradient(165deg, rgba(224,181,99,.07), rgba(10,20,36,.65));
  box-shadow: 0 22px 50px rgba(2,6,12,.4);
}
.sp-tier::before {
  content: ""; position: absolute; top: 0; left: 1.6rem; right: 1.6rem; height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(224,181,99,.12));
  border-radius: 0 0 3px 3px;
}
.sp-tier-featured {
  border-color: rgba(224,181,99,.6);
  background: linear-gradient(165deg, rgba(224,181,99,.14), rgba(10,20,36,.6));
  box-shadow: 0 26px 60px rgba(2,6,12,.5), 0 0 38px rgba(224,181,99,.12);
}
.sp-tier-badge {
  align-self: flex-start; margin-bottom: .9rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: .72rem; color: #14100a;
  background: linear-gradient(100deg, #f7dc9a, var(--gold-bright) 55%, #d29a3f);
  padding: .3rem .75rem; border-radius: 999px;
}
.sp-tier-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.3rem; color: var(--gold-bright); margin-bottom: .4rem; }
.sp-tier-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 11vw, 4rem); line-height: 1; color: #fff; }
.sp-tier-term { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: .55rem 0 1rem; }
.sp-tier p { margin: 0 0 1.3rem; color: rgba(255,255,255,.78); line-height: 1.6; }
.sp-tier-scope { list-style: none; margin: auto 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(224,181,99,.22); display: grid; gap: .55rem; }
.sp-tier-scope li { display: flex; gap: .65rem; align-items: baseline; color: rgba(255,255,255,.85); font-size: .92rem; }
.sp-tier-scope li::before { content: "▸"; color: var(--gold-bright); font-weight: 800; }

/* ---------- How it works ---------- */
.sp-how { padding: 4.5rem 0; }
.sp-step-grid { display: grid; gap: 1rem; margin-top: 2.2rem; }
.sp-step {
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1.5rem 1.3rem;
  background: rgba(255,255,255,.03);
}
.sp-step-num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: 2rem; margin-bottom: .7rem;
  background: linear-gradient(100deg, #f7dc9a 5%, var(--gold-bright) 45%, #c98f2e 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-step p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.6; }

/* ---------- Add-ons ---------- */
.sp-addons { padding: 4.5rem 0 2rem; }
.sp-addon-grid { display: grid; gap: 1px; margin-top: 2.2rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.sp-addon {
  background: #0a1424; padding: 1.3rem 1.2rem;
  display: grid; grid-template-columns: 1fr; gap: .5rem;
}
.sp-addon-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; color: #fff; margin-bottom: .3rem; }
.sp-addon-desc { font-size: .9rem; color: rgba(255,255,255,.68); line-height: 1.55; }
.sp-addon-price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--gold-bright); white-space: nowrap; }

/* ---------- CTA band ---------- */
.sp-cta { padding: 5rem 0 6rem; text-align: center; position: relative; overflow: hidden; }
.sp-cta h2 {  text-transform: uppercase;  margin: 0 0 1.2rem; color: #fff; }
.sp-cta p { color: rgba(255,255,255,.78); max-width: 32rem; margin: 0 auto 2rem; line-height: 1.6; }
.sp-cta .sp-ctas { margin-bottom: 0; }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  .sp-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .sp-step-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-addon { grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem; }
}
@media (min-width: 980px) {
  .sp-tier-grid { grid-template-columns: repeat(3, 1fr); }
  .sp-tier-featured { transform: translateY(-10px); }
}
