/* Campaign page styles - Dark theme (default, teal-tinted) */
:root, [data-theme="dark"] {
  --bg-dark: #12191c;
  --bg-card: #192226;
  --bg-card-elevated: #1f282c;
  --bg-nav: rgba(18, 25, 28, 0.85);
  --border: #2a3a3f;
  --border-accent: #3a4d52;
  --text-primary: #fafafa;
  --text-secondary: #c8cdd0;
  --text-muted: #9ca3a7;
  --accent-coral: #ff6b5b;
  --accent-coral-hover: #ff5a47;
  --accent-coral-glow: rgba(255, 107, 91, 0.15);
  --accent-mint: #4ade94;
  --accent-mint-glow: rgba(74, 222, 148, 0.12);
  --accent-sky: #5bb4ff;
  --accent-amber: #f59e0b;
  --glow-coral: rgba(255, 107, 91, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Light theme */
[data-theme="light"] {
  --bg-dark: #f8f7f5;
  --bg-card: #ffffff;
  --bg-card-elevated: #ffffff;
  --bg-nav: rgba(248, 247, 245, 0.9);
  --border: #e5e3df;
  --border-accent: #d4d2ce;
  --text-primary: #1a1a1e;
  --text-secondary: #5c5c62;
  --text-muted: #8c8c92;
  --accent-coral: #e85a4b;
  --accent-coral-hover: #d94a3b;
  --accent-coral-glow: rgba(232, 90, 75, 0.1);
  --accent-mint: #1db06a;
  --accent-mint-glow: rgba(29, 176, 106, 0.1);
  --accent-sky: #3a9be0;
  --accent-amber: #d98a08;
  --glow-coral: rgba(232, 90, 75, 0.06);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.campaign-page {
  margin: 0;
  padding: 0;
  font-family: 'Instrument Sans', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  box-sizing: border-box;
  transition: background 0.3s ease, color 0.3s ease;
}

.campaign-page *,
.campaign-page *::before,
.campaign-page *::after {
  box-sizing: border-box;
}

.campaign-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(ellipse 60% 40% at 50% 0%, var(--glow-coral) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.campaign-page .page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.campaign-page .top-bar {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.campaign-page .powered-by {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.campaign-page .powered-by span {
  color: var(--text-secondary);
  font-weight: 600;
}

.campaign-page .giveaway-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.campaign-page .giveaway-status.active {
  color: var(--accent-mint);
}

.campaign-page .giveaway-status.ended {
  color: var(--text-muted);
}

.campaign-page .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: campaign-pulse 2s infinite;
}

.campaign-page .giveaway-status.active .status-dot {
  background: var(--accent-mint);
}

.campaign-page .giveaway-status.ended .status-dot {
  background: var(--text-muted);
  animation: none;
}

@keyframes campaign-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 148, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 222, 148, 0); }
}

/* Main content */
.campaign-page .main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.campaign-page .campaign-container {
  width: 100%;
  max-width: 580px;
  animation: campaign-fadeInUp 0.6s ease-out;
}

@keyframes campaign-fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Creator header */
.campaign-page .creator-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.campaign-page .creator-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  object-fit: cover;
  background: var(--bg-card);
}

.campaign-page .creator-info {
  flex: 1;
}

.campaign-page .creator-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.campaign-page .verified-badge {
  width: 16px;
  height: 16px;
  background: var(--accent-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
}

.campaign-page .creator-channel {
  font-size: 13px;
  color: var(--text-muted);
}

/* Creator branding (shared across tip/link/giveaway pages) */
/* Compact creator branding — horizontal cluster keeps the card near the fold. */
.campaign-page .creator-branding {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.campaign-page .creator-branding-avatar {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: var(--bg-card);
}

.campaign-page .creator-branding-avatar-fallback {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 700;
}

.campaign-page .creator-branding-name {
  grid-column: 2;
  align-self: end;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  text-align: left;
}

.campaign-page .creator-branding-handle {
  grid-column: 2;
  align-self: start;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.campaign-page .creator-branding--link {
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  padding: 6px 10px;
  margin: -6px auto calc(18px - 6px);
  transition: background 0.15s ease;
}
.campaign-page .creator-branding--link:hover {
  background: var(--bg-card-elevated);
}

/* ============================================================
   Ticket — the giveaway entry as a raffle ticket
   ============================================================ */
.campaign-page .ticket {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.11);
}

.campaign-page .ticket-prize {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: #111827;
}
.campaign-page .ticket-prize-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign-page .ticket-prize-empty { position: absolute; inset: 0; background: linear-gradient(135deg, var(--bg-card-elevated) 0%, #111827 100%); }
.campaign-page .ticket-prize--dim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0.66));
}

.campaign-page .ticket-seal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
}
.campaign-page .ticket-seal svg { width: 24px; height: 24px; }
.campaign-page .ticket-seal--in { color: #eafff5; border-color: #7fe9c0; background: rgba(24, 184, 120, 0.30); }
.campaign-page .ticket-seal--lock { color: #e5e7eb; border-color: rgba(229, 231, 235, 0.5); background: rgba(17, 24, 39, 0.4); }
.campaign-page .ticket-winner-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-9deg);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff3d6;
  border: 3px solid #ffd77a;
  border-radius: 10px;
  padding: 6px 22px;
  background: rgba(226, 135, 13, 0.30);
}
.campaign-page .ticket-drawn-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: #fff;
}

.campaign-page .ticket-prize[data-controller~="media-gallery"] .ticket-prize-img { cursor: zoom-in; }
.campaign-page .ticket-photos-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.campaign-page .ticket-photos-badge svg { width: 14px; height: 14px; }

