/* ============================================================
   GCM Quiz — Shared Stylesheet
   Used by: questionnaire/gcm_quiz_en.html + gcm_quiz_fr.html
   ============================================================ */

:root {
  --navy:       #1a2744;
  --gold:       #c9a84c;
  --gold-light: #e8d5a3;
  --cream:      #f8f5ef;
  --slate:      #4a5568;
  --light-slate:#8a9ab5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  min-height: 100vh;
  color: var(--navy);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  flex-shrink: 0;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.logo span { color: rgba(201,168,76,0.4); }

.header-tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-slate);
}

/* ── SCREENS ─────────────────────────────────────────────── */
.screen { display: none; flex: 1; animation: fadeUp 0.55s ease; }
.screen.active { display: flex; }

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

/* ── INTRO ───────────────────────────────────────────────── */
.intro-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.passport-icon {
  width: 76px; height: 76px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2.5rem;
  position: relative;
}

.passport-icon::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
}

.passport-icon svg {
  width: 30px; height: 30px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.intro-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  max-width: 580px;
  margin: 0 auto 1.25rem;
}

.intro-title em { font-style: italic; color: var(--gold); }

.intro-desc {
  font-size: 0.92rem;
  color: var(--light-slate);
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto 1.75rem;
}

.intro-pillars {
  display: flex;
  gap: 0;
  justify-content: center;
  margin: 0 auto 2.5rem;
  max-width: 480px;
  border: 1px solid rgba(201,168,76,0.2);
}

.pillar {
  flex: 1;
  padding: 1rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.15);
}

.pillar:last-child { border-right: none; }
.pillar-icon { font-size: 1.2rem; margin-bottom: 0.35rem; }

.pillar-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.pillar-sub { font-size: 0.7rem; color: var(--light-slate); }

.intro-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--light-slate);
}

.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 1rem 3rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.3); }

/* ── REGISTRATION ────────────────────────────────────────── */
.reg-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.reg-box { width: 100%; max-width: 520px; }

.reg-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-align: center;
}

.reg-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-align: center;
}

.reg-desc {
  font-size: 0.85rem;
  color: var(--light-slate);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  text-align: center;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cream);
  padding: 0.9rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  transition: all 0.22s ease;
  outline: none;
}

.form-input::placeholder { color: rgba(138,154,181,0.5); }
.form-input:focus { border-color: rgba(201,168,76,0.5); background: rgba(201,168,76,0.05); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-note {
  font-size: 0.72rem;
  color: var(--light-slate);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.form-error {
  font-size: 0.75rem;
  color: #e07070;
  margin-top: 0.4rem;
  display: none;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-input option { background: #1a2744; color: #f8f5ef; }

/* ── QUIZ ────────────────────────────────────────────────── */
.quiz-screen { flex-direction: column; }

.progress-bar-wrap { padding: 1.5rem 2.5rem 0; }

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.progress-label {
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-slate);
}

.progress-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--gold);
}

.progress-track { height: 2px; background: rgba(255,255,255,0.07); border-radius: 2px; overflow: hidden; }

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.layer-badge { padding: 1.2rem 2.5rem 0; }

.layer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(201,168,76,0.28);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.question-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.5rem;
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
}

.question-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  color: rgba(201,168,76,0.45);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.question-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.45;
  margin-bottom: 2rem;
}

.options-grid { display: flex; flex-direction: column; gap: 0.75rem; }

.option {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.option::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.22s ease;
}

.option:hover { background: rgba(201,168,76,0.06); border-color: rgba(201,168,76,0.28); }
.option:hover::before,
.option.selected::before { transform: scaleY(1); }
.option.selected { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.45); }

.option-letter {
  width: 26px; height: 26px;
  border: 1px solid rgba(201,168,76,0.38);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.22s ease;
  margin-top: 1px;
}

