/* ============================================================
   PRIMAL FATHERS — QUIZ PORTAL
   quiz.primalfathers.com
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-elevated: #1e1e1e;
  --gold: #c9a84c;
  --gold-light: #e0c06e;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --text: #f0ece4;
  --text-muted: rgba(240, 236, 228, 0.58);
  --text-faint: rgba(240, 236, 228, 0.35);
  --border: rgba(240, 236, 228, 0.1);
  --border-strong: rgba(240, 236, 228, 0.2);
  --archetype-color: #8B5CF6;
  --archetype-color-dark: #6D28D9;
  --radius: 12px;
  --radius-lg: 18px;
  --transition: 0.22s ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(201, 168, 76, 0.08);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--text);
  font-weight: 600;
}

em {
  font-style: italic;
  color: rgba(240, 236, 228, 0.85);
}

/* ── Screen System ──────────────────────────────────────────── */
.screen {
  display: none;
  opacity: 0;
  min-height: 100vh;
}

.screen.active {
  display: block;
}

.screen.fade-in {
  animation: screenFadeIn 0.4s ease forwards;
}

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

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 860px;
}

/* ── Wordmark / Logo ────────────────────────────────────────── */
.wordmark {
  letter-spacing: 0.25em;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
}

.wordmark span {
  color: var(--gold);
}

/* ============================================================
   LANDING SCREEN
   ============================================================ */
#screen-landing {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  min-height: 100vh;
}

#screen-landing.active {
  display: flex;
}

.landing-logo {
  margin-bottom: 48px;
  text-align: center;
}

.landing-logo-text {
  letter-spacing: 0.3em;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.landing-headline {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.landing-sub {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 52px;
  line-height: 1.6;
}

.landing-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.choice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}

.choice-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.choice-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--gold-dim);
}

.choice-card:hover::before {
  opacity: 1;
}

.choice-card:active {
  transform: translateY(-1px);
}

.choice-card-icon {
  font-size: 38px;
  margin-bottom: 14px;
  line-height: 1;
}

.choice-card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.choice-card-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.landing-footer-note {
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  z-index: 100;
}

#progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* ============================================================
   QUIZ SCREEN
   ============================================================ */
#screen-quiz {
  padding-top: 64px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.quiz-header {
  padding: 24px 24px 0;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-wordmark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-faint);
  text-transform: uppercase;
}

#q-counter {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.quiz-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 0;
}

#question-text {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: var(--text);
  min-height: 80px;
}

#options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.5;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition);
  cursor: pointer;
  position: relative;
}

.option-btn::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  vertical-align: middle;
  margin-right: 12px;
  flex-shrink: 0;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  top: -1px;
}

.option-btn:hover:not(:disabled) {
  background: var(--bg-elevated);
  border-color: var(--gold);
  transform: translateX(4px);
}

.option-btn:hover:not(:disabled)::before {
  border-color: var(--gold);
}

.option-btn.selected {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
}

.option-btn.selected::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.option-btn.dimmed {
  opacity: 0.35;
}

.option-btn:disabled {
  cursor: default;
}

/* ============================================================
   EMAIL GATE SCREEN
   ============================================================ */
#screen-email {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 24px;
}

#screen-email.active {
  display: flex;
}

.email-gate-inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.email-gate-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: block;
}

.email-gate-headline {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.email-gate-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.email-gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 18px;
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--text-faint);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-input.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 4px;
}

.btn-submit:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.privacy-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.privacy-note svg {
  display: inline;
  flex-shrink: 0;
}

/* ============================================================
   RESULT SCREEN
   ============================================================ */
#screen-result {
  padding: 0 0 80px;
}

/* Result Hero */
.result-hero {
  padding: 60px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.result-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--archetype-color-dark) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.result-hero-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

#result-archetype-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

#result-archetype-name {
  font-size: clamp(36px, 7vw, 58px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--archetype-color);
}

.result-divider {
  width: 48px;
  height: 2px;
  background: var(--archetype-color);
  margin: 0 auto 20px;
  opacity: 0.7;
}

#result-tagline {
  font-size: 17px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 520px;
  margin: 0 auto 20px;
  font-family: Georgia, "Times New Roman", serif;
}

#result-shadow {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.shadow-label {
  color: var(--archetype-color);
  font-weight: 600;
}

/* Dynamic block (women only) */
#dynamic-block {
  display: none;
  margin-top: 20px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

#dynamic-name {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 4px;
}

#his-pattern {
  font-size: 13px;
  color: var(--text-faint);
}

/* Result Sections */
.result-sections {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.result-section {
  margin-top: 40px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.result-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--archetype-color);
  opacity: 0.7;
}

.result-section-title {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--archetype-color);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.result-section-content {
  font-size: 15.5px;
  color: rgba(240, 236, 228, 0.85);
  line-height: 1.75;
}