.campaign-page .ticket-face { padding: 15px 20px 4px; }
.campaign-page .ticket-title { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 20px; color: var(--text-primary); margin: 0; line-height: 1.16; }
.campaign-page .ticket-subtitle { font-size: 14px; color: var(--text-secondary); margin: 4px 0 0; }

.campaign-page .ticket-perf { position: relative; height: 22px; }
.campaign-page .ticket-perf::before { content: ""; position: absolute; top: 50%; left: 18px; right: 18px; border-top: 2px dashed var(--border); }

.campaign-page .ticket-stub { padding: 4px 20px 20px; }
.campaign-page .stub-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.campaign-page .stub-row--main { margin-top: 8px; }
.campaign-page .stub-kicker { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); }
.campaign-page .stub-kicker--free { color: var(--accent-mint); }
.campaign-page .stub-strong { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 16px; color: var(--text-primary); }
.campaign-page .stub-meta { font-size: 13px; color: var(--text-secondary); }
.campaign-page .stub-headline { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 20px; color: var(--text-primary); line-height: 1.15; }
.campaign-page .stub-headline--won { color: var(--accent-amber); }
.campaign-page .stub-sub { font-size: 14px; color: var(--text-secondary); margin-top: 5px; line-height: 1.5; }
.campaign-page .stub-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; border-radius: 100px; padding: 3px 10px; margin-top: 10px; }
.campaign-page .stub-chip.subs-only-badge { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }
.campaign-page .stub-chip.subs-only-badge svg { width: 13px; height: 13px; }

.campaign-page .ticket-prog { height: 6px; border-radius: 3px; background: var(--bg-card-elevated); margin-top: 12px; overflow: hidden; border: 1px solid var(--border); }
.campaign-page .ticket-prog span { display: block; height: 100%; border-radius: 3px; background: var(--accent-mint); }

.campaign-page .gate-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* Subscription requirement, one inline line. Shown only to a viewer who
   doesn't qualify — the ticket is about the prize, so the requirement gets a
   sentence, not a panel. Channel names link to the channel, never to a
   subscribe dialog. */
/* Normal text flow, NOT flex — a flex container puts its gap between every
   word, which reads as broken spacing in a sentence. The only managed gap is
   the one between a channel's mark and its name. */
.campaign-page .gate-line {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.campaign-page .gate-line-label { color: var(--text-muted); }

/* Plain inline, not inline-flex: an inline-flex box takes its baseline from
   the icon rather than the text, which floated the channel names above the
   rest of the sentence. The name stays ordinary inline text so its baseline
   matches; the mark is an inline-block nudged onto the same optical line. */
.campaign-page .gate-chan { white-space: nowrap; }

.campaign-page .gate-chan a { color: var(--text-primary); font-weight: 600; text-decoration: none; }
.campaign-page .gate-chan a:hover { text-decoration: underline; }

.campaign-page .gate-chan-mark {
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 2px;
  vertical-align: -0.12em;
  color: var(--accent-coral);
}

.campaign-page .gate-chan-mark svg { display: block; width: 100%; height: 100%; }
.campaign-page .gate-chan--met .gate-chan-mark { color: var(--accent-mint); }

/* button_to wraps in a form; keep Recheck on its own line under the sentence. */
.campaign-page .gate-line form.button_to { display: block; margin-top: 6px; }

.campaign-page .gate-recheck {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-coral);
  cursor: pointer;
  text-decoration: underline;
}

.campaign-page .gate-recheck:hover { opacity: 0.8; }

/* Entry code, collected before the Google hop so a wrong code costs nothing. */
.campaign-page .entry-code-field { margin-bottom: 12px; text-align: left; }

.campaign-page .entry-code-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.campaign-page .entry-code-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card-elevated);
  color: var(--text-primary);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campaign-page .entry-code-input:focus {
  outline: none;
  border-color: var(--accent-coral);
}

.campaign-page .entry-code-input::placeholder { text-transform: none; letter-spacing: normal; color: var(--text-muted); }

.campaign-page .entry-code-hint { margin-top: 6px; font-size: 12px; color: var(--text-muted); }

.campaign-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.campaign-page .stub-winner { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; color: var(--text-secondary); }
.campaign-page .stub-winner svg { width: 18px; height: 18px; color: var(--accent-amber); flex-shrink: 0; }
.campaign-page .stub-winner-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-amber); margin-right: 4px; }
.campaign-page .stub-winner strong { color: var(--text-primary); font-weight: 600; }

.campaign-page .ticket-details-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-coral);
  text-decoration: none;
}
.campaign-page .ticket-details-link svg { width: 14px; height: 14px; }

/* ---- Shareable prize detail page (/@handle/:slug/prize) — wide, two-column ---- */
.campaign-page .prize-container { max-width: 880px; }
.campaign-page .prize-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) {
  .campaign-page .prize-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
}
.campaign-page .prize-info-col { min-width: 0; }
.campaign-page .prize-noimage { aspect-ratio: 1 / 1; border-radius: 12px; background: var(--bg-card-elevated); border: 1px solid var(--border); }
.campaign-page .prize-title { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text-primary); margin: 0; line-height: 1.15; }
.campaign-page .prize-subtitle { font-size: 16px; color: var(--text-secondary); margin: 8px 0 0; line-height: 1.5; }
.campaign-page .prize-value {
  display: inline-block;
  margin-top: 12px;
  background: var(--accent-mint-glow);
  color: var(--accent-mint);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}
