/* ═══════════════════════════════════════════════════════
   CONTESTANT PAGE STYLES — v2
   Built on top of uplift.css. Uses the same dark plum
   background, gold accents, and sparkle vocabulary.
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   1. HERO — gold-bordered headshot on plum gradient
   ───────────────────────────────────────────────────── */
.contestant-hero {
  position: relative;
  padding: 80px 0 70px;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(255,126,201,0.22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(247,215,122,0.14), transparent 60%),
    linear-gradient(180deg, #1a0a26 0%, #2d1147 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(247,215,122,0.25);
}

.contestant-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 18%, rgba(255,255,255,0.9), transparent 50%),
    radial-gradient(1.5px 1.5px at 78% 32%, rgba(247,215,122,0.9), transparent 50%),
    radial-gradient(2px 2px at 25% 72%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1.5px 1.5px at 88% 80%, rgba(255,126,201,0.8), transparent 50%),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(2px 2px at 40% 88%, rgba(247,215,122,0.7), transparent 50%);
  pointer-events: none;
  animation: twinkle 4s ease-in-out infinite;
}

.contestant-hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contestant-headshot-wrap {
  position: relative;
  width: 340px;
  aspect-ratio: 1 / 1;
}

/* Gold conic-gradient halo behind headshot */
.contestant-headshot-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0%,
    rgba(247,215,122,0.55) 20%,
    transparent 40%,
    transparent 60%,
    rgba(255,126,201,0.45) 80%,
    transparent 100%);
  filter: blur(10px);
  animation: spin 10s linear infinite;
  z-index: 0;
}

.contestant-headshot {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(247,215,122,0.85);
  box-shadow:
    0 0 0 6px rgba(26,10,38,0.9),
    0 0 0 7px rgba(247,215,122,0.35),
    0 22px 60px rgba(181,59,140,0.55);
  z-index: 1;
}

.contestant-number-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f7d77a 0%, #fff 50%, #f7d77a 100%);
  color: #1a0a26;
  font-weight: 800;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  padding: 9px 18px;
  border-radius: 999px;
  border: 3px solid #1a0a26;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(247,215,122,0.5);
  z-index: 2;
}

.contestant-identity .eyebrow {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(247,215,122,0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contestant-identity h1 {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-size: 3.6rem;
  line-height: 1.02;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 45%, #fff 65%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contestant-location {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 22px;
}

.contestant-titles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.title-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247,215,122,0.22), rgba(255,126,201,0.18));
  border: 1px solid rgba(247,215,122,0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.contestant-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn-large {
  padding: 18px 36px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

.contestant-pledge {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 0 12px rgba(247,215,122,0.4);
}

/* ─────────────────────────────────────────────────────
   2. TALLY STRIP
   ───────────────────────────────────────────────────── */
.vote-tally-section {
  padding: 36px 0;
  background:
    linear-gradient(90deg, transparent, rgba(247,215,122,0.05), transparent),
    rgba(26,10,38,0.55);
  border-bottom: 1px solid rgba(247,215,122,0.18);
}

.tally-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tally-card {
  text-align: center;
  padding: 24px 18px;
  background: linear-gradient(180deg, rgba(247,215,122,0.10) 0%, rgba(181,59,140,0.18) 100%);
  border: 1px solid rgba(247,215,122,0.25);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.tally-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247,215,122,0.55);
  box-shadow: 0 12px 30px rgba(181,59,140,0.3);
}

.tally-card.tally-countdown {
  background: linear-gradient(180deg, rgba(247,215,122,0.18) 0%, rgba(255,126,201,0.12) 100%);
  border-color: rgba(247,215,122,0.45);
}

.tally-number {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 70%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tally-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(247,215,122,0.35);
}

.tally-sublabel {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-style: italic;
}

/* ─────────────────────────────────────────────────────
   3. VOTE PANEL
   ───────────────────────────────────────────────────── */
.vote-section { padding: 90px 0; }

.vote-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
}