.result-section-content p {
  margin-bottom: 1em;
}

.result-section-content p:last-child {
  margin-bottom: 0;
}

/* ── Conversation Guide ─────────────────────────────────────── */
#conversation-guide {
  display: none;
  max-width: 680px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.guide-header {
  margin-bottom: 28px;
}

.guide-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

#guide-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

#guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-step {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.guide-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.guide-step-body {
  flex: 1;
  min-width: 0;
}

.guide-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.guide-step-content {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.guide-step-content p {
  margin-bottom: 0.75em;
}

.guide-step-content p:last-child {
  margin-bottom: 0;
}

/* ── CTA / Action Block ─────────────────────────────────────── */
.result-actions {
  max-width: 680px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.cta-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

#cta-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: block;
}

#cta-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: block;
  margin-bottom: 24px;
}

.btn-cta {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #0a0a0a;
  border-radius: var(--radius);
  padding: 17px 28px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary action buttons */
.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  letter-spacing: 0.01em;
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
  color: var(--text);
}

/* Share button (women) */
#share-btn {
  display: none;
  width: 100%;
  background: transparent;
  border: 1px solid var(--archetype-color);
  border-radius: var(--radius);
  padding: 15px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--archetype-color);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  margin-top: 12px;
  line-height: 1.4;
}

#share-btn:hover {
  background: var(--archetype-color);
  color: #fff;
}

/* ── Fallback email banner (shown when server call fails) ───── */
.fallback-banner {
  max-width: 680px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.fallback-banner-inner {
  background: var(--bg-elevated);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  text-align: center;
}

.fallback-banner-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 16px;
}

.fallback-form {
  display: flex;
  gap: 10px;
}

.fallback-input {
  flex: 1;
  min-width: 0;
}

.fallback-btn {
  white-space: nowrap;
  padding: 14px 20px;
  font-size: 14px;
}

.fallback-success {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .fallback-form {
    flex-direction: column;
  }
  .fallback-btn {
    width: 100%;
  }
}

/* ── Score Debug (dev only, hidden) ─────────────────────────── */
.score-debug {
  display: none;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  /* Landing */
  .choice-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .choice-card {
    padding: 28px 24px;
  }

  .landing-headline {
    font-size: 26px;
  }

  /* Quiz */
  #screen-quiz {
    padding-top: 56px;
  }

  .quiz-header {
    padding: 16px 16px 0;
  }

  .quiz-body {
    padding: 28px 16px 0;
  }

  #question-text {
    font-size: 19px;
    min-height: 60px;
  }

  .option-btn {
    padding: 15px 18px;
    font-size: 14.5px;
  }

  /* Email gate */
  #screen-email {
    padding: 40px 20px;
  }

  /* Result */
  .result-hero {
    padding: 48px 20px 36px;
  }

  #result-archetype-name {
    font-size: 34px;
  }

  .result-sections,
  .result-actions,
  #conversation-guide {
    padding: 0 16px;
  }

  .result-section {
    padding: 24px 20px;
    margin-top: 24px;
  }

  .cta-block {
    padding: 28px 22px;
  }

  .secondary-actions {
    grid-template-columns: 1fr;
  }

  .guide-step {
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
  }

  .guide-step-number {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .btn-cta {
    font-size: 15px;
    padding: 16px 24px;
  }
}

/* ============================================================
   SCROLLBAR (Webkit)
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(201, 168, 76, 0.2);
  color: var(--text);
}

/* ── Brand Wordmark ─────────────────────────────────────────── */
.brand-wordmark-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.brand-wordmark-icon {
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0.9;
}

.brand-wordmark {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.quiz-wordmark {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

/* ── Name Screen ────────────────────────────────────────────── */
.name-gate-inner {
  max-width: 440px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  justify-content: center;
}

/* ── Landing Card Branding ──────────────────────────────────── */
.landing-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 4px;
}

.logo-triangle {
  font-size: 1rem;
  color: #e4bc70;
  opacity: 0.7;
}

.logo-circle {
  font-size: 1rem;
  color: #d4869c;
  opacity: 0.7;
}

.choice-card-brand {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}

.choice-card-men .choice-card-brand {
  color: #e4bc70;
}

.choice-card-women .choice-card-brand {
  color: #d4869c;
}

.choice-card-men {
  border-color: rgba(228, 188, 112, 0.25);
}

.choice-card-men:hover,
.choice-card-men:focus {
  border-color: rgba(228, 188, 112, 0.55);
  box-shadow: 0 8px 32px rgba(228, 188, 112, 0.12);
}

.choice-card-women {
  border-color: rgba(212, 134, 156, 0.25);
}

.choice-card-women:hover,
.choice-card-women:focus {
  border-color: rgba(212, 134, 156, 0.55);
  box-shadow: 0 8px 32px rgba(212, 134, 156, 0.12);
}

.choice-card-icon-men {
  color: #e4bc70;
}

.choice-card-icon-women {
  color: #d4869c;
}

/* ── Result Brand Header ────────────────────────────────────── */
.result-brand-header {
  margin-bottom: 16px;
  opacity: 0.8;
}

.result-brand-wordmark {
  font-size: 0.72rem;
}

/* ── Email gate personalisation ─────────────────────────────── */
#email-name-display {
  color: var(--gold);
}