.campaign-page .prize-description { margin-top: 16px; color: var(--text-secondary); font-size: 15px; line-height: 1.65; }
.campaign-page .prize-description p { margin: 0 0 12px; }
.campaign-page .prize-description ul,
.campaign-page .prize-description ol { margin: 0 0 12px; padding-left: 1.25em; }
.campaign-page .prize-description li { margin-bottom: 4px; }
.campaign-page .prize-description strong { color: var(--text-primary); }
.campaign-page .prize-description a { color: var(--accent-coral); }
.campaign-page .prize-description h2,
.campaign-page .prize-description h3 { font-family: 'Fraunces', Georgia, serif; color: var(--text-primary); margin: 16px 0 8px; }

.campaign-page .prize-actions { margin-top: 24px; }
.campaign-page .prize-actions .cta-button { display: inline-flex; align-items: center; justify-content: center; width: 100%; }
.campaign-page .prize-note { font-size: 13px; color: var(--text-muted); margin-top: 11px; text-align: center; }

.campaign-page .ticket-actions { max-width: 400px; margin: 16px auto 0; display: flex; flex-direction: column; gap: 12px; }
.campaign-page .ticket-actions .gv-next-note { margin: 0; }
.campaign-page .ticket-actions .trust-note { margin: 0; }

/* Pop-in used by ticket seals, the winner stamp, and the spotlight avatar. */
@keyframes gv-pop {
  0% { transform: scale(0); opacity: 0; }
  55% { transform: scale(1.18); }
  100% { transform: scale(1); opacity: 1; }
}
.campaign-page .gv-pop { animation: gv-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) both; }

/* Note under the winner's claim button (won state). */
.campaign-page .gv-claim-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* ---- Next-giveaway note (lost / ended) ---- */
.campaign-page .gv-next-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px 20px 4px;
  padding: 13px 14px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
}
.campaign-page .gv-next-note svg { width: 20px; height: 20px; color: var(--accent-coral); flex-shrink: 0; margin-top: 1px; }
.campaign-page .gv-next-note div { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* Campaign card */
.campaign-page .campaign-card {
  background: var(--bg-card);
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(17, 24, 39, 0.1), 0 8px 10px -6px rgba(17, 24, 39, 0.1);
}

.campaign-page .campaign-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.campaign-page .campaign-banner-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--bg-card-elevated) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-page .campaign-banner-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Campaign body */
.campaign-page .campaign-body {
  padding: 28px 28px 32px;
}

.campaign-page .campaign-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Subs-only badge */
.campaign-page .subs-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(91, 180, 255, 0.12);
  border: 1px solid rgba(91, 180, 255, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-sky);
  margin-bottom: 16px;
}

.campaign-page .subs-only-badge svg {
  width: 14px;
  height: 14px;
}

/* Description */
.campaign-page .campaign-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.campaign-page .campaign-description p {
  margin-bottom: 14px;
}

.campaign-page .campaign-description p:last-child {
  margin-bottom: 0;
}

.campaign-page .campaign-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.campaign-page .campaign-description em {
  color: var(--text-secondary);
  font-style: italic;
}

.campaign-page .campaign-description ul {
  margin: 14px 0;
  padding-left: 20px;
}

.campaign-page .campaign-description li {
  margin-bottom: 8px;
}

.campaign-page .campaign-description a {
  color: var(--accent-coral);
  text-decoration: none;
}

.campaign-page .campaign-description a:hover {
  text-decoration: underline;
}

/* Meta info */
.campaign-page .campaign-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.campaign-page .meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.campaign-page .meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.campaign-page .meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* CTA Section */
.campaign-page .cta-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.campaign-page .cta-section {
  padding: 0 28px 28px;
}

.campaign-page .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.campaign-page .cta-button.primary {
  background: var(--accent-coral);
  color: #fff;
}

.campaign-page .cta-button.primary:hover {
  background: var(--accent-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(255, 107, 91, 0.4);
}

.campaign-page .cta-button svg {
  width: 20px;
  height: 20px;
}

.campaign-page .cta-subtext {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.campaign-page .cta-subtext a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Subscribe prompt */
.campaign-page .subscribe-prompt {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.campaign-page .subscribe-prompt-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.campaign-page .subscribe-prompt-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.campaign-page .subscribe-prompt-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.campaign-page .subscribe-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid #ff0000;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.campaign-page .subscribe-link:hover {
  background: rgba(255, 0, 0, 0.08);
  transform: translateY(-1px);
}

.campaign-page .subscribe-link svg {
  width: 18px;
  height: 18px;
  color: #ff0000;
}

.campaign-page .recheck-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--accent-coral);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.campaign-page .recheck-button svg { width: 18px; height: 18px; color: var(--accent-coral); }

.campaign-page .recheck-button:hover {
  background: var(--accent-coral-glow);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Entry confirmed */
.campaign-page .entry-confirmed {
  background: var(--accent-mint-glow);
  border: 1px solid rgba(74, 222, 148, 0.25);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.campaign-page .entry-confirmed-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--bg-dark);
}

.campaign-page .entry-confirmed-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.campaign-page .entry-confirmed-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.campaign-page .entry-confirmed-email {
  font-weight: 500;
  color: var(--text-primary);
}

.campaign-page .entry-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 8px 14px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
}

.campaign-page .entry-count strong {
  color: var(--text-primary);
}

