/* ========== QUIZ — Shadow Lotus ========== */

.quiz-body {
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- WRAPPER & SCREEN SYSTEM ---- */
.quiz-wrapper {
  position: relative;
  min-height: 100vh;
  padding-top: 4.5rem; /* nav height */
}

.quiz-screen {
  display: none;
  position: relative;
  min-height: calc(100vh - 4.5rem);
}

.quiz-screen.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: quizFadeUp 0.38s ease forwards;
}

@keyframes quizFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- INTRO SCREEN ---- */
.quiz-intro {
  text-align: center;
  overflow: hidden;
}

.quiz-intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(201, 160, 220, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(212, 168, 83, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 160, 220, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.quiz-intro-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 3rem 2rem;
}

.quiz-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 1rem 0 1.5rem;
}

.quiz-title-accent {
  color: var(--accent);
  display: block;
  font-style: italic;
}

.quiz-intro-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.quiz-intro-warning {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  opacity: 0.75;
  margin-bottom: 2.5rem;
}

.btn-quiz-start {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  border: none;
  border-radius: 3px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  box-shadow: 0 0 28px rgba(201, 160, 220, 0.28);
}

.btn-quiz-start:hover {
  background: #d8b0ec;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(201, 160, 220, 0.42);
}

/* ---- PROGRESS BAR ---- */
.quiz-progress-bar {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 2rem;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid rgba(201, 160, 220, 0.06);
  backdrop-filter: blur(8px);
}

.quiz-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.quiz-progress-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  white-space: nowrap;
  opacity: 0.7;
}

/* ---- QUESTION SCREEN ---- */
.quiz-question {
  padding-top: 2.5rem; /* account for progress bar */
}

.quiz-question-content {
  width: 100%;
  max-width: 680px;
  padding: 2rem 2rem 4rem;
}

.quiz-q-number {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 1rem;
}

.quiz-q-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

/* ---- ANSWER BUTTONS ---- */
.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.quiz-answer-btn {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  background: var(--bg-card);
  border: 1px solid rgba(201, 160, 220, 0.12);
  border-radius: 6px;
  padding: 1.1rem 1.4rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.14s, color 0.18s;
  position: relative;
}

.quiz-answer-btn:hover:not(.answered) {
  border-color: rgba(201, 160, 220, 0.4);
  background: rgba(201, 160, 220, 0.06);
  transform: translateX(4px);
  color: #fff;
}

.quiz-answer-btn.selected {
  background: rgba(201, 160, 220, 0.15);
  border-color: var(--accent);
  color: #fff;
}

.quiz-answer-btn.selected::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

.quiz-answer-btn.answered:not(.selected) {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ---- RESULTS SCREEN ---- */
.quiz-results {
  text-align: center;
  overflow: hidden;
}

.quiz-results-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201, 160, 220, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 168, 83, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.quiz-results-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 3rem 2rem 5rem;
}

.quiz-results-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--fg);
  margin: 0.8rem 0 1rem;
  letter-spacing: -0.01em;
}

.quiz-results-type {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: none; /* headline says it all */
}

.quiz-results-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

/* Line cards on results */
.quiz-results-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.result-line-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(201,160,220,0.2);
  border-radius: 6px;
  padding: 0.7rem 1.2rem;
  background: rgba(201,160,220,0.04);
}

.result-line-emoji {
  font-size: 1.4rem;
}

.result-line-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* CTA */
.quiz-results-cta {
  margin-bottom: 2rem;
}

.quiz-cta-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.btn-quiz-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 3px;
  padding: 1.1rem 2.8rem;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 30px rgba(201, 160, 220, 0.3);
}

.btn-quiz-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(201, 160, 220, 0.45);
}

/* Footer links */
.quiz-results-footer {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-quiz-retake {
  background: none;
  border: 1px solid rgba(201,160,220,0.2);
  border-radius: 4px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}

.btn-quiz-retake:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-quiz-browse {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s;
}

.btn-quiz-browse:hover { color: var(--accent); }

/* ---- NAV BACK LINK ---- */
.nav-back {
  text-decoration: none;
  transition: color 0.18s;
}

.nav-back:hover { color: var(--accent); }

/* ---- EMAIL GATE SCREEN ---- */
.quiz-email-gate { text-align: center; overflow: hidden; }

.quiz-gate-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 3rem 2rem;
}