/* ── Landing Logo Image ─────────────────────────────────────── */
.landing-logo-img {
  display: block;
  width: 140px;
  height: auto;
  opacity: 0.92;
}

/* ══════════════════════════════════════════════════════════════
   ENGAGEMENT ENHANCEMENTS
   ══════════════════════════════════════════════════════════════ */

/* ── Subtle radial background glow ─────────────────────────── */
body {
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.035) 0%, transparent 65%);
}

/* ── Question emoji ─────────────────────────────────────────── */
.question-emoji {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.7);
  display: block;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.15));
}

/* ── Option button entrance animation ──────────────────────── */
@keyframes optionSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.option-btn {
  animation: optionSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Enhanced selected state with checkmark ────────────────── */
.option-btn.selected {
  border-color: var(--gold) !important;
  background: var(--gold-dim) !important;
  color: var(--text) !important;
  box-shadow: 0 0 0 1px var(--gold), 0 4px 20px rgba(0,0,0,0.3), inset 0 0 20px var(--gold-dim) !important;
  transform: translateX(4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.option-btn.selected::after {
  content: '✓';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  animation: checkPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes checkPop {
  from { opacity: 0; transform: translateY(-50%) scale(0.4); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* Ensure option-btn has position:relative for the ::after to work */
.option-btn {
  position: relative;
}

/* ── Enhanced hover ─────────────────────────────────────────── */
.option-btn:hover:not(:disabled) {
  border-left: 3px solid var(--gold) !important;
  padding-left: calc(var(--option-pl, 20px) - 2px);
  transition: all 0.18s ease !important;
}

/* ── Progress bar shimmer ───────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

#progress-bar {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 50%,
    var(--gold) 100%
  ) !important;
  background-size: 200% auto !important;
  animation: shimmer 2.5s linear infinite !important;
  box-shadow: 0 0 8px var(--gold-dim) !important;
}

/* ── Progress percentage label ──────────────────────────────── */
.progress-track::after {
  content: attr(data-pct);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  opacity: 0.7;
  padding-right: 2px;
}

.progress-track {
  position: relative;
}

/* ── Milestone toast ────────────────────────────────────────── */
.milestone-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 100px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  backdrop-filter: blur(8px);
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 0 1px var(--gold-dim);
}

.milestone-toast.milestone-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.milestone-toast.milestone-hide {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

/* ── Choice card hover glow ─────────────────────────────────── */
.choice-card-men:hover .choice-card-icon-men,
.choice-card-men:focus .choice-card-icon-men {
  text-shadow: 0 0 20px rgba(228,188,112,0.6);
  transition: text-shadow 0.3s ease;
}

.choice-card-women:hover .choice-card-icon-women,
.choice-card-women:focus .choice-card-icon-women {
  text-shadow: 0 0 20px rgba(212,134,156,0.6);
  transition: text-shadow 0.3s ease;
}


/* ══════════════════════════════════════════════════════════════
   LANDING PAGE ENGAGEMENT
   ══════════════════════════════════════════════════════════════ */

/* ── Logo entrance ───────────────────────────────────────────── */
@keyframes logoFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 0.92; transform: translateY(0); }
}
.landing-logo-img {
  animation: logoFadeDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* ── Headline entrance ───────────────────────────────────────── */
@keyframes headlineFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.landing-headline {
  animation: headlineFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.landing-divider {
  animation: headlineFade 0.6s ease 0.4s both;
}
.landing-sub {
  animation: headlineFade 0.6s ease 0.5s both;
}

/* ── Choice card staggered entrance ─────────────────────────── */
@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.choice-card-men {
  animation: cardSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}
.choice-card-women {
  animation: cardSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

/* ── Pulsing icon on cards ───────────────────────────────────── */
@keyframes iconPulse {
  0%, 100% { transform: scale(1);   opacity: 0.9; }
  50%       { transform: scale(1.12); opacity: 1;   }
}
.choice-card-icon-men {
  animation: iconPulse 3s ease-in-out 1.4s infinite;
  display: inline-block;
}
.choice-card-icon-women {
  animation: iconPulse 3s ease-in-out 1.7s infinite;
  display: inline-block;
}

/* ── Card hover lift ─────────────────────────────────────────── */
.choice-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.choice-card:hover {
  transform: translateY(-4px) !important;
}

/* ── Footer note entrance ────────────────────────────────────── */
.landing-footer-note {
  animation: headlineFade 0.5s ease 0.9s both;
}