.option.selected .option-letter {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.option-text {
  font-size: 0.88rem;
  color: rgba(248,245,239,0.72);
  line-height: 1.55;
  transition: color 0.22s ease;
}

.option:hover .option-text,
.option.selected .option-text { color: var(--cream); }

.quiz-nav {
  padding: 1.25rem 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
}

.btn-ghost {
  background: none;
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--light-slate);
  padding: 0.7rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.28); color: var(--cream); }
.btn-ghost:disabled { opacity: 0.28; cursor: not-allowed; }

.btn-next {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.7rem 2.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-next:hover:not(:disabled) { background: var(--gold); color: var(--navy); }
.btn-next:disabled { opacity: 0.28; cursor: not-allowed; }

/* ── LOADING ─────────────────────────────────────────────── */
.loading-screen {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  text-align: center;
}

.loader-ring {
  width: 60px; height: 60px;
  border: 2px solid rgba(201,168,76,0.14);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.loader-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-slate);
}

/* ── RESULT COVER ────────────────────────────────────────── */
.result-screen { flex-direction: column; background: var(--cream); }

.passport-cover { background: var(--navy); position: relative; overflow: hidden; }

.passport-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(201,168,76,0.15) 0%, transparent 65%);
}

.cover-top {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.cover-top-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.cover-top-right { text-align: right; }
.cover-top-right div { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--light-slate); }

.cover-center {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.participant-name-display {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
  margin-bottom: 1.5rem;
}

.profile-emblem {
  width: 90px; height: 90px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  background: rgba(201,168,76,0.08);
  position: relative;
}

.profile-emblem::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
}

.profile-emblem-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.primary-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
  margin-bottom: 0.5rem;
}

.profile-name-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.profile-tagline-big {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gold);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.cover-badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.cover-badge {
  padding: 0.35rem 1rem;
  border: 1px solid rgba(201,168,76,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ── PASSPORT PAGES ──────────────────────────────────────── */
.passport-pages {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2.5rem 3rem;
}

.page-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 0 1.75rem;
  border-top: 1px solid rgba(26,39,68,0.1);
  margin-top: 0.5rem;
}

.page-divider:first-child { border-top: none; padding-top: 2.5rem; }

.page-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  flex-shrink: 0;
}

.page-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 400;
}

/* Page 01 — Superpower */
.superpower-block {
  background: var(--navy);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.superpower-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
}

.superpower-block::after {
  content: '⚡';
  position: absolute;
  right: 1.5rem; bottom: 1rem;
  font-size: 3rem;
  opacity: 0.06;
}

.sp-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.sp-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--cream);
  line-height: 1.55;
}

.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 480px) { .detail-row { grid-template-columns: 1fr; } }

.detail-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(26,39,68,0.1);
  background: rgba(26,39,68,0.03);
}

.dc-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.dc-icon { font-size: 1rem; }
.dc-label { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--light-slate); }
.dc-text { font-size: 0.85rem; color: var(--navy); line-height: 1.55; }

/* Page 02 — Science */
.science-grid { display: flex; flex-direction: column; gap: 1rem; }

.science-card {
  padding: 1.5rem;
  border: 1px solid rgba(26,39,68,0.1);
  background: rgba(26,39,68,0.02);
  position: relative;
  overflow: hidden;
}

.science-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.4;
}

.science-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.science-icon { font-size: 1.1rem; }
.science-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.science-text { font-size: 0.85rem; color: var(--slate); line-height: 1.65; }

/* Page 03 — English Focus */
.english-list { display: flex; flex-direction: column; }

.english-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(26,39,68,0.08);
}

.english-item:last-child { border-bottom: none; }

.english-bullet {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
}

.english-text { font-size: 0.88rem; color: var(--navy); line-height: 1.4; }

/* Page 04 — Tips */
.tips-grid { display: flex; flex-direction: column; gap: 0.75rem; }

.tip-card {
  padding: 1rem 1.25rem;
  border-left: 2px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}

.tip-card p { font-size: 0.85rem; color: var(--slate); line-height: 1.55; }