.quiz-gate-raccoon {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  display: block;
  animation: raccoonBob 2.4s ease-in-out infinite;
}

@keyframes raccoonBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.quiz-gate-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--fg);
  margin: 0.5rem 0 1rem;
}

.quiz-gate-sub {
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.quiz-gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto 0.75rem;
}

.quiz-gate-email {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1.5px solid rgba(201,160,220,0.2);
  border-radius: 6px;
  padding: 0.95rem 1.2rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.18s;
  width: 100%;
  box-sizing: border-box;
}

.quiz-gate-email:focus { border-color: var(--accent); }
.quiz-gate-email::placeholder { color: var(--fg-muted); opacity: 0.5; }

.btn-quiz-gate {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  border: none;
  border-radius: 4px;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
  box-shadow: 0 0 28px rgba(201,160,220,0.3);
}

.btn-quiz-gate:hover:not(:disabled) { background: #d8b0ec; transform: translateY(-2px); }
.btn-quiz-gate:disabled { opacity: 0.65; cursor: default; }

.quiz-gate-error {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #e05555;
  margin: 0.4rem 0 0;
}

.quiz-gate-privacy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--fg-muted);
  opacity: 0.45;
  margin-top: 0.75rem;
}

/* ---- FREE SAMPLE ---- */
.quiz-free-sample {
  background: linear-gradient(135deg, rgba(212,168,83,0.07), rgba(212,168,83,0.02));
  border: 1px solid rgba(212,168,83,0.22);
  border-radius: 10px;
  padding: 1.3rem 1.6rem;
  margin: 0 0 1.4rem;
  text-align: center;
}

.free-sample-badge {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.free-sample-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.btn-free-sample {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid rgba(212,168,83,0.35);
  border-radius: 4px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-free-sample:hover { background: rgba(212,168,83,0.09); color: #e8c070; }

/* ---- DISCOUNT BOX ---- */
.quiz-discount-box {
  background: linear-gradient(135deg, rgba(201,160,220,0.07), rgba(201,160,220,0.02));
  border: 1px solid rgba(201,160,220,0.22);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  margin: 0 0 1.6rem;
  text-align: center;
}

.discount-code-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.65;
  margin-bottom: 0.4rem;
}

.discount-code {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.65rem;
  text-shadow: 0 0 28px rgba(201,160,220,0.35);
}

.discount-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.timer-label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

.timer-display {
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.discount-copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.65;
  margin: 0;
}

/* ---- PRODUCT RECOMMENDATIONS ---- */
.quiz-recs-section {
  margin: 0 0 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.4rem;
}

.recs-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.recs-grid { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.1rem; }

.rec-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(201,160,220,0.1);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  text-align: left;
  transition: border-color 0.18s;
}
.rec-card:hover { border-color: rgba(201,160,220,0.3); }

.rec-emoji { font-size: 1.5rem; flex-shrink: 0; }
.rec-info { flex: 1; min-width: 0; }
.rec-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--fg); letter-spacing: 0.03em; margin-bottom: 0.2rem; }
.rec-tagline { font-family: var(--font-body); font-size: 0.72rem; color: var(--fg-muted); opacity: 0.65; line-height: 1.4; }

.btn-rec {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  text-decoration: none;
  transition: background 0.14s;
  white-space: nowrap;
}
.btn-rec:hover { background: #d8b0ec; }

.btn-recs-shop {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,160,220,0.28);
  border-radius: 5px;
  padding: 0.6rem 1.3rem;
  text-decoration: none;
  transition: border-color 0.18s, background 0.14s;
}
.btn-recs-shop:hover { border-color: var(--accent); background: rgba(201,160,220,0.07); }

/* ---- UPSELLS ---- */
.quiz-upsells {
  margin: 0 0 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.4rem;
}

.upsells-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.55;
  margin-bottom: 0.85rem;
}

.upsells-grid { display: flex; flex-direction: column; gap: 0.6rem; }

.upsell-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-card);
  border: 1px solid rgba(201,160,220,0.09);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  text-align: left;
}

.upsell-emoji { font-size: 1.4rem; flex-shrink: 0; }
.upsell-info { flex: 1; min-width: 0; }