/* Footer */
.campaign-page .page-footer {
  margin-top: auto;
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.campaign-page .page-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.campaign-page .page-footer a:hover {
  text-decoration: underline;
}

.campaign-page .page-footer a.promo-link {
  color: var(--text-muted);
}

.campaign-page .page-footer a.promo-link span {
  color: var(--text-secondary);
  font-weight: 600;
}

.campaign-page .page-footer a.promo-link:hover {
  color: var(--text-secondary);
}

.campaign-page .page-footer a.promo-link:hover span {
  color: var(--accent-coral);
}

.campaign-page .page-footer-brand {
  margin-bottom: 4px;
}

.campaign-page .page-footer-brand a {
  font-weight: 600;
}

/* Flash messages */
.campaign-page .campaign-flash {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 320px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: campaign-slideIn 0.3s ease-out;
}

.campaign-page .campaign-flash.notice {
  background: #e0f7eb;
  border: 1px solid rgba(74, 222, 148, 0.25);
  color: var(--accent-mint);
}

.campaign-page .campaign-flash.alert {
  background: #fde8e5;
  border: 1px solid rgba(255, 107, 91, 0.25);
  color: var(--accent-coral);
}

@keyframes campaign-slideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  /* Desktop's generous frame wastes a phone's screen: pull the page padding
     and the creator-identity block in so the ticket leads. Top-align instead
     of vertically centering — on short states (ended/won) centering strands
     the ticket mid-screen below a large empty gap. */
  .campaign-page .main-content {
    padding: 20px 16px 32px;
    align-items: flex-start;
  }

  .campaign-page .creator-branding {
    margin-bottom: 14px;
  }

  .campaign-page .creator-branding-avatar {
    width: 40px;
    height: 40px;
  }

  .campaign-page .creator-branding-name {
    font-size: 16px;
  }

  .campaign-page .campaign-body {
    padding: 24px 20px 28px;
  }

  .campaign-page .cta-section {
    padding: 0 20px 24px;
  }

  .campaign-page .campaign-title {
    font-size: 22px;
  }

  .campaign-page .campaign-meta {
    flex-wrap: wrap;
    gap: 16px;
  }

  .campaign-page .meta-item {
    min-width: calc(50% - 8px);
  }
}

/* ==========================================================================
   NEW: Campaign Page Redesign Styles
   ========================================================================== */

/* Banner image with 16:10 aspect ratio */
.campaign-page .campaign-banner-container {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
}

.campaign-page .campaign-banner-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title row with video link */
.campaign-page .title-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.campaign-page .title-content {
  flex: 1;
  min-width: 0;
}

.campaign-page .title-row h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.campaign-page .title-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Video link inline (in title row) */
.campaign-page .video-link-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  flex-shrink: 0;
  padding-top: 4px;
  transition: color 0.2s ease;
}

.campaign-page .video-link-inline:hover {
  color: #ff0000;
}

.campaign-page .video-link-inline svg {
  width: 16px;
  height: 16px;
  color: #ff0000;
}

.campaign-page .video-link-inline .video-text-full {
  display: none;
}

.campaign-page .video-link-inline .video-text-short {
  display: inline;
}

@media (min-width: 480px) {
  .campaign-page .video-link-inline .video-text-full {
    display: inline;
  }
  .campaign-page .video-link-inline .video-text-short {
    display: none;
  }
}

/* Stats row */
.campaign-page .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-card-elevated);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.campaign-page .stat-item {
  padding: 16px 8px;
  border-right: 1px solid var(--border);
}

.campaign-page .stat-item:last-child {
  border-right: none;
}

.campaign-page .stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.campaign-page .stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.campaign-page .stat-item.pulse .stat-value {
  color: var(--accent-coral);
  animation: campaign-pulse-text 2s ease-in-out infinite;
}

@keyframes campaign-pulse-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Entry section */
.campaign-page .entry-section {
  padding: 24px;
}

/* Subscription requirement badge (no link) */
.campaign-page .subscription-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(91, 180, 255, 0.1);
  border: 1px solid rgba(91, 180, 255, 0.2);
  border-radius: 10px;
  margin-bottom: 20px;
}

.campaign-page .subscription-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent-sky);
}

.campaign-page .subscription-badge span {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-sky);
}

/* CTA button with shimmer */
@keyframes campaign-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.campaign-page .cta-button.shimmer {
  background: linear-gradient(
    90deg,
    var(--accent-coral) 0%,
    var(--accent-coral) 40%,
    #ff8a7d 50%,
    var(--accent-coral) 60%,
    var(--accent-coral) 100%
  );
  background-size: 200% auto;
  animation: campaign-shimmer 3s linear infinite;
}

/* Trust note */
.campaign-page .trust-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

.campaign-page .trust-note a {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* Skeleton loading placeholders */
@keyframes campaign-skeleton-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.campaign-page .skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card-elevated) 0px,
    rgba(255, 255, 255, 0.1) 40px,
    var(--bg-card-elevated) 80px
  );
  background-size: 200px 100%;
  animation: campaign-skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

/* Ghost CTA button */
.campaign-page .cta-button-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: var(--bg-card-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: default;
}

/* Expandable details */
.campaign-page .expandable-details {
  margin-top: 20px;
}

.campaign-page .expandable-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
}

.campaign-page .expandable-details summary::-webkit-details-marker {
  display: none;
}

.campaign-page .expandable-details summary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.campaign-page .expandable-details[open] summary svg {
  transform: rotate(90deg);
}

.campaign-page .expandable-details summary:hover {
  color: var(--text-secondary);
}