/* Page 05 — Secondary Profile */
.secondary-reveal { border: 1px solid rgba(201,168,76,0.22); overflow: hidden; }

.secondary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(26,39,68,0.04);
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.secondary-header:hover { background: rgba(201,168,76,0.06); }

.sh-left { display: flex; align-items: center; gap: 1rem; }

.sh-badge {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--gold);
}

.sh-name { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--navy); }
.sh-desc { font-size: 0.75rem; color: var(--light-slate); margin-top: 0.1rem; }

.sh-toggle {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sh-toggle-arrow { transition: transform 0.3s; display: inline-block; }

.secondary-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.secondary-body.open { max-height: 900px; }

.secondary-inner { padding: 1.5rem; border-top: 1px solid rgba(201,168,76,0.15); }

.secondary-superpower {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid rgba(201,168,76,0.5);
  margin-bottom: 1rem;
}

.ssp-label { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.ssp-text { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--cream); line-height: 1.5; }

.secondary-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }

@media (max-width: 480px) { .secondary-details { grid-template-columns: 1fr; } }

.secondary-detail { padding: 0.9rem 1rem; border: 1px solid rgba(26,39,68,0.08); }
.sd-label { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-slate); margin-bottom: 0.35rem; }
.sd-text { font-size: 0.82rem; color: var(--navy); line-height: 1.45; }

.combo-note { padding: 1rem 1.25rem; background: rgba(201,168,76,0.08); border-left: 2px solid var(--gold); }
.combo-note p { font-size: 0.82rem; color: var(--slate); line-height: 1.55; font-style: italic; }

/* Page 06 — Cultural Lens */
.lens-track {
  height: 8px;
  background: rgba(26,39,68,0.1);
  border-radius: 4px;
  margin: 1.25rem 0 0.6rem;
  position: relative;
  overflow: visible;
}

.lens-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lens-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: 0 2px 10px rgba(201,168,76,0.4);
  transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lens-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-slate);
}

.lens-result-label {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 1rem;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lens-desc { margin-top: 1rem; font-size: 0.85rem; color: var(--slate); line-height: 1.65; }

/* Page 07 — Score Breakdown */
.score-breakdown { display: flex; flex-direction: column; gap: 0.65rem; }
.score-row { display: flex; align-items: center; gap: 1rem; }

.score-label {
  font-size: 0.78rem;
  color: var(--navy);
  width: 110px;   /* 110px accommodates longer French profile names */
  flex-shrink: 0;
}

.score-bar-track { flex: 1; height: 5px; background: rgba(26,39,68,0.08); border-radius: 3px; overflow: hidden; }
.score-bar-fill  { height: 100%; background: var(--gold); border-radius: 3px; width: 0%; transition: width 1s ease; }
.score-num { font-size: 0.72rem; color: var(--light-slate); width: 24px; text-align: right; flex-shrink: 0; }

/* ── RESULT FOOTER ───────────────────────────────────────── */
.result-footer { background: var(--navy); padding: 2.5rem; text-align: center; margin-top: 1rem; }
.footer-divider { width: 40px; height: 1px; background: rgba(201,168,76,0.3); margin: 0 auto 1.5rem; }

.rf-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.rf-author {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-slate);
  margin-bottom: 1.75rem;
}

.btn-restart {
  background: none;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  padding: 0.75rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-restart:hover { background: rgba(201,168,76,0.1); }

/* ── LOGIN SCREEN ────────────────────────────────────────── */
.login-screen {
  flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100vh; padding: 2rem;
}
.login-box {
  width: 100%; max-width: 420px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 2px; padding: 3rem 2.5rem;
}
.login-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  text-align: center; margin-bottom: 2.5rem;
}
.login-logo span { color: rgba(201,168,76,0.4); }
.login-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 300;
  color: var(--cream); text-align: center; margin-bottom: 0.6rem;
}
.login-desc {
  font-size: 0.8rem; color: var(--light-slate);
  text-align: center; margin-bottom: 2rem; line-height: 1.65;
}