.upsell-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.03em;
  margin-bottom: 0.18rem;
}

.upsell-tagline { font-family: var(--font-body); font-size: 0.72rem; color: var(--fg-muted); opacity: 0.65; }

.btn-upsell {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 4px;
  padding: 0.42rem 0.85rem;
  text-decoration: none;
  transition: background 0.14s;
  white-space: nowrap;
}

.btn-upsell:hover { background: #d8b0ec; }

/* ---- SHARE / REFERRAL ---- */
.quiz-share-section {
  margin: 0 0 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.4rem;
  text-align: center;
}

.share-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.share-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

.share-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.btn-share-copy, .btn-share-native {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--bg-card);
  border: 1px solid rgba(201,160,220,0.18);
  border-radius: 5px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-share-copy:hover, .btn-share-native:hover {
  border-color: var(--accent);
  background: rgba(201,160,220,0.05);
}

.referral-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.referral-count-label { font-family: var(--font-body); font-size: 0.78rem; color: var(--fg-muted); opacity: 0.6; }
.referral-count { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--accent); }

/* ---- EXIT INTENT OVERLAY ---- */
.exit-intent-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.exit-intent-modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(201,160,220,0.16);
  border-radius: 14px;
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  animation: quizFadeUp 0.28s ease forwards;
}

.exit-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.14s;
}

.exit-close:hover { opacity: 0.9; }
.exit-raccoon { font-size: 2.6rem; margin-bottom: 0.6rem; display: block; }

.exit-headline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin: 0 0 0.9rem;
}

.exit-code {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.45rem;
  text-shadow: 0 0 22px rgba(201,160,220,0.38);
}

.exit-copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--fg-muted);
  opacity: 0.65;
  margin-bottom: 1rem;
}

.exit-gate-copy { font-family: var(--font-body); font-size: 0.8rem; color: var(--fg-muted); opacity: 0.6; margin-bottom: 0.5rem; }

.exit-email-form { display: flex; gap: 0.45rem; margin-bottom: 1rem; }

.exit-email-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,160,220,0.18);
  border-radius: 5px;
  padding: 0.58rem 0.85rem;
  color: var(--fg);
  outline: none;
}

.exit-email-input:focus { border-color: var(--accent); }

.btn-exit-email {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--bg-deep);
  background: var(--accent);
  border: none;
  border-radius: 5px;
  padding: 0.58rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s;
}

.btn-exit-email:hover { background: #d8b0ec; }

.btn-exit-cta {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 5px;
  padding: 0.85rem 2rem;
  text-decoration: none;
  margin-top: 0.4rem;
  transition: background 0.14s, transform 0.12s;
  box-shadow: 0 0 22px rgba(201,160,220,0.26);
}

.btn-exit-cta:hover { background: #d8b0ec; transform: translateY(-2px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .quiz-question-content { padding: 1.5rem 1.2rem 3rem; }
  .quiz-intro-content { padding: 2rem 1.4rem; }
  .quiz-gate-content { padding: 2rem 1.4rem; }
  .quiz-results-content { padding: 2rem 1.4rem 4rem; }
  .quiz-results-footer { flex-direction: column; gap: 1rem; }
  .quiz-progress-bar { padding: 0.5rem 1.2rem; }
  .upsell-card { flex-wrap: wrap; }
  .exit-intent-modal { padding: 2rem 1.4rem; }
  .exit-email-form { flex-direction: column; }
}

/* ---- AFFILIATE CTA (quiz results) ---- */
.quiz-affiliate-cta {
  background: linear-gradient(135deg, rgba(201,160,220,0.08), rgba(212,168,83,0.05));
  border: 1px solid rgba(201,160,220,0.2);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin: 1.4rem 0;
  text-align: center;
}
.quiz-affiliate-cta:empty { display: none; }
.affiliate-cta-headline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-main);
  margin: 0 0 0.35rem;
}
.affiliate-cta-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0 0 0.9rem;
}
.btn-affiliate-cta {
  display: inline-block;
  background: #d4a853;
  color: #0a0a0f;
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.15s, transform 0.1s;
}
.btn-affiliate-cta:hover { background: #e0bb6a; transform: translateY(-1px); }