.campaign-page .details-content {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.campaign-page .details-content p {
  margin-bottom: 12px;
}

.campaign-page .details-content p:last-child {
  margin-bottom: 0;
}

.campaign-page .details-content strong {
  color: var(--text-primary);
}

/* ==========================================================================
   POST-ENTRY CONFIRMATION STYLES
   ========================================================================== */

/* Success hero */
.campaign-page .success-hero {
  background: linear-gradient(135deg, var(--accent-mint-glow) 0%, rgba(74, 222, 148, 0.05) 100%);
  padding: 40px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(74, 222, 148, 0.2);
}

@keyframes campaign-checkmark {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.campaign-page .success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: campaign-checkmark 0.5s ease-out forwards;
}

.campaign-page .success-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.campaign-page .success-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.campaign-page .success-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

.campaign-page .success-hero strong {
  color: var(--text-primary);
}

/* Entry details row */
.campaign-page .entry-details {
  padding: 20px 24px;
  background: var(--bg-card-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.campaign-page .entry-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign-page .entry-avatar {
  width: 40px;
  height: 40px;
  background: var(--border);
  border-radius: 50%;
  overflow: hidden;
}

.campaign-page .entry-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-page .entry-email {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.campaign-page .entry-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.campaign-page .entry-status.verified {
  color: var(--accent-mint);
}

.campaign-page .entry-status.not-verified {
  color: var(--accent-amber);
}

.campaign-page .entry-status svg {
  width: 14px;
  height: 14px;
}

.campaign-page .entry-number {
  text-align: right;
}

.campaign-page .entry-number-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.campaign-page .entry-number-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Video card (post-entry) */
.campaign-page .video-card {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.campaign-page .video-card-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.campaign-page .video-card-link:hover {
  border-color: var(--border-accent);
  background: var(--bg-card);
}

.campaign-page .video-thumbnail {
  width: 80px;
  height: 56px;
  background: #1e293b;
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.campaign-page .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-page .video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-page .video-play-btn span {
  width: 32px;
  height: 32px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.campaign-page .video-card-link:hover .video-play-btn span {
  transform: scale(1.1);
}

.campaign-page .video-play-btn svg {
  width: 12px;
  height: 12px;
  color: white;
  margin-left: 2px;
}

.campaign-page .video-info {
  flex: 1;
  min-width: 0;
}

.campaign-page .video-info-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.campaign-page .video-info-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.campaign-page .video-card-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.campaign-page .video-card-link:hover .video-card-arrow {
  color: var(--text-secondary);
}

.campaign-page .video-card-arrow svg {
  width: 16px;
  height: 16px;
}

/* What happens next */
.campaign-page .next-steps {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.campaign-page .next-steps h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.campaign-page .next-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaign-page .next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.campaign-page .step-number {
  width: 22px;
  height: 22px;
  background: var(--accent-coral-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.campaign-page .step-number span {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-coral);
}

.campaign-page .next-steps-list strong {
  color: var(--text-primary);
}

/* Share section */
.campaign-page .share-section {
  padding: 24px;
  background: linear-gradient(135deg, var(--accent-coral-glow) 0%, rgba(255, 107, 91, 0.05) 100%);
  border-bottom: 1px solid rgba(255, 107, 91, 0.15);
}

.campaign-page .share-section h3 {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 16px 0;
}

.campaign-page .share-buttons {
  display: flex;
  gap: 12px;
}

.campaign-page .share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.campaign-page .share-btn.twitter {
  background: #1DA1F2;
  color: white;
}

.campaign-page .share-btn.twitter:hover {
  background: #1a8cd8;
}

.campaign-page .share-btn.copy {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.campaign-page .share-btn.copy:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-accent);
}

.campaign-page .share-btn svg {
  width: 18px;
  height: 18px;
}

/* Back to channel link */
.campaign-page .back-to-channel {
  text-align: center;
  padding: 24px;
}

.campaign-page .back-to-channel a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.campaign-page .back-to-channel a:hover {
  color: var(--text-primary);
}

.campaign-page .back-to-channel svg {
  width: 20px;
  height: 20px;
  color: #ff0000;
}

/* Account actions (withdraw, sign out) */
.campaign-page .account-actions {
  text-align: center;
  padding: 8px 24px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Subscription warning in confirmation */
.campaign-page .subscription-warning {
  padding: 20px 24px;
  background: rgba(245, 158, 11, 0.1);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.campaign-page .subscription-warning-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.campaign-page .subscription-warning-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.campaign-page .subscription-warning-text {
  flex: 1;
}

.campaign-page .subscription-warning-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
}

.campaign-page .subscription-warning-text strong {
  color: var(--text-primary);
}

.campaign-page .subscription-warning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.campaign-page .subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #ff0000;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.campaign-page .subscribe-btn:hover {
  background: #cc0000;
}

.campaign-page .subscribe-btn svg {
  width: 16px;
  height: 16px;
}

.campaign-page .recheck-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 0;
}

.campaign-page .recheck-btn:hover {
  color: var(--text-secondary);
}

/* Animation delays for fade-in */
@keyframes campaign-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.campaign-page .fade-in-1 {
  animation: campaign-fadeIn 0.4s ease-out 0.3s forwards;
  opacity: 0;
}

.campaign-page .fade-in-2 {
  animation: campaign-fadeIn 0.4s ease-out 0.5s forwards;
  opacity: 0;
}

.campaign-page .fade-in-3 {
  animation: campaign-fadeIn 0.4s ease-out 0.7s forwards;
  opacity: 0;
}

/* Responsive adjustments for new styles */
@media (max-width: 600px) {
  .campaign-page .title-row {
    padding: 16px 20px;
  }

  .campaign-page .title-row h1 {
    font-size: 20px;
  }

  .campaign-page .entry-section {
    padding: 20px;
  }

  .campaign-page .success-hero {
    padding: 32px 20px;
  }

  .campaign-page .success-hero h1 {
    font-size: 24px;
  }

  .campaign-page .entry-details {
    padding: 16px 20px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .campaign-page .entry-number {
    text-align: left;
  }

  .campaign-page .video-card {
    padding: 16px 20px;
  }

  .campaign-page .video-card-link {
    gap: 12px;
    padding: 10px;
  }

  .campaign-page .video-thumbnail {
    width: 64px;
    height: 45px;
  }

  .campaign-page .next-steps {
    padding: 20px;
  }

  .campaign-page .share-section {
    padding: 20px;
  }

  .campaign-page .share-buttons {
    flex-direction: column;
  }

  .campaign-page .subscription-warning {
    padding: 16px 20px;
  }

  .campaign-page .subscription-warning-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .campaign-page .subscribe-btn {
    justify-content: center;
  }

  .campaign-page .recheck-btn {
    text-align: center;
    padding: 8px;
  }

}

/* ==========================================================================
   CAMPAIGN PAGE REFACTOR: Additional Component Styles
   ========================================================================== */

/* Countdown Timer */
.campaign-page .countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 0 8px;
}

.campaign-page .countdown-unit {
  text-align: center;
  min-width: 48px;
}

.campaign-page .countdown-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.campaign-page .countdown-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.campaign-page .countdown-separator {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}

/* Trophy Hero for concluded state */
.campaign-page .trophy-hero {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.campaign-page .trophy-hero .trophy-icon {
  font-size: 64px;
  margin-bottom: 12px;
}

.campaign-page .trophy-hero .trophy-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #92400e;
}

/* Lock overlay for not subscribed state */
.campaign-page .banner-lock-container {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.campaign-page .banner-lock-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
}

.campaign-page .banner-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.campaign-page .banner-lock-icon {
  font-size: 48px;
}

.campaign-page .banner-lock-text {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

/* Status bar (unified grid) */
.campaign-page .status-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-card-elevated);
  text-align: center;
}

.campaign-page .status-item {
  padding: 12px 8px;
  border-right: 1px solid var(--border);
}

.campaign-page .status-item:last-child {
  border-right: none;
}

.campaign-page .status-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.campaign-page .status-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Verification badges in status bar */
.campaign-page .verification-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
}

.campaign-page .verification-verified {
  color: var(--accent-mint);
}

.campaign-page .verification-pending {
  color: var(--accent-amber);
}

.campaign-page .verification-status svg {
  width: 14px;
  height: 14px;
}

/* Action zone styles */
.campaign-page .action-zone {
  padding: 24px;
}

.campaign-page .action-zone-success {
  background: linear-gradient(135deg, var(--accent-mint-glow) 0%, rgba(74, 222, 148, 0.05) 100%);
  border-bottom: 1px solid rgba(74, 222, 148, 0.2);
  padding: 24px;
  text-align: center;
}

.campaign-page .action-success-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.campaign-page .action-success-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.campaign-page .action-success-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.campaign-page .action-success-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Warning action zone for not subscribed */
.campaign-page .action-zone-warning {
  background: rgba(245, 158, 11, 0.1);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: 24px;
}

.campaign-page .warning-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.campaign-page .warning-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.campaign-page .warning-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.campaign-page .warning-text strong {
  color: var(--text-primary);
}

.campaign-page .warning-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* Concluded action zone */
.campaign-page .action-zone-concluded {
  padding: 24px;
  text-align: center;
}

.campaign-page .concluded-message {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.campaign-page .channel-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.campaign-page .channel-link-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-accent);
}

.campaign-page .channel-link-btn svg {
  width: 20px;
  height: 20px;
  color: #ff0000;
}

/* Secondary zone */
.campaign-page .secondary-zone {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

/* Countdown hero overlay for waiting state */
.campaign-page .countdown-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 24px;
  padding-top: 48px;
}

.campaign-page .countdown-hero-title {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-align: center;
}

.campaign-page .countdown-hero-timer {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.campaign-page .countdown-hero-unit {
  text-align: center;
}

.campaign-page .countdown-hero-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.campaign-page .countdown-hero-label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   WAITING STATE (State 3) - Redesigned Components
   ========================================================================== */

/* Countdown hero - image with dark overlay */
.campaign-page .countdown-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #111827;
  overflow: hidden;
}

.campaign-page .countdown-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-page .countdown-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.campaign-page .countdown-hero-title {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.campaign-page .countdown-hero-boxes {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.campaign-page .countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.campaign-page .countdown-box-value {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, #1f2937 0%, #111827 50%, #1f2937 100%);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  color: white;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

.campaign-page .countdown-box-value-accent {
  color: var(--accent-coral);
}

.campaign-page .countdown-box-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

.campaign-page .countdown-hero-date {
  font-size: 12px;
  color: #6b7280;
  margin-top: 12px;
}

/* YouTube icon link (in title row) */
.campaign-page .video-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.campaign-page .video-icon-link:hover {
  color: #dc2626;
}

.campaign-page .video-icon-link svg {
  width: 16px;
  height: 16px;
}

/* Verification checkmark (just icon, no text) */
.campaign-page .verification-checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  font-size: 16px;
  font-weight: 700;
}

.campaign-page .verification-checkmark svg {
  width: 18px;
  height: 18px;
}

.campaign-page .verification-pending-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
}

.campaign-page .verification-pending-icon svg {
  width: 18px;
  height: 18px;
}

/* Success banner (green rounded box) */
.campaign-page .success-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 20px 0;
  padding: 12px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #166534;
  font-size: 14px;
  font-weight: 500;
}

.campaign-page .success-banner svg {
  width: 20px;
  height: 20px;
  color: #16a34a;
}

/* Compact share section */
.campaign-page .share-section-compact {
  padding: 20px;
  text-align: center;
}

.campaign-page .share-label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 12px;
}

.campaign-page .share-buttons-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.campaign-page .share-btn-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
  flex: 1;
}

.campaign-page .share-btn-compact.copy {
  background: #111827;
  color: white;
}

.campaign-page .share-btn-compact.copy:hover {
  background: #1f2937;
}

.campaign-page .share-btn-compact.facebook {
  background: #1877f2;
  color: white;
}

.campaign-page .share-btn-compact.facebook:hover {
  background: #166fe5;
}

.campaign-page .share-btn-compact svg {
  width: 16px;
  height: 16px;
}

.campaign-page .email-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Account actions row (horizontal) */
.campaign-page .account-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px 24px;
  font-size: 13px;
}

.campaign-page .account-action-link-coral {
  background: none;
  border: none;
  color: var(--accent-coral);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  padding: 0;
}

.campaign-page .account-action-link-coral:hover {
  text-decoration: underline;
}

/* Back to channel card (outside main card) */
.campaign-page .back-to-channel-card {
  margin-top: 16px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.campaign-page .back-to-channel-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  color: #6b7280;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.campaign-page .back-to-channel-card a:hover {
  background: rgba(254, 202, 202, 0.2);
  border-color: #fecaca;
  color: #111827;
}

.campaign-page .back-to-channel-card svg {
  width: 20px;
  height: 20px;
  color: #ef4444;
}

/* Responsive for new components */
@media (max-width: 600px) {
  .campaign-page .countdown-timer {
    gap: 8px;
  }

  .campaign-page .countdown-value {
    font-size: 22px;
  }

  .campaign-page .countdown-unit {
    min-width: 40px;
  }

  .campaign-page .countdown-hero {
    padding: 20px;
  }

  .campaign-page .countdown-box-value {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .campaign-page .countdown-box {
    min-width: 48px;
  }

  .campaign-page .trophy-hero .trophy-icon {
    font-size: 48px;
  }

  .campaign-page .trophy-hero .trophy-text {
    font-size: 16px;
  }

  .campaign-page .action-zone {
    padding: 20px;
  }

  .campaign-page .action-zone-success,
  .campaign-page .action-zone-warning,
  .campaign-page .action-zone-concluded {
    padding: 20px;
  }

  .campaign-page .secondary-zone {
    padding: 16px 20px;
  }

  .campaign-page .countdown-hero-value {
    font-size: 24px;
  }

  .campaign-page .countdown-hero-timer {
    gap: 12px;
  }

  .campaign-page .share-section-compact {
    padding: 16px 20px;
  }

  .campaign-page .share-buttons-row {
    flex-direction: column;
  }

  .campaign-page .share-btn-compact {
    min-width: 100%;
  }
}

/* ==========================================================================
   SURVEY STEPPER
   ========================================================================== */

.survey-stepper {
  min-height: 100vh;
}

/* Progress bar */
.survey-progress-track {
  width: 100%;
  height: 4px;
  background: var(--border);
}

.survey-progress-bar {
  height: 4px;
  background: var(--accent-coral);
  transition: width 0.3s ease;
}

/* Content container */
.survey-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* Header */
.survey-header {
  text-align: center;
  margin-bottom: 24px;
}

.survey-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.survey-community {
  font-size: 14px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.survey-progress-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 8px 0 0;
}

/* Question card */
.survey-card {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
}

.survey-question-text {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.survey-required-star {
  color: var(--accent-coral);
}

.survey-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Choice option labels */
.survey-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 8px;
}

.survey-choice:hover {
  border-color: var(--accent-coral);
}

.survey-choice:has(input:checked) {
  border-color: var(--accent-coral);
  background: rgba(232, 90, 75, 0.06);
}

.survey-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.survey-choice-label {
  font-size: 14px;
  color: var(--text-primary);
}

/* Custom radio indicator */
.survey-radio-ring {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.survey-radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-coral);
  display: none;
}

.survey-choice:has(input:checked) .survey-radio-ring {
  border-color: var(--accent-coral);
}

.survey-choice:has(input:checked) .survey-radio-dot {
  display: block;
}

/* Custom checkbox indicator */
.survey-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.survey-check-icon {
  width: 12px;
  height: 12px;
  color: white;
  display: none;
}

.survey-choice:has(input:checked) .survey-check-box {
  border-color: var(--accent-coral);
  background: var(--accent-coral);
}

.survey-choice:has(input:checked) .survey-check-icon {
  display: flex;
}

/* Text inputs */
.survey-text-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-top: 16px;
  box-sizing: border-box;
}