.vote-card {
  padding: 38px 34px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(180deg, rgba(247,215,122,0.10) 0%, rgba(181,59,140,0.22) 100%);
  border: 1px solid rgba(247,215,122,0.30);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.vote-card.vote-paid { border-top: 3px solid var(--gold); }
.vote-card.vote-amoe { border-top: 3px solid var(--primary-light); }

.vote-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.vote-card h2 {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-size: 1.85rem;
  margin: 0 0 10px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(247,215,122,0.3);
  background: none;
  -webkit-text-fill-color: var(--gold);
}

.vote-card-lead {
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
  font-size: 0.97rem;
  line-height: 1.6;
}

.vote-card-lead a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(247,215,122,0.5);
}

.vote-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.vote-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  background: linear-gradient(180deg, rgba(26,10,38,0.7) 0%, rgba(45,17,71,0.7) 100%);
  border: 2px solid rgba(247,215,122,0.30);
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  transition: all 0.18s ease;
  position: relative;
  min-height: 92px;
}

.vote-tier:hover {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(181,59,140,0.35) 0%, rgba(107,31,90,0.55) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247,215,122,0.25);
}

.vote-tier:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.vote-tier-count {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.vote-tier-price {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--gold) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vote-tier-popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(247,215,122,0.18) 0%, rgba(181,59,140,0.35) 100%);
  box-shadow: 0 0 0 1px rgba(247,215,122,0.3), 0 8px 20px rgba(247,215,122,0.18);
}

.vote-tier-badge {
  position: absolute;
  top: -11px;
  background: linear-gradient(135deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
  color: #1a0a26;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(247,215,122,0.4);
}

.vote-fineprint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.5;
  font-style: italic;
}

/* ─── AMOE side ─── */
.amoe-address {
  background: rgba(26,10,38,0.6);
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px dashed rgba(247,215,122,0.45);
  margin-bottom: 20px;
}

.amoe-address-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.amoe-address address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  color: #fff;
  font-family: 'Georgia', serif;
}

.amoe-rules {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

.amoe-rules li {
  padding: 5px 0 5px 26px;
  position: relative;
}

.amoe-rules li::before {
  content: "✦";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 800;
}

/* ─────────────────────────────────────────────────────
   4. BIO CARDS
   ───────────────────────────────────────────────────── */
.bio-section { padding: 90px 0; }

.bio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.bio-card {
  padding: 30px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247,215,122,0.08) 0%, rgba(181,59,140,0.18) 100%);
  border: 1px solid rgba(247,215,122,0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247,215,122,0.5);
  box-shadow: 0 18px 40px rgba(181,59,140,0.3);
}

.bio-card h3 {
  font-family: 'Georgia', serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0 0 14px;
  line-height: 1.3;
}

.bio-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ─────────────────────────────────────────────────────
   5. VIDEO
   ───────────────────────────────────────────────────── */
.video-section {
  padding: 90px 0;
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(247,215,122,0.06), transparent 70%),
    rgba(26,10,38,0.4);
}

.video-wrap {
  max-width: 760px;
  margin: 36px auto 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(247,215,122,0.4);
  box-shadow:
    0 0 0 1px rgba(247,215,122,0.15),
    0 20px 60px rgba(181,59,140,0.4);
  background: #000;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

/* ─────────────────────────────────────────────────────
   6. PHOTO GALLERY
   ───────────────────────────────────────────────────── */
.gallery-section { padding: 90px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.gallery-item {
  margin: 0;
  background: linear-gradient(180deg, rgba(247,215,122,0.10) 0%, rgba(181,59,140,0.20) 100%);
  border: 1px solid rgba(247,215,122,0.25);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(247,215,122,0.6);
  box-shadow: 0 22px 50px rgba(181,59,140,0.4);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  text-align: center;
  padding: 14px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(247,215,122,0.3);
}

/* ─────────────────────────────────────────────────────
   7. ADD-ON BADGES + CLOSET CHALLENGE
   ───────────────────────────────────────────────────── */
.badges-section {
  padding: 80px 0;
  background:
    radial-gradient(800px 500px at 0% 50%, rgba(255,126,201,0.10), transparent 60%),
    rgba(26,10,38,0.35);
}

.badges-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  align-items: start;
}

.addon-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.addon-badge {
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow:
    0 6px 16px rgba(181,59,140,0.4),
    inset 0 0 0 1px rgba(247,215,122,0.4);
}

.closet-column {
  padding: 30px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(247,215,122,0.12) 0%, rgba(181,59,140,0.22) 100%);
  border: 1px solid rgba(247,215,122,0.35);
  border-top: 3px solid var(--gold);
}

