:root {
  color-scheme: light;
  --bg: #f7f1e6;
  --card: #fffdfa;
  --ink: #211f1a;
  --muted: #716b61;
  --line: #e6dccb;
  --green: #1c7a5a;
  --green-dark: #0d4f38;
  --green-soft: #e9f5ee;
  --gold: #d9a735;
  --gold-light: #f4d58d;
  --gold-deep: #9f7620;
  --gold-soft: #fff3cf;
  --shadow: 0 18px 60px rgba(39, 33, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -120px, rgba(217, 167, 53, 0.2), transparent 260px),
    linear-gradient(180deg, rgba(28, 122, 90, 0.09), transparent 320px),
    var(--bg);
}

button {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.quiz-panel {
  width: min(100%, 560px);
  min-height: min(760px, calc(100vh - 44px));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.progress-wrap {
  padding: 13px 18px 10px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  margin-bottom: 8px;
}

.progress-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid rgba(217, 167, 53, 0.28);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(217, 167, 53, 0.08);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.progress-track {
  height: 8px;
  border-radius: 99px;
  background: #ece3d6;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  transition: width 240ms ease;
}

.screen {
  flex: 1;
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
}

.landing-shell,
.question-shell,
.transition-shell,
.loading-shell,
.result-shell,
.vsl-shell {
  width: 100%;
  margin: auto 0;
}

.hero-media {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
  border-radius: 20px;
  background: #e8dfd0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.hero-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.question-media {
  width: 100%;
  height: auto;
  margin: 0 0 10px;
  overflow: visible;
  border-radius: 18px;
  background: #e8dfd0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 10px 24px rgba(39, 33, 22, 0.08);
}

.question-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.landing-copy,
.question-shell,
.transition-shell,
.loading-shell,
.result-shell,
.vsl-shell {
  text-align: center;
}

.landing-copy {
  margin-top: 16px;
}

.landing-shell > .landing-copy:first-child {
  margin-top: 0;
  margin-bottom: 14px;
}

.landing-shell > .hero-media + .landing-copy {
  margin-top: 14px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.question-shell > .eyebrow,
.transition-shell > .eyebrow,
.landing-copy > .eyebrow {
  display: none;
}

.landing-copy h1,
.question-title,
.transition-shell h1,
.loading-shell h1,
.result-heading,
.vsl-title-section h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 950;
}

.landing-copy h1 {
  max-width: 470px;
  margin: 0 auto;
  font-size: clamp(32px, 7vw, 44px);
}

.landing-copy h1 span {
  display: block;
  margin-top: 7px;
}

.landing-copy p:not(.eyebrow),
.micro-hook,
.question-subtitle,
.transition-shell p:not(.eyebrow),
.vsl-title-section p {
  max-width: 465px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.micro-hook {
  color: #3f382c;
  font-weight: 800;
}

.landing-subheadline {
  max-width: 500px;
  margin: 0 auto 0;
  color: #e9dfc2;
  font-size: clamp(19px, 4.8vw, 24px);
  line-height: 1.28;
  font-weight: 850;
}

.primary-action,
.secondary-action,
.answer {
  border: 0;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(159, 118, 32, 0.28);
  background:
    linear-gradient(180deg, #f6df9e 0%, var(--gold) 46%, var(--gold-deep) 100%);
  color: #151007;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 14px 34px rgba(159, 118, 32, 0.24),
    0 0 26px rgba(217, 167, 53, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.secondary-action {
  background: #fff;
  color: var(--green-dark);
  border-color: rgba(28, 122, 90, 0.24);
  box-shadow: 0 10px 22px rgba(13, 79, 56, 0.08);
}

.primary-action:hover,
.secondary-action:hover,
.answer:hover {
  transform: translateY(-1px);
}

.question-title {
  max-width: 500px;
  margin: 0 auto;
  font-size: clamp(26px, 6vw, 34px);
}

.answer-grid {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.text-answer-grid {
  grid-template-columns: 1fr;
}

.visual-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.visual-answer,
.multi-answer,
.neutral-answer {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.visual-answer {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  display: grid;
  grid-template-rows: auto 1fr;
}

.visual-answer-no-media {
  min-height: 86px;
  grid-template-rows: 1fr;
}

.visual-answer-media {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: transparent;
  display: block;
}

.visual-answer-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.visual-answer strong {
  min-height: 58px;
  padding: 11px 12px 12px;
  display: flex;
  align-items: center;
  color: #241f15;
  font-size: 14px;
  line-height: 1.18;
}

.visual-answer-no-media strong {
  min-height: 86px;
}

.visual-answer:hover,
.multi-answer:hover,
.neutral-answer:hover {
  transform: translateY(-1px);
  border-color: #d8cbb8;
  box-shadow: 0 8px 22px rgba(39, 33, 22, 0.08);
}

.visual-answer.answer-selected,
.neutral-answer.answer-selected {
  border-color: rgba(217, 167, 53, 0.75);
  background: var(--gold-soft);
  box-shadow:
    0 10px 22px rgba(159, 118, 32, 0.12),
    inset 0 0 0 1px rgba(217, 167, 53, 0.2);
}

.compact-visual-grid .visual-answer {
  min-height: 0;
}

.gender-grid {
  margin-bottom: 10px;
}

.neutral-answer {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.multi-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.multi-answer {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.checkbox-mark {
  width: 22px;
  height: 22px;
  border: 2px solid #d9cdbb;
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.multi-selected {
  border-color: rgba(28, 122, 90, 0.35);
  background: #f5fff8;
}

.multi-selected .checkbox-mark {
  border-color: var(--green);
  background: var(--green);
}

.multi-selected .checkbox-mark::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fffdfa;
  border-bottom: 2px solid #fffdfa;
  transform: rotate(-45deg) translate(1px, -1px);
}

.continue-action:disabled {
  cursor: default;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.answer {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 14px 54px 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
}

.answer::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #81776a;
  border-right: 2px solid #81776a;
  transform: translateY(-50%) rotate(45deg);
}

.answer-letter {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.answer strong {
  display: block;
  font-size: 15.5px;
  line-height: 1.22;
}

.answer:hover {
  border-color: #d8cbb8;
  box-shadow: 0 8px 22px rgba(39, 33, 22, 0.08);
}

.answer-selected {
  border-color: rgba(217, 167, 53, 0.72);
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(217, 167, 53, 0.2);
}

.answer:focus-visible,
.visual-answer:focus-visible,
.multi-answer:focus-visible,
.neutral-answer:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 2px solid rgba(217, 167, 53, 0.42);
  outline-offset: 2px;
}

.answer:disabled {
  cursor: default;
}

.visual-answer:disabled,
.neutral-answer:disabled {
  cursor: default;
}

.transition-media,
.result-hero-image {
  width: 100%;
  height: auto;
  margin: 0 0 16px;
  overflow: visible;
  border-radius: 20px;
  background: #e8dfd0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    0 12px 28px rgba(39, 33, 22, 0.1);
}

.transition-media img,
.result-hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.transition-loading {
  width: min(100%, 360px);
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(28, 122, 90, 0.14);
  border-radius: 14px;
  background: #f7fff9;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.transition-loading span {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(28, 122, 90, 0.16);
  border-top-color: var(--green);
  animation: spin 0.8s linear infinite;
}

.transition-shell h1 {
  max-width: 470px;
  margin: 0 auto;
  font-size: clamp(30px, 7vw, 42px);
}

.loading-shell {
  padding: 36px 0;
}

.loading-orbit {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: var(--green-soft);
}

.loading-orbit::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 6px solid rgba(28, 122, 90, 0.16);
  border-top-color: var(--green);
  animation: spin 1s linear infinite;
}

.loading-orbit span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.loading-shell h1 {
  max-width: 420px;
  margin: 0 auto;
  font-size: clamp(28px, 7vw, 38px);
}

.loading-track {
  width: min(100%, 360px);
  height: 12px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: #e4efe8;
  overflow: hidden;
}

.loading-track div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 120ms linear;
}

.result-heading {
  max-width: 465px;
  margin: 0 auto;
  font-size: clamp(30px, 7vw, 42px);
}

.simple-result .result-heading {
  margin-bottom: 14px;
  font-size: clamp(27px, 6vw, 36px);
}

.score-card,
.comparison-card,
.good-news-card,
.material-card,
.solution-card {
  margin: 0 auto 14px;
  padding: 17px;
  border: 1px solid rgba(184, 146, 69, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefa, #fff8ea);
  box-shadow: 0 12px 28px rgba(69, 51, 21, 0.07);
  text-align: left;
}

.score-card {
  border-color: rgba(28, 122, 90, 0.18);
  background: linear-gradient(180deg, #f7fff9, #fffdfa);
}

.score-card h2,
.good-news-card h2 {
  margin: 0 0 10px;
  color: #241f15;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 950;
}

.score-card p,
.comparison-card p,
.good-news-card p,
.material-card p,
.solution-card p {
  margin: 0;
  color: #62584b;
  font-size: 14.5px;
  line-height: 1.5;
}

.result-context-note {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 122, 90, 0.13);
}

.comparison-bars {
  min-height: 260px;
  margin: 18px 0 14px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
}

.comparison-card h2 {
  margin: 0 0 8px;
  color: #241f15;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 950;
}

.comparison-subtext {
  color: #d8d0be !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.comparison-column {
  width: min(42%, 128px);
  min-width: 112px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.comparison-column strong {
  color: #17130d;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.comparison-column span {
  min-height: 34px;
  color: #2b2419;
  font-size: 13.5px;
  line-height: 1.18;
  font-weight: 950;
  text-align: center;
}

.comparison-track {
  width: 82px;
  height: 188px;
  padding: 5px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 18px;
  background: #e8dfd0;
  box-shadow:
    inset 0 0 0 1px rgba(54, 42, 25, 0.08),
    0 10px 20px rgba(39, 33, 22, 0.08);
}

.comparison-track div {
  width: 100%;
  height: var(--target-height);
  min-height: 10%;
  border-radius: 13px;
  transform-origin: bottom center;
  animation: comparisonFillUp 1.05s cubic-bezier(0.2, 0.74, 0.18, 1) both;
}

.result-next-action {
  margin-top: 4px;
  overflow: visible;
  background: #f4c24a;
  color: #1d1302;
  text-shadow: none;
  box-shadow: 0 14px 30px rgba(211, 160, 44, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.result-next-action::after {
  content: none;
}

.recommended .comparison-track div {
  background: #0d4f38;
  box-shadow: 0 10px 20px rgba(13, 79, 56, 0.24);
}

.current .comparison-track div {
  background: #df4b2f;
  box-shadow: 0 10px 20px rgba(223, 75, 47, 0.24);
  animation-delay: 0.12s;
}

.recommended .comparison-track div {
  animation-delay: 0.28s;
}

@keyframes comparisonFillUp {
  from {
    transform: scaleY(0);
    opacity: 0.65;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comparison-track div {
    animation: none;
  }
}

.comparison-result-text {
  padding-top: 12px;
  border-top: 1px solid rgba(184, 146, 69, 0.18);
  color: #493f32 !important;
  font-weight: 780;
}

.solution-card {
  color: #fff8e6;
  background:
    linear-gradient(180deg, rgba(217, 167, 53, 0.16), transparent 44%),
    #17130d;
}

.solution-card strong {
  display: block;
  color: #f6df9e;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 950;
}

.solution-card p {
  margin-top: 11px;
  color: rgba(255, 248, 230, 0.78);
}

.solution-card span {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #17130d;
  background: linear-gradient(180deg, #f7df9d, #d9a735);
  font-size: 12px;
  font-weight: 950;
}

.material-card h2 {
  margin: 0 0 10px;
  color: #241f15;
  font-size: 21px;
  line-height: 1.16;
  font-weight: 950;
}

.material-image {
  width: 100%;
  margin-top: 13px;
  overflow: visible;
  border-radius: 16px;
  background: #e8dfd0;
}

.material-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.result-message,
.insight-card,
.chart-card,
.vsl-bridge {
  margin: 0 auto 14px;
  padding: 17px;
  border: 1px solid rgba(184, 146, 69, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefa, #fffaf2);
  box-shadow: 0 12px 28px rgba(69, 51, 21, 0.07);
  text-align: left;
}

.result-message {
  border-color: rgba(28, 122, 90, 0.18);
  background: linear-gradient(180deg, #f6fff9, #fffdfa);
}

.result-shell {
  padding-bottom: 8px;
}

.result-shell .eyebrow {
  color: #b89245;
}

.result-subheadline {
  max-width: 470px;
  margin: 12px auto 16px;
  color: #655b4d;
  font-size: 15.5px;
  line-height: 1.48;
}

.result-map-card {
  margin: 0 auto 14px;
  padding: 18px;
  border: 1px solid rgba(217, 167, 53, 0.26);
  border-radius: 18px;
  color: #fff8e6;
  background:
    linear-gradient(180deg, rgba(217, 167, 53, 0.14), transparent 45%),
    #17130d;
  box-shadow:
    0 18px 38px rgba(32, 24, 10, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
}

.conversion-block,
.commitment-block {
  margin: 0 auto 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(184, 146, 69, 0.22);
  background: linear-gradient(180deg, #fffefa, #fff8ea);
  box-shadow: 0 12px 28px rgba(69, 51, 21, 0.07);
  text-align: left;
}

.conversion-block h2,
.commitment-block h2 {
  margin: 0 0 11px;
  color: #241f15;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 950;
}

.conversion-block p,
.commitment-block p {
  margin: 0;
  color: #62584b;
  font-size: 14.5px;
  line-height: 1.48;
}

.pain-mirror {
  border-color: rgba(28, 122, 90, 0.2);
  background: linear-gradient(180deg, #f8fff9, #fffdfa);
}

.belief-list {
  display: grid;
  gap: 8px;
}

.belief-list p {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 122, 90, 0.12);
}

.belief-list span,
.commitment-item span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fffdfa;
  background: var(--green);
  font-size: 12px;
  font-weight: 950;
}

.relief-block {
  background:
    linear-gradient(180deg, rgba(217, 167, 53, 0.12), transparent 48%),
    #fffdfa;
}

.mechanism-block {
  color: #fff8e6;
  background:
    linear-gradient(180deg, rgba(217, 167, 53, 0.14), transparent 50%),
    #17130d;
}

.mechanism-block h2 {
  color: #f6df9e;
}

.mechanism-block p {
  color: rgba(255, 248, 230, 0.8);
}

.mechanism-block strong {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 13px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #17130d;
  background: linear-gradient(180deg, #f7df9d, #d9a735);
  font-size: 13px;
  font-weight: 950;
}

.commitment-block {
  border-color: rgba(28, 122, 90, 0.22);
  background: linear-gradient(180deg, #f7fff9, #fffefa);
}

.commitment-item {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(28, 122, 90, 0.15);
  border-radius: 13px;
  color: #241f15;
  background: #fff;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-size: 13.8px;
  font-weight: 820;
}

.commitment-block p {
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 900;
}

.starting-point {
  background: rgba(255, 250, 240, 0.86);
}

.map-card-kicker {
  display: block;
  margin-bottom: 13px;
  color: #f4d58d;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.map-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(244, 213, 141, 0.16);
}

.map-row span {
  color: rgba(255, 248, 230, 0.74);
  font-size: 13.5px;
}

.map-row strong {
  color: #f4d58d;
  font-size: 13.5px;
  text-align: right;
}

.micro-insights {
  display: grid;
  gap: 9px;
  margin: 0 auto 14px;
  text-align: left;
}

.age-range-line {
  width: max-content;
  max-width: 100%;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(184, 146, 69, 0.2);
  background: #fff8e4;
  color: #6b501b;
  font-size: 11.5px;
  font-weight: 900;
}

.micro-insights p {
  margin: 0;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(184, 146, 69, 0.2);
  background: rgba(255, 250, 240, 0.78);
  color: #62584b;
  font-size: 13.5px;
  line-height: 1.42;
}

.result-message p,
.insight-card p,
.chart-card p,
.vsl-bridge p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.result-message p:first-child,
.insight-card p:first-child,
.chart-card p:first-child,
.vsl-bridge p:first-child {
  margin-top: 0;
}

.result-message strong {
  color: var(--green-dark);
}

.insight-card h2,
.chart-card h2,
.vsl-bridge h2 {
  margin: 0;
  color: #2d281d;
  font-size: 20px;
  line-height: 1.18;
}

.vsl-bridge .primary-action {
  margin-top: 14px;
}

.vsl-next-step {
  width: min(100%, 390px);
  margin: 12px auto 0;
  text-align: center;
}

.vsl-next-step.is-hidden {
  display: none;
}

.vsl-next-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.vsl-cta {
  margin-top: 14px;
}

.vsl-next-step .route-offer-card {
  display: none;
}

.route-status-card {
  width: min(100%, 430px);
  margin: 0 auto 17px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(241, 207, 108, 0.28);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(241, 207, 108, 0.13), rgba(255, 255, 255, 0.035));
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: left;
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.5s ease;
}

.route-status-icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #72450b;
  background: radial-gradient(circle at 35% 30%, #fff8c4, #e0a82e 58%, #80500e);
  box-shadow: 0 0 21px rgba(241, 207, 108, 0.4);
  font-size: 19px;
}

.route-status-icon svg {
  width: 25px;
  fill: rgba(36, 22, 3, 0.1);
  stroke: currentColor;
  stroke-width: 1.8;
}

.route-status-card small {
  display: block;
  color: #aaa4b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-status-card strong {
  display: block;
  margin-top: 3px;
  color: var(--gold-light);
  font-size: 15px;
}

.wallet-status {
  grid-column: 2;
  color: #8f899c;
  font-size: 10.5px;
}

.wallet-applied {
  border-color: rgba(105, 216, 160, 0.32);
  opacity: 0.65;
  transform: scale(0.98);
}

.wallet-applied .wallet-status {
  color: #75d9a6;
}

.wallet-applied .wallet-status::after {
  content: " ✓";
}

.route-offer-card {
  position: relative;
  padding: 21px 17px 17px;
  overflow: hidden;
  border: 1px solid rgba(241, 207, 108, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0, rgba(241, 207, 108, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(15px) scale(0.97);
}

.route-offer-card.offer-unlocked {
  animation: offerUnlock 0.75s cubic-bezier(0.2, 0.82, 0.2, 1) forwards;
}

.route-offer-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #2b1b05;
  background: linear-gradient(135deg, #fff1a5, #c98a25);
  box-shadow: 0 8px 24px rgba(214, 163, 48, 0.22);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-offer-card h2 {
  max-width: 315px;
  margin: 13px auto 16px;
  color: #faf6ff;
  font-size: 20px;
  line-height: 1.18;
}

.offer-price-breakdown {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(3, 3, 13, 0.24);
}

.offer-price-breakdown > div {
  min-height: 46px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.offer-price-breakdown > div:first-child {
  border-top: 0;
}

.offer-price-breakdown span {
  color: #bbb5c8;
  font-size: 12px;
  text-align: left;
}

.offer-price-breakdown strong {
  white-space: nowrap;
  color: #e7e1ef;
}

.offer-old-price {
  color: #9992a7 !important;
  text-decoration: line-through;
}

.offer-route-row {
  background: rgba(241, 207, 108, 0.07);
}

.offer-route-row span,
.offer-route-row strong {
  color: var(--gold-light);
  font-weight: 850;
}

.offer-final-row {
  background: linear-gradient(90deg, rgba(105, 216, 160, 0.1), rgba(241, 207, 108, 0.1));
}

.offer-final-row span {
  color: #e8e2ee;
  font-weight: 850;
}

.offer-final-row strong {
  color: #81e2ad;
  font-size: 25px;
}

.route-offer-card > p {
  margin: 12px 0 0;
  color: #898395;
  font-size: 10px;
  line-height: 1.4;
}

@keyframes offerUnlock {
  0% { opacity: 0; transform: translateY(15px) scale(0.97); }
  60% { opacity: 1; transform: translateY(-3px) scale(1.015); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.vsl-title-section {
  width: min(100%, 370px);
  margin: 0 auto 15px;
}

.vsl-title-section h1 {
  font-size: clamp(24px, 6vw, 32px);
}

.vsl-support-copy {
  margin-top: 8px !important;
  font-size: 13.5px !important;
}

.vsl-player-frame {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(12, 8, 5, 0.02), rgba(12, 8, 5, 0.28)),
    var(--vsl-thumbnail) center / cover no-repeat,
    radial-gradient(circle at center, rgba(246, 217, 141, 0.16), transparent 42%),
    var(--vsl-thumbnail) center / cover no-repeat,
    #120d0a;
  box-shadow: 0 18px 42px rgba(39, 33, 22, 0.22);
}

.vsl-player-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  background: var(--vsl-thumbnail) center / cover no-repeat;
  filter: blur(18px) saturate(0.9);
  transform: scale(1.08);
  opacity: 0.48;
}

.vsl-player-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 -120px 90px rgba(0, 0, 0, 0.38);
}

.vsl-video {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--vsl-thumbnail) center / cover no-repeat;
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

.vsl-player-frame.is-looping-muted .vsl-video {
  filter: brightness(0.74) saturate(0.86);
}

.vsl-player-frame.is-looping-muted::after {
  background:
    radial-gradient(circle at 50% 36%, rgba(248, 223, 151, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(10, 7, 4, 0.08), rgba(10, 7, 4, 0.46));
  box-shadow: inset 0 0 0 1px rgba(255, 229, 168, 0.16), inset 0 -120px 96px rgba(0, 0, 0, 0.54);
}

.vsl-loop-notice {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 34px;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 223, 151, 0.42);
  border-radius: 14px;
  color: #fff8eb;
  background: linear-gradient(180deg, rgba(22, 14, 7, 0.88), rgba(12, 8, 5, 0.78));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.vsl-loop-notice strong {
  color: #f8df97;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 950;
}

.vsl-loop-notice span {
  color: rgba(255, 248, 235, 0.82);
  font-size: 12px;
  line-height: 1.25;
}

.vsl-player-frame.is-looping-muted .vsl-loop-notice {
  opacity: 1;
  transform: translateY(0);
}

.vsl-play-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 44%, rgba(234, 188, 93, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(14, 9, 5, 0.1), rgba(14, 9, 5, 0.54)),
    var(--vsl-thumbnail) center / contain no-repeat,
    var(--vsl-thumbnail) center / cover no-repeat;
  color: #fff8eb;
  font-weight: 800;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}

.vsl-play-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  padding-left: 4px;
  background: linear-gradient(135deg, #f6d98d, #d89b37);
  color: #1d1308;
  font-size: 25px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(255, 230, 171, 0.16);
}

.vsl-play-text {
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  font-size: 14px;
}

.vsl-play-fallback.is-hidden {
  display: none;
}

.vsl-fake-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.28);
}

.vsl-fake-progress-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s ease-out;
  background: linear-gradient(90deg, #f8df97, #d99d38 72%, #fff4c6);
  box-shadow: 0 0 18px rgba(246, 217, 141, 0.66);
}

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

@media (max-width: 620px) {
  .app-shell {
    padding: 0;
  }

  .quiz-panel {
    min-height: 100vh;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .progress-wrap {
    padding: 10px 14px 9px;
  }

  .screen {
    padding: 10px 13px 13px;
  }

  .hero-media {
    height: auto;
    border-radius: 18px;
  }

  .question-media {
    height: auto;
    margin-bottom: 10px;
    border-radius: 16px;
  }

  .landing-copy h1 {
    font-size: clamp(27px, 7.2vw, 36px);
    line-height: 1.1;
  }

  .landing-copy h1 span {
    margin-top: 9px;
  }

  .question-title {
    font-size: clamp(23px, 6.5vw, 30px);
  }

  .visual-answer-grid {
    gap: 9px;
    margin-top: 14px;
  }

  .visual-answer {
    min-height: 0;
    grid-template-rows: auto 1fr;
    border-radius: 14px;
  }

  .visual-answer-no-media {
    min-height: 78px;
    grid-template-rows: 1fr;
  }

  .visual-answer strong {
    min-height: 54px;
    padding: 9px 10px 10px;
    font-size: 13px;
  }

  .visual-answer-no-media strong {
    min-height: 78px;
  }

  .compact-visual-grid .visual-answer {
    min-height: 0;
  }

  .multi-list {
    gap: 8px;
    margin-top: 14px;
  }

  .multi-answer {
    min-height: 54px;
    padding: 10px 12px;
  }

  .multi-answer strong {
    font-size: 13.5px;
    line-height: 1.22;
  }

  .transition-media,
  .result-hero-image {
    height: auto;
    border-radius: 18px;
  }

  .comparison-bars {
    min-height: 250px;
    gap: 20px;
  }

  .comparison-track {
    width: 74px;
    height: 178px;
  }

  .comparison-column {
    width: min(44%, 118px);
    min-width: 104px;
  }

  .comparison-column strong {
    font-size: 26px;
  }

  .comparison-column span {
    font-size: 12.5px;
  }

  .question-subtitle {
    margin-top: 7px;
    font-size: 14px;
  }

  .answer-grid {
    margin-top: 15px;
    gap: 9px;
  }

  .answer {
    min-height: 62px;
    padding: 12px 46px 12px 13px;
  }

  .answer strong {
    font-size: 14.5px;
  }

  .result-message,
  .insight-card,
  .chart-card,
  .vsl-bridge {
    padding: 15px;
  }
}

@media (max-width: 360px) {
  .answer {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .answer-letter {
    width: 30px;
    height: 30px;
  }
}

/* Gamified route layer. The original quiz copy and flow remain intact. */
:root {
  color-scheme: dark;
  --bg: #050403;
  --card: rgba(18, 15, 10, 0.86);
  --ink: #fbf4e6;
  --muted: #c5b79b;
  --line: rgba(241, 207, 108, 0.2);
  --green: #d9b34f;
  --green-dark: #f4da8a;
  --green-soft: rgba(241, 207, 108, 0.12);
  --gold: #d1a344;
  --gold-light: #f1d98f;
  --gold-deep: #8b5d19;
  --gold-soft: rgba(241, 207, 108, 0.14);
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.54);
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% -18%, rgba(214, 163, 48, 0.18), transparent 32%),
    radial-gradient(circle at 50% 112%, rgba(127, 77, 20, 0.2), transparent 38%),
    linear-gradient(145deg, #030303, #100d09 44%, #050403);
  background-size: 54px 54px, 54px 54px, auto, auto, auto;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(241, 207, 108, 0.035) 12.2%, transparent 12.6% 87.4%, rgba(241, 207, 108, 0.035) 87.8%, transparent 88%),
    radial-gradient(ellipse at 50% 0, rgba(255, 239, 180, 0.08), transparent 44%);
  opacity: 0.9;
}

.ambient-layer,
.route-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-layer {
  z-index: 0;
  overflow: hidden;
}

.route-layer {
  z-index: 100;
}

.ambient-orb {
  position: absolute;
  display: none;
}

.ambient-orb-one {
  width: 370px;
  height: 370px;
  left: -160px;
  top: -110px;
  background: transparent;
}

.ambient-orb-two {
  width: 330px;
  height: 330px;
  right: -130px;
  bottom: -100px;
  background: transparent;
}

.ambient-stars {
  display: none;
}

.ambient-stars i { display: none; }

.game-hud {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  min-height: 66px;
  padding: 11px clamp(15px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(4, 3, 2, 0.95), rgba(4, 3, 2, 0.7), transparent);
  backdrop-filter: blur(9px);
}

.game-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f6f0ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 207, 108, 0.34);
  border-radius: 12px;
  background: rgba(241, 207, 108, 0.08);
  box-shadow: 0 0 24px rgba(230, 185, 79, 0.12);
}

.brand-emblem svg {
  width: 26px;
  fill: rgba(241, 207, 108, 0.14);
  stroke: var(--gold-light);
  stroke-width: 1.8;
}

.route-counter {
  min-width: 168px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(241, 207, 108, 0.3);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(10, 8, 28, 0.76);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.route-counter strong {
  min-width: 0;
  font-size: 13px;
  white-space: nowrap;
}

.route-counter > span:last-child {
  color: #aaa5b9;
  font-size: 10px;
  text-transform: uppercase;
}

.route-medal {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(241, 207, 108, 0.1);
  box-shadow: 0 0 16px rgba(241, 207, 108, 0.5);
  font-size: 13px;
}

.route-medal svg {
  width: 18px;
  fill: rgba(241, 207, 108, 0.12);
  stroke: currentColor;
  stroke-width: 1.8;
}

.route-bump {
  animation: routeCounterBump 0.55s ease;
}

.app-shell {
  position: relative;
  z-index: 2;
  padding-top: 22px;
}

.quiz-panel {
  width: min(100%, 610px);
  min-height: min(790px, calc(100vh - 105px));
  border: 1px solid rgba(222, 174, 72, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 245, 217, 0.045), rgba(255, 255, 255, 0.01)),
    rgba(5, 4, 3, 0.34);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 245, 217, 0.055);
  backdrop-filter: blur(10px);
}

.progress-wrap {
  padding: 14px 18px 8px;
}

.progress-track {
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  background: linear-gradient(90deg, #8c5713, #ffe996 55%, #bb7c22);
  box-shadow: 0 0 17px rgba(241, 207, 108, 0.72);
  transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.screen {
  animation: gameScreenIn 0.55s ease both;
}

.hero-media,
.question-media,
.transition-media,
.result-hero-image,
.material-image {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.landing-copy h1,
.question-title,
.transition-shell h1,
.loading-shell h1,
.result-heading,
.vsl-title-section h1,
.chest-shell h1 {
  color: #fff7e8;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.landing-copy p:not(.eyebrow),
.micro-hook,
.question-subtitle,
.transition-shell p:not(.eyebrow),
.vsl-title-section p,
.chest-shell p {
  color: var(--muted);
}

.micro-hook {
  color: #e9dfc2;
}

.primary-action,
.secondary-action {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 232, 157, 0.45);
  background: linear-gradient(135deg, #fff0a8, #e1ae3b 52%, #9d6314);
  color: #241603;
  box-shadow: 0 15px 38px rgba(211, 160, 44, 0.28), inset 0 2px 1px rgba(255, 255, 255, 0.7);
}

.primary-action::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -55%;
  width: 30%;
  height: 240%;
  background: rgba(255, 255, 255, 0.46);
  transform: rotate(24deg);
  animation: buttonShine 3.9s ease-in-out infinite;
}

.visual-answer,
.multi-answer,
.neutral-answer,
.answer {
  border-color: rgba(222, 174, 72, 0.14);
  background: rgba(255, 245, 217, 0.055);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 245, 217, 0.05);
}

.visual-answer strong,
.answer strong,
.multi-answer strong {
  color: #f8edd8;
}

.visual-answer:hover,
.multi-answer:hover,
.neutral-answer:hover,
.answer:hover {
  border-color: rgba(241, 207, 108, 0.54);
  background: rgba(241, 207, 108, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22), 0 0 22px rgba(230, 185, 79, 0.08);
  transform: translateY(-3px);
}

.visual-answer.answer-selected,
.neutral-answer.answer-selected,
.answer-selected,
.multi-selected {
  border-color: rgba(255, 226, 130, 0.78);
  background: rgba(241, 207, 108, 0.16);
  box-shadow: 0 0 28px rgba(230, 185, 79, 0.15), inset 0 0 0 1px rgba(241, 207, 108, 0.2);
}

.visual-answer-media {
  background: rgba(8, 6, 4, 0.42);
}

.answer::after {
  border-color: var(--gold-light);
}

.answer-letter {
  color: #322006;
  background: linear-gradient(135deg, #fff0a7, #c88924);
  box-shadow: 0 0 16px rgba(230, 185, 79, 0.18);
}

.checkbox-mark {
  border-color: rgba(241, 207, 108, 0.42);
}

.multi-selected .checkbox-mark {
  border-color: var(--gold);
  background: linear-gradient(135deg, #efd170, #a86b18);
}

.transition-loading {
  border-color: rgba(241, 207, 108, 0.2);
  color: var(--gold-light);
  background: rgba(241, 207, 108, 0.08);
}

.transition-loading span {
  border-color: rgba(241, 207, 108, 0.17);
  border-top-color: var(--gold-light);
}

.loading-orbit {
  width: 116px;
  height: 116px;
  background: radial-gradient(circle, rgba(241, 207, 108, 0.28), transparent 42%), rgba(241, 207, 108, 0.07);
  box-shadow: 0 0 48px rgba(230, 185, 79, 0.13);
}

.loading-orbit::before {
  border-color: rgba(241, 207, 108, 0.14);
  border-top-color: var(--gold-light);
}

.loading-orbit span {
  width: 25px;
  height: 25px;
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
  border-radius: 0;
  background: linear-gradient(135deg, #fff4b2, #b8791d);
}

.loading-track {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.08);
}

.loading-track div {
  background: linear-gradient(90deg, #9a6116, #ffe992, #b8781d);
  box-shadow: 0 0 18px rgba(241, 207, 108, 0.55);
}

.score-card,
.comparison-card,
.good-news-card,
.material-card,
.solution-card,
.result-message,
.insight-card,
.chart-card,
.vsl-bridge,
.conversion-block,
.commitment-block {
  border-color: rgba(241, 207, 108, 0.2);
  background: linear-gradient(145deg, rgba(255, 245, 217, 0.075), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 245, 217, 0.07);
}

.score-card h2,
.comparison-card h2,
.good-news-card h2,
.material-card h2,
.insight-card h2,
.chart-card h2,
.vsl-bridge h2,
.conversion-block h2,
.commitment-block h2 {
  color: #f8f3ff;
}

.score-card p,
.comparison-card p,
.good-news-card p,
.material-card p,
.solution-card p,
.result-message p,
.insight-card p,
.chart-card p,
.vsl-bridge p,
.conversion-block p,
.commitment-block p {
  color: #c5bfd0;
}

.comparison-column strong,
.comparison-column span {
  color: #f8f2ff;
}

.comparison-track {
  background: rgba(255, 255, 255, 0.08);
}

.recommended .comparison-track div {
  background: linear-gradient(180deg, #fff0a2, #ae711c);
  box-shadow: 0 0 25px rgba(241, 207, 108, 0.32);
}

.current .comparison-track div {
  background: linear-gradient(180deg, #a879d1, #573275);
}

.comparison-result-text,
.result-context-note {
  border-color: rgba(241, 207, 108, 0.16);
  color: #d7d0df !important;
}

.diagnostic-copy {
  display: grid;
  gap: 12px;
}

.diagnostic-copy p,
.result-context-note p {
  margin: 0;
  line-height: 1.62;
}

.route-pillars-list {
  display: grid;
  gap: 10px;
}

.route-pillars-list p {
  display: grid;
  gap: 3px;
}

.route-pillars-list strong {
  color: #f8df97;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.route-pillars-list span {
  color: #d8d0be;
  font-size: 14px;
  line-height: 1.45;
}

.chest-shell {
  width: 100%;
  margin: auto 0;
  text-align: center;
  animation: gameScreenIn 0.65s ease both;
}

.chest-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(241, 207, 108, 0.28);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(241, 207, 108, 0.08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chest-shell h1 {
  margin: 18px auto 10px;
  font-size: clamp(31px, 7vw, 43px);
  line-height: 1.08;
}

.chest-shell p {
  max-width: 450px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.5;
}

.chest-shell > small {
  display: block;
  margin-top: 20px;
  color: #898399;
}

.chest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.treasure-chest {
  position: relative;
  min-width: 0;
  min-height: 188px;
  padding: 18px 12px 16px;
  border: 1px solid rgba(241, 207, 108, 0.18);
  border-radius: 16px;
  color: #ece7f5;
  background: linear-gradient(145deg, rgba(255, 245, 217, 0.065), rgba(241, 207, 108, 0.035));
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.treasure-chest:hover {
  transform: translateY(-8px);
  border-color: rgba(241, 207, 108, 0.28);
  background: rgba(241, 207, 108, 0.06);
}

.chest-art {
  position: relative;
  width: 68px;
  max-width: 100%;
  height: 68px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 207, 108, 0.34);
  border-radius: 18px;
  color: var(--gold-light);
  background: radial-gradient(circle at 50% 0, rgba(255, 238, 156, 0.22), rgba(241, 207, 108, 0.08) 58%, rgba(4, 4, 16, 0.24));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: none;
  animation: chestFloat 3.5s ease-in-out infinite;
}

.route-pillar-icon span {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
}

.treasure-chest:nth-child(2) .chest-art {
  animation-delay: -1.15s;
}

.treasure-chest:nth-child(3) .chest-art {
  animation-delay: -2.25s;
}

.chest-body,
.chest-lid {
  position: absolute;
  left: 8%;
  width: 84%;
  border: 5px solid #d5a237;
  background:
    linear-gradient(90deg, transparent 28%, #d5a237 29%, #d5a237 35%, transparent 36%, transparent 64%, #d5a237 65%, #d5a237 71%, transparent 72%),
    linear-gradient(145deg, #6b397e, #251143 58%, #101a38);
  box-shadow: inset 0 1px 0 rgba(255, 241, 177, 0.52);
}

.chest-lid {
  top: 8px;
  height: 45px;
  border-radius: 45px 45px 7px 7px;
  transform-origin: 50% 100%;
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.chest-body {
  bottom: 5px;
  height: 55px;
  border-radius: 7px 7px 12px 12px;
}

.chest-lock {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50px;
  width: 29px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #fff0a0;
  border-radius: 7px;
  color: #69400c;
  background: linear-gradient(135deg, #fff0a1, #b8751d);
  box-shadow: 0 0 18px rgba(241, 207, 108, 0.32);
  transform: translateX(-50%);
}

.chest-glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: rgba(255, 223, 113, 0.52);
  filter: blur(25px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 0.45s ease, transform 0.55s ease;
}

.treasure-chest strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.treasure-chest small {
  display: block;
  margin-top: 8px;
  color: #bdb6cb;
  font-size: 12px;
  line-height: 1.35;
}

.chest-open .chest-lid {
  transform: translateY(-21px) rotateX(62deg) scale(1.04);
  filter: brightness(1.35);
}

.chest-open .chest-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(2.2);
}

.chest-open {
  border-color: rgba(241, 207, 108, 0.5);
  background: rgba(241, 207, 108, 0.1);
  transform: translateY(-8px) scale(1.03);
}

.chest-dimmed {
  opacity: 0.45;
  transform: scale(0.94);
}

.route-diagnosis-action {
  width: min(100%, 290px);
  margin-top: 22px;
}

.route-particle,
.route-star {
  display: none;
}

.route-toast {
  position: fixed;
  z-index: 110;
  left: 50%;
  bottom: 22px;
  padding: 11px 17px;
  border: 1px solid rgba(241, 207, 108, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
  background: rgba(12, 9, 31, 0.92);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 35px);
}

.route-toast-visible {
  animation: routeToast 1.45s ease both;
}

@keyframes ambientTwinkle {
  0%,
  100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 0.9; transform: scale(1.45); }
}

@keyframes routeCounterBump {
  45% { transform: scale(1.18) rotate(-2deg); }
}

@keyframes gameScreenIn {
  from { opacity: 0; transform: translateY(16px) scale(0.988); }
}

@keyframes buttonShine {
  0%,
  58% { left: -55%; }
  88%,
  100% { left: 135%; }
}

@keyframes chestFloat {
  50% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes routeBurst {
  to {
    opacity: 0;
    transform: translate(var(--particle-x), var(--particle-y)) rotate(var(--particle-rotate)) scale(0.35);
  }
}

@keyframes routeToast {
  0% { opacity: 0; transform: translate(-50%, 35px); }
  18%,
  72% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -12px); }
}

@media (max-width: 620px) {
  .app-shell {
    min-height: 100svh;
    padding: 0;
    place-items: stretch;
  }

  .quiz-panel {
    width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .progress-wrap {
    padding: 12px 14px 6px;
  }

  .screen {
    padding: 10px 14px 18px;
  }

  .chest-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chest-art {
    width: 56px;
    height: 56px;
  }

  .chest-body {
    height: 48px;
  }

  .chest-lid {
    height: 40px;
  }

  .chest-lock {
    top: 44px;
  }

  .treasure-chest {
    min-height: 0;
    padding: 14px 12px;
  }

  .treasure-chest strong {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chest-art,
  .primary-action::after {
    animation: none;
  }
}

.primary-action.result-next-action {
  overflow: visible;
  background: #f4c24a;
  color: #1d1302;
  text-shadow: none;
  box-shadow: 0 14px 30px rgba(211, 160, 44, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.primary-action.result-next-action::after {
  content: none;
}

.landing-copy .primary-action[data-action="start"] {
  background: #f4c24a;
  color: #1d1302;
  text-shadow: none;
  box-shadow: 0 14px 30px rgba(211, 160, 44, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.landing-copy .primary-action[data-action="start"]::after {
  content: none;
}

.clarity-score-card {
  max-width: 465px;
  margin: 14px auto 16px;
  padding: 15px 16px;
  border: 1px solid rgba(241, 207, 108, 0.22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 245, 217, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 245, 217, 0.08);
  text-align: center;
}

.clarity-score-card span {
  display: block;
  color: #e9dfc2;
  font-size: 13px;
  font-weight: 850;
}

.clarity-score-card strong {
  display: block;
  margin-top: 5px;
  color: #f8df97;
  font-size: clamp(36px, 11vw, 52px);
  line-height: 1;
  font-weight: 950;
}

.clarity-score-card p {
  margin: 10px auto 0;
  max-width: 390px;
  color: #cfc6d7;
  font-size: 14.5px;
  line-height: 1.45;
}

.landing-copy p.landing-subheadline {
  max-width: 500px;
  margin: 0 auto;
  color: #e9dfc2;
  font-size: clamp(19px, 4.8vw, 24px);
  line-height: 1.28;
  font-weight: 850;
}

@media (max-width: 620px) {
  .landing-shell > .landing-copy:first-child {
    margin-bottom: 12px;
  }

  .landing-shell > .hero-media + .landing-copy {
    margin-top: 12px;
  }

  .landing-copy p.landing-subheadline {
    font-size: clamp(18px, 5.4vw, 22px);
  }
}