.survey-text-input::placeholder {
  color: var(--text-muted);
}

.survey-text-input:focus {
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(232, 93, 76, 0.1);
}

textarea.survey-text-input {
  resize: none;
}

/* Binary options (Yes/No, Like/Dislike) */
.survey-binary-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.survey-binary-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  border: 2px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-secondary);
}

.survey-binary-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.survey-binary-option:hover {
  border-color: var(--accent-coral);
  background: var(--accent-coral-glow);
}

.survey-binary-option:has(input:checked) {
  border-color: var(--accent-coral);
  background: var(--accent-coral-glow);
  color: var(--text-primary);
}

.survey-binary-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.survey-binary-icon.yes { color: var(--text-muted); }
.survey-binary-icon.no { color: var(--text-muted); }
.survey-binary-icon.like { color: var(--text-muted); }
.survey-binary-icon.dislike { color: var(--text-muted); }

.survey-binary-option:has(input:checked) .survey-binary-icon.yes { color: #22c55e; }
.survey-binary-option:has(input:checked) .survey-binary-icon.no { color: #ef4444; }
.survey-binary-option:has(input:checked) .survey-binary-icon.like { color: #22c55e; }
.survey-binary-option:has(input:checked) .survey-binary-icon.dislike { color: #ef4444; }

/* Word Prompt */
.survey-word-prompt {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.survey-word-stem {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.6;
}

.survey-word-input {
  flex: 1;
  min-width: 150px;
  padding: 4px 8px;
  border: none;
  border-bottom: 2px solid var(--accent-coral);
  background: var(--accent-coral-glow);
  border-radius: 4px 4px 0 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  outline: none;
}

.survey-word-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.survey-word-input:focus {
  background: rgba(232, 93, 76, 0.12);
}

/* Number Scale */
.survey-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.survey-scale-grid {
  display: grid;
  grid-template-columns: repeat(var(--scale-count, 10), 1fr);
  gap: 6px;
}

.survey-scale-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card-elevated);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.survey-scale-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.survey-scale-btn:hover {
  border-color: var(--accent-coral);
  background: var(--accent-coral-glow);
}

.survey-scale-btn:has(input:checked) {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: white;
}

/* Emoji Scale */
.survey-emoji-group {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.survey-emoji-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card-elevated);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.survey-emoji-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.survey-emoji-face {
  font-size: 28px;
  line-height: 1;
}

.survey-emoji-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.survey-emoji-option:hover {
  border-color: var(--accent-coral);
  background: var(--accent-coral-glow);
}

.survey-emoji-option:has(input:checked) {
  border-color: var(--accent-coral);
  background: var(--accent-coral-glow);
}

.survey-emoji-option:has(input:checked) .survey-emoji-label {
  color: var(--accent-coral);
}

/* Slider */
.survey-slider-wrap {
  padding: 8px 0;
}

.survey-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.survey-slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

.survey-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-coral);
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.survey-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-coral);
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.survey-slider-readout {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.survey-slider-value {
  font-weight: 600;
  color: var(--accent-coral);
}

/* Ranking question */
.survey-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.survey-ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: grab;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.survey-ranking-item:hover {
  border-color: var(--border-accent);
}

.survey-ranking-dragging {
  opacity: 0.5;
}

.survey-ranking-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-coral);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.survey-ranking-label {
  flex: 1;
  font-size: 15px;
  color: var(--text-primary);
}

.survey-ranking-arrows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.survey-ranking-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.survey-ranking-arrow-btn:hover {
  color: var(--accent-coral);
  border-color: var(--accent-coral);
}

/* Points budget question */
.survey-budget-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.survey-budget-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.survey-budget-label {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.survey-budget-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.survey-budget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card-elevated);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.survey-budget-btn:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

.survey-budget-points {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 32px;
  text-align: center;
}

.survey-budget-bar-track {
  height: 6px;
  background: var(--bg-card-elevated);
  border-radius: 3px;
  overflow: hidden;
}

.survey-budget-bar-fill {
  height: 100%;
  background: var(--accent-coral);
  border-radius: 3px;
  transition: width 0.2s ease;
}

.survey-budget-total {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Display card body text */
.survey-display-body {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Error message */
.survey-error {
  margin-top: 12px;
  font-size: 14px;
  color: #ef4444;
  font-weight: 500;
}

/* Navigation buttons */
.survey-nav {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.survey-nav.first-step {
  justify-content: flex-end;
}

.survey-nav.middle-step,
.survey-nav.last-step {
  justify-content: space-between;
}

.survey-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.survey-btn-back:hover {
  background: var(--bg-card-elevated);
  color: var(--text-primary);
}

.survey-btn-next,
.survey-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: white;
  background: var(--accent-coral);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.survey-btn-next:hover,
.survey-btn-submit:hover {
  background: var(--accent-coral-hover);
}

/* Status pages (thank you, closed, already completed, etc.) */
.survey-status-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px;
}

.survey-status-hero {
  text-align: center;
  margin-bottom: 32px;
}

.survey-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.survey-status-icon svg {
  width: 32px;
  height: 32px;
}

.survey-status-icon.success {
  background: rgba(74, 222, 148, 0.15);
  color: #16a34a;
}

.survey-status-icon.info {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.survey-status-icon.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.survey-status-icon.neutral {
  background: var(--bg-card-elevated);
  color: var(--text-muted);
}

.survey-status-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.survey-status-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.survey-status-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  background: var(--accent-coral);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s;
}

.survey-status-button:hover {
  background: var(--accent-coral-hover);
}

/* Results section */
.survey-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.survey-results-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

.survey-result-card {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 24px;
}

.survey-result-question {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.survey-result-option {
  margin-bottom: 12px;
}

.survey-result-option:last-child {
  margin-bottom: 0;
}

.survey-result-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 4px;
}

.survey-result-label {
  color: var(--text-primary);
}

.survey-result-pct {
  color: var(--text-muted);
}

.survey-result-track {
  width: 100%;
  height: 8px;
  background: var(--bg-card-elevated);
  border-radius: 4px;
  overflow: hidden;
}

.survey-result-fill {
  height: 8px;
  background: var(--accent-coral);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .survey-container {
    padding: 24px 16px;
  }

  .survey-title {
    font-size: 20px;
  }

  .survey-card {
    padding: 20px;
  }

  .survey-status-page {
    padding: 24px 16px;
  }

  .survey-status-title {
    font-size: 20px;
  }

  .survey-result-card {
    padding: 20px;
  }
}