.closet-column h3 {
  font-family: 'Georgia', serif;
  color: #fff;
  margin: 8px 0 12px;
}

.closet-column h3 strong {
  background: linear-gradient(135deg, var(--gold) 0%, #fff 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.4em;
}

.closet-column p {
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  line-height: 1.6;
}

.badges-column h3 {
  font-family: 'Georgia', serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.45rem;
  margin: 8px 0 6px;
}

.muted { color: rgba(255,255,255,0.5); font-style: italic; }

/* ─────────────────────────────────────────────────────
   8. SHARE BUTTONS + QR
   ───────────────────────────────────────────────────── */
.share-section { padding: 90px 0; }

.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 36px auto 56px;
  max-width: 720px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 18px;
  background: linear-gradient(180deg, rgba(26,10,38,0.6) 0%, rgba(45,17,71,0.6) 100%);
  border: 2px solid rgba(247,215,122,0.35);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.18s ease;
}

.share-btn:hover {
  background: linear-gradient(180deg, rgba(181,59,140,0.4) 0%, rgba(107,31,90,0.5) 100%);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(247,215,122,0.25);
}

.share-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.share-btn svg { color: var(--gold); }
.share-btn:hover svg { color: #fff; }

/* ─── QR Block ─── */
.qr-block {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247,215,122,0.10) 0%, rgba(181,59,140,0.20) 100%);
  border: 1px solid rgba(247,215,122,0.35);
  max-width: 740px;
  margin: 0 auto;
}

.qr-block h3 {
  font-family: 'Georgia', serif;
  color: var(--gold);
  margin: 8px 0 10px;
  font-size: 1.5rem;
}

.qr-block p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  margin: 0 0 18px;
  line-height: 1.55;
}

.qr-block-image img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  border: 2px solid rgba(247,215,122,0.55);
  display: block;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

/* ─────────────────────────────────────────────────────
   9. FINAL CTA STRIP
   ───────────────────────────────────────────────────── */
.cta-strip {
  position: relative;
  padding: 70px 0;
  background:
    radial-gradient(700px 400px at 50% 50%, rgba(247,215,122,0.18), transparent 60%),
    linear-gradient(135deg, var(--primary-dark) 0%, #2d1147 100%);
  text-align: center;
  border-top: 1px solid rgba(247,215,122,0.4);
  border-bottom: 1px solid rgba(247,215,122,0.4);
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 30%, rgba(255,255,255,0.9), transparent 50%),
    radial-gradient(2px 2px at 82% 60%, rgba(247,215,122,0.9), transparent 50%),
    radial-gradient(1px 1px at 45% 80%, rgba(255,255,255,0.6), transparent 50%);
  pointer-events: none;
  animation: twinkle 5s ease-in-out infinite;
}

.cta-strip h2 {
  font-family: 'Georgia', serif;
  font-weight: 900;
  font-size: 2.2rem;
  margin: 0 0 22px;
  background: linear-gradient(135deg, #fff 0%, var(--gold) 70%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

.cta-strip .btn-row {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────
   10. MOBILE
   ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contestant-hero { padding: 50px 0 50px; }
  .contestant-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .contestant-headshot-wrap {
    width: 240px;
    margin: 0 auto;
  }
  .contestant-identity h1 { font-size: 2.4rem; }
  .contestant-location { font-size: 1.05rem; }
  .contestant-titles-row,
  .contestant-cta-row { justify-content: center; }

  .tally-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tally-number { font-size: 1.9rem; }

  .vote-grid { grid-template-columns: 1fr; }
  .vote-tiers { grid-template-columns: repeat(2, 1fr); }
  .vote-card { padding: 30px 24px; }
  .vote-card h2 { font-size: 1.5rem; }

  .bio-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .badges-grid { grid-template-columns: 1fr; gap: 28px; }

  .share-buttons-grid { grid-template-columns: repeat(2, 1fr); }

  .qr-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }
  .qr-block-image img {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .cta-strip h2 { font-size: 1.7rem; }
}
