:root {
  --bg: #fbf8fb;
  --bg-soft: #fffafe;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #26242c;
  --ink-soft: rgba(38, 36, 44, 0.68);
  --ink-muted: rgba(38, 36, 44, 0.5);
  --line: rgba(130, 104, 180, 0.2);
  --line-strong: rgba(142, 112, 215, 0.36);
  --accent: #8f6be8;
  --accent-deep: #6750c8;
  --accent-soft: #d9ceff;
  --pink: #ed72ad;
  --pink-soft: #f9bad6;
  --cyan: #9ddfeb;
  --cyan-soft: #d9f4f8;
  --white: #ffffff;
  --radius: 14px;
  --radius-tight: 10px;
  --max-width: 1180px;
  --header-height: 76px;
  --shadow-soft: 0 24px 70px rgba(102, 74, 156, 0.12);
  --shadow-card: 0 18px 42px rgba(102, 74, 156, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fffafe 0%, #fbf7fb 46%, #f7f2fb 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 4% 20%, rgba(237, 114, 173, 0.14) 0 8rem, transparent 8.2rem),
    radial-gradient(circle at 95% 18%, rgba(143, 107, 232, 0.12) 0 6rem, transparent 6.2rem),
    radial-gradient(circle at 94% 82%, rgba(157, 223, 235, 0.16) 0 8rem, transparent 8.3rem),
    linear-gradient(90deg, transparent 0 48%, rgba(157, 223, 235, 0.22) 48.2% 48.35%, transparent 48.55%),
    repeating-linear-gradient(0deg, transparent 0 88px, rgba(143, 107, 232, 0.035) 88px 89px, transparent 89px 176px);
  opacity: 0.9;
}

body > * {
  position: relative;
  z-index: 1;
}

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

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(130, 104, 180, 0.16);
  background: rgba(255, 250, 254, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 8px 12px;
  border: 1px solid rgba(143, 107, 232, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(143, 107, 232, 0.12), rgba(237, 114, 173, 0.13)),
    var(--white);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  font-weight: 650;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--pink);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.5);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.brand-copy,
.site-nav a,
.eyebrow,
.note-label,
.sidebar-label,
.question-index,
.learn-label {
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  min-height: calc(100svh - var(--header-height));
  padding: 54px clamp(20px, 5vw, 78px) 76px;
  overflow: hidden;
  border-bottom: 1px solid rgba(130, 104, 180, 0.14);
  background:
    radial-gradient(circle at 8% 14%, rgba(237, 114, 173, 0.16), transparent 15rem),
    radial-gradient(circle at 86% 40%, rgba(143, 107, 232, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 254, 0.94));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  left: -9rem;
  top: -14rem;
  width: min(48vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0 5px, transparent 6px),
    repeating-conic-gradient(from 8deg, rgba(255, 255, 255, 0.86) 0 2deg, transparent 2deg 30deg),
    radial-gradient(circle at 42% 48%, rgba(157, 223, 235, 0.42), transparent 19%),
    radial-gradient(circle at 52% 52%, transparent 0 28%, rgba(255, 255, 255, 0.7) 28.5% 29.4%, transparent 30%),
    linear-gradient(145deg, rgba(237, 114, 173, 0.82), rgba(248, 186, 214, 0.68));
  box-shadow: 0 0 0 16px rgba(237, 114, 173, 0.08);
  opacity: 0.72;
  animation: float-panel 13s ease-in-out infinite;
}

.hero::after {
  left: -4%;
  right: -4%;
  bottom: 1.5rem;
  height: 140px;
  background:
    repeating-linear-gradient(170deg, transparent 0 10px, rgba(157, 223, 235, 0.42) 11px 12px, transparent 13px 22px),
    repeating-linear-gradient(172deg, transparent 0 18px, rgba(237, 114, 173, 0.26) 18px 19px, transparent 20px 34px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  opacity: 0.54;
  transform: translateY(36px);
  animation: ribbon-flow 16s linear infinite;
}

.hero-copy,
.hero-visual,
.section-copy,
.quiz-stage,
.field-layout,
.result-layout,
.persona-list,
.site-footer p {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  animation: rise-in 0.8s ease-out both;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 700;
}

.hero .eyebrow {
  color: rgba(103, 80, 200, 0.72);
}

.hero h1,
.section-copy h2,
.question-title,
.result-copy h2,
.persona-item h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 850;
}

.hero-title-top,
.hero-title-bottom {
  display: block;
}

.hero-title-bottom {
  margin-top: 10px;
}

.hero-title-lock {
  display: inline-block;
  color: var(--accent-deep);
  white-space: nowrap;
}

.hero-lede,
.section-copy p:not(.eyebrow),
.result-summary,
.result-detail,
.result-cta,
.personala-item p,
.persona-item p,
.fact-list span,
.guide-list li,
.guide-note,
.sidebar-points,
.learn-copy,
.option-copy {
  line-height: 1.8;
}

.hero-lede {
  margin: 28px 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-reward,
.result-reward {
  line-height: 1.75;
}

.hero-reward {
  margin: 18px 0 0;
  padding: 13px 16px;
  border: 1px solid rgba(237, 114, 173, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 114, 173, 0.1), rgba(157, 223, 235, 0.12)),
    rgba(255, 255, 255, 0.68);
  color: rgba(38, 36, 44, 0.76);
}

.hero-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.secondary-link,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 750;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.primary-button {
  border: none;
  background: linear-gradient(135deg, #9b73ef, #755ad8);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(117, 90, 216, 0.24);
  cursor: pointer;
}

.secondary-link,
.secondary-button {
  border: 1px solid rgba(143, 107, 232, 0.42);
  background: rgba(255, 255, 255, 0.68);
  color: var(--accent-deep);
  cursor: pointer;
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible,
.option-button:hover,
.option-button:focus-visible {
  transform: translateY(-2px);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 22px 44px rgba(117, 90, 216, 0.3);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--ink-soft);
}

.hero-points li {
  padding: 9px 13px;
  border: 1px solid rgba(143, 107, 232, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.64);
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 560px;
  pointer-events: none;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  left: 7%;
  top: 18%;
  width: 160px;
  height: 160px;
  background:
    radial-gradient(circle at 22% 24%, var(--cyan) 0 4px, transparent 5px),
    radial-gradient(circle at 44% 36%, var(--cyan) 0 4px, transparent 5px),
    radial-gradient(circle at 38% 63%, var(--cyan) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 52%, var(--cyan) 0 4px, transparent 5px);
  opacity: 0.78;
  animation: dot-drift 7s ease-in-out infinite;
}

.hero-visual::after {
  right: 2%;
  bottom: 20%;
  width: 340px;
  height: 140px;
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(237, 114, 173, 0.5) 10px 12px, transparent 12px 18px),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(157, 223, 235, 0.38) 18px 20px, transparent 20px 30px);
  opacity: 0.42;
  transform: rotate(-2deg);
  animation: ribbon-flow-small 11s linear infinite;
}

.lantern-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(72vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-48%, -48%);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 5px, transparent 6px),
    repeating-conic-gradient(from -8deg, rgba(255, 255, 255, 0.86) 0 2.2deg, transparent 2.4deg 30deg),
    radial-gradient(circle at 34% 34%, rgba(157, 223, 235, 0.48), transparent 18%),
    radial-gradient(circle at 65% 66%, rgba(249, 186, 214, 0.48), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.34), transparent 40%),
    linear-gradient(145deg, rgba(184, 160, 239, 0.74), rgba(217, 206, 255, 0.68));
  border: 2px solid rgba(143, 107, 232, 0.4);
  box-shadow:
    0 0 0 12px rgba(143, 107, 232, 0.08),
    0 0 0 28px rgba(237, 114, 173, 0.055),
    0 34px 90px rgba(102, 74, 156, 0.18);
  opacity: 0.96;
  animation: float-orb 9s ease-in-out infinite;
}

.lantern-core::before,
.lantern-core::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.66);
  pointer-events: none;
}

.lantern-core::after {
  inset: 25%;
  border-color: rgba(143, 107, 232, 0.24);
  border-style: dashed;
}

.lantern-mesh {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 0 48%, rgba(255, 255, 255, 0.72) 49% 50%, transparent 51%),
    radial-gradient(ellipse at 70% 50%, transparent 0 48%, rgba(255, 255, 255, 0.72) 49% 50%, transparent 51%),
    radial-gradient(ellipse at 50% 30%, transparent 0 48%, rgba(255, 255, 255, 0.6) 49% 50%, transparent 51%),
    radial-gradient(ellipse at 50% 70%, transparent 0 48%, rgba(255, 255, 255, 0.6) 49% 50%, transparent 51%);
  mix-blend-mode: screen;
  opacity: 0.88;
}

.lantern-heart {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 223, 235, 0.95), rgba(237, 114, 173, 0.72));
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.62),
    0 0 52px rgba(157, 223, 235, 0.45);
}

.lantern-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 2px solid rgba(143, 107, 232, 0.24);
  border-radius: 50%;
  transform-origin: center;
  pointer-events: none;
}

.orbit-a {
  width: min(76vw, 520px);
  aspect-ratio: 1;
  transform: translate(-52%, -50%) rotate(18deg);
  animation: spin 18s linear infinite;
}

.orbit-b {
  width: min(84vw, 610px);
  aspect-ratio: 1;
  border-style: dashed;
  transform: translate(-54%, -51%) rotate(-11deg);
  animation: spin-reverse 24s linear infinite;
}

.orbit-c {
  width: min(58vw, 360px);
  aspect-ratio: 1;
  left: 80%;
  top: 27%;
  border-color: rgba(237, 114, 173, 0.34);
  transform: translate(-50%, -50%) rotate(36deg);
  opacity: 0.72;
  animation: float-panel 10s ease-in-out infinite reverse;
}

.lantern-tag {
  display: none;
}

.field-notes,
.quiz-section,
.result-section,
.persona-gallery {
  position: relative;
  padding: 88px 24px;
  overflow: hidden;
}

.field-notes {
  background:
    radial-gradient(circle at 0% 92%, rgba(184, 160, 239, 0.13), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 254, 0.42));
}

.field-notes::before,
.quiz-section::before,
.result-section::before,
.persona-gallery::before {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.5;
}

.field-notes::before {
  right: -92px;
  top: 44px;
  width: 230px;
  aspect-ratio: 1;
  border: 2px solid rgba(143, 107, 232, 0.18);
  background:
    repeating-conic-gradient(from 16deg, rgba(255, 255, 255, 0.66) 0 2deg, transparent 2deg 36deg),
    radial-gradient(circle, rgba(217, 206, 255, 0.34), transparent 68%);
  animation: spin 26s linear infinite;
}

.section-copy {
  display: grid;
  gap: 14px;
}

.section-copy h2,
.result-copy h2 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 850;
}

.section-copy p:not(.eyebrow) {
  color: var(--ink-soft);
}

.field-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 34px;
}

.note-strip,
.guide-strip,
.quiz-sidebar,
.question-panel,
.result-media,
.result-story,
.persona-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.note-strip,
.guide-strip,
.quiz-sidebar,
.question-panel,
.result-media,
.result-story {
  padding: clamp(22px, 3vw, 30px);
}

.note-label,
.sidebar-label,
.question-index,
.learn-label {
  margin: 0 0 16px;
  font-size: 0.78rem;
  color: var(--accent-deep);
  font-weight: 800;
}

.fact-list,
.guide-list,
.sidebar-points {
  padding: 0;
  margin: 0;
  list-style: none;
}

.fact-list li,
.guide-list li,
.sidebar-points li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child,
.guide-list li:last-child,
.sidebar-points li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.fact-list span,
.guide-note,
.sidebar-points {
  color: var(--ink-soft);
}

.guide-note {
  margin: 18px 0 0;
}

.quiz-section {
  background:
    radial-gradient(circle at 96% 12%, rgba(237, 114, 173, 0.14), transparent 16rem),
    radial-gradient(circle at 8% 88%, rgba(157, 223, 235, 0.16), transparent 18rem),
    rgba(255, 255, 255, 0.55);
}

.quiz-section::before {
  left: -108px;
  bottom: 28px;
  width: 260px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.82);
  background:
    repeating-conic-gradient(from -4deg, rgba(255, 255, 255, 0.7) 0 2deg, transparent 2deg 32deg),
    linear-gradient(145deg, rgba(237, 114, 173, 0.28), rgba(157, 223, 235, 0.16));
  animation: float-panel 12s ease-in-out infinite;
}

.quiz-stage {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  margin-top: 32px;
}

.quiz-sidebar {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 22px);
}

.progress-block {
  margin-top: 22px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.progress-track {
  margin-top: 12px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(143, 107, 232, 0.12);
  overflow: hidden;
}

.progress-fill {
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--accent), var(--cyan));
  transition: width 0.35s ease;
}

.question-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.question-panel::before {
  content: "";
  position: absolute;
  inset: auto 22px 18px auto;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(143, 107, 232, 0.18);
  background:
    repeating-conic-gradient(from 12deg, rgba(255, 255, 255, 0.75) 0 2deg, transparent 2deg 30deg),
    radial-gradient(circle at 38% 42%, rgba(157, 223, 235, 0.38), transparent 24%),
    radial-gradient(circle, rgba(217, 206, 255, 0.22), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  animation: spin 22s linear infinite;
}

.question-title {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  max-width: 18em;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 850;
}

.question-meta {
  position: relative;
  z-index: 1;
}

.option-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.option-button {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: start;
  width: 100%;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(143, 107, 232, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 18%, rgba(157, 223, 235, 0.16), transparent 7rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 254, 0.84));
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(102, 74, 156, 0.06);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.option-button::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(143, 107, 232, 0.18);
  background:
    repeating-conic-gradient(from 10deg, rgba(255, 255, 255, 0.72) 0 2deg, transparent 2deg 34deg),
    radial-gradient(circle, rgba(217, 206, 255, 0.18), transparent 72%);
  opacity: 0.72;
  pointer-events: none;
}

.option-button:hover,
.option-button:focus-visible {
  border-color: rgba(237, 114, 173, 0.58);
  box-shadow: 0 18px 40px rgba(143, 107, 232, 0.14);
}

.option-button.is-selected {
  border-color: rgba(237, 114, 173, 0.78);
  background:
    radial-gradient(circle at 78% 18%, rgba(249, 186, 214, 0.24), transparent 7rem),
    linear-gradient(180deg, rgba(255, 246, 251, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: 0 20px 46px rgba(237, 114, 173, 0.16);
}

.option-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(143, 107, 232, 0.16), rgba(157, 223, 235, 0.18));
  color: var(--accent-deep);
  font-weight: 850;
  font-size: 1.12rem;
}

.option-button.is-selected .option-label {
  background: linear-gradient(135deg, var(--pink), var(--accent));
  color: var(--white);
}

.option-copy {
  color: var(--ink);
  font-weight: 650;
}

.learn-panel {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(143, 107, 232, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(143, 107, 232, 0.08), rgba(157, 223, 235, 0.1)),
    rgba(255, 255, 255, 0.76);
  animation: fade-up 0.35s ease-out both;
}

.learn-copy {
  margin: 0;
  color: var(--ink-soft);
}

.next-button {
  margin-top: 18px;
}

.result-section {
  background:
    radial-gradient(circle at 14% 18%, rgba(143, 107, 232, 0.13), transparent 18rem),
    radial-gradient(circle at 88% 20%, rgba(237, 114, 173, 0.14), transparent 18rem),
    var(--bg-soft);
}

.result-section::before {
  right: -120px;
  top: 18%;
  width: 280px;
  aspect-ratio: 1;
  border: 2px dashed rgba(143, 107, 232, 0.22);
  background:
    repeating-conic-gradient(from -8deg, rgba(255, 255, 255, 0.64) 0 2deg, transparent 2deg 28deg),
    radial-gradient(circle, rgba(217, 206, 255, 0.28), transparent 68%);
  animation: spin-reverse 30s linear infinite;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 24px;
  margin-top: 32px;
}

.result-media {
  position: relative;
  background:
    radial-gradient(circle at 18% 16%, rgba(157, 223, 235, 0.2), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 254, 0.88));
  color: var(--ink);
}

.result-media::before {
  content: "";
  position: absolute;
  top: 8%;
  right: 8%;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(143, 107, 232, 0.16);
  background:
    repeating-conic-gradient(from 12deg, rgba(255, 255, 255, 0.66) 0 2deg, transparent 2deg 30deg),
    transparent;
  pointer-events: none;
}

.result-story {
  display: grid;
  align-content: start;
}

.result-tagline {
  margin-top: 8px;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.75;
  font-weight: 750;
  color: var(--accent-deep);
}

.result-summary,
.result-detail,
.result-cta,
.result-reward {
  margin: 0;
}

.result-summary,
.result-detail,
.result-cta {
  color: var(--ink-soft);
}

.result-reward {
  padding: 14px 16px;
  border: 1px solid rgba(237, 114, 173, 0.22);
  border-radius: var(--radius);
  background: rgba(237, 114, 173, 0.08);
  color: #94537b;
  font-weight: 650;
}

.result-story > * + * {
  margin-top: 18px;
}

.result-media-slot {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 254, 0.88));
  border: 1px solid rgba(143, 107, 232, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.media-placeholder,
.persona-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.persona-image {
  object-fit: contain;
  object-position: center bottom;
  padding: 14px;
  transform: translateY(var(--persona-offset-y, 0px)) scale(var(--persona-scale, 1));
  transform-origin: center bottom;
}

.persona-image--result {
  padding: 10px;
}

.persona-image--card {
  padding: 12px;
}

.media-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(143, 107, 232, 0.3);
  background:
    linear-gradient(180deg, rgba(143, 107, 232, 0.08), rgba(157, 223, 235, 0.08)),
    rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
  text-align: center;
  padding: 18px;
}

.media-placeholder span {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.media-note {
  margin: 16px 0 0;
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 750;
  color: var(--accent-deep);
}

.persona-gallery {
  background: rgba(255, 250, 254, 0.68);
}

.persona-gallery::before {
  left: -110px;
  top: 22%;
  width: 250px;
  aspect-ratio: 1;
  border: 2px solid rgba(237, 114, 173, 0.18);
  background:
    repeating-conic-gradient(from 14deg, rgba(255, 255, 255, 0.62) 0 2deg, transparent 2deg 32deg),
    linear-gradient(135deg, rgba(237, 114, 173, 0.18), rgba(143, 107, 232, 0.12));
  animation: float-panel 14s ease-in-out infinite;
}

.persona-gallery[hidden] {
  display: none;
}

.persona-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.persona-item {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 22px;
}

.persona-item::before {
  content: "";
  position: absolute;
  inset: auto -28px -28px auto;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(143, 107, 232, 0.16);
  background:
    repeating-conic-gradient(from 10deg, rgba(255, 255, 255, 0.6) 0 2deg, transparent 2deg 34deg),
    radial-gradient(circle, rgba(217, 206, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.persona-media {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  border: 1px solid rgba(143, 107, 232, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(157, 223, 235, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.74);
  overflow: hidden;
}

.persona-item h3 {
  position: relative;
  z-index: 1;
  font-size: 1.45rem;
  font-weight: 850;
}

.persona-tagline {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--accent-deep);
  font-weight: 750;
  line-height: 1.7;
}

.persona-summary {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 28px 24px 52px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  background: rgba(255, 250, 254, 0.72);
}

.site-footer p {
  line-height: 1.7;
}

.site-footer a {
  color: var(--accent-deep);
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.persona-gallery.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.persona-gallery {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float-orb {
  0%,
  100% {
    transform: translate(-48%, -48%) rotate(0deg);
  }
  50% {
    transform: translate(-45%, -51%) rotate(5deg);
  }
}

@keyframes float-panel {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(10px, -12px, 0) rotate(4deg);
  }
}

@keyframes dot-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(16px, -12px, 0);
  }
}

@keyframes ribbon-flow {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 180px 0, -140px 0;
  }
}

@keyframes ribbon-flow-small {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 120px 0, -90px 0;
  }
}

@keyframes spin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes spin-reverse {
  from {
    rotate: 0deg;
  }
  to {
    rotate: -360deg;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 380px;
    width: min(100%, 760px);
  }

  .field-layout,
  .quiz-stage,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .quiz-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
    min-height: 0;
    padding: 14px 18px 16px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand-mark {
    min-width: 62px;
    padding: 7px 10px;
    border-radius: 10px;
  }

  .brand-copy {
    min-width: 0;
    font-size: 0.92rem;
  }

  .site-nav {
    order: 2;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    font-size: 0.88rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero,
  .field-notes,
  .quiz-section,
  .result-section,
  .persona-gallery,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    display: block;
    padding-top: 34px;
    padding-bottom: 56px;
  }

  .hero::before {
    left: auto;
    right: -96px;
    top: 42px;
    width: 220px;
    opacity: 0.28;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .primary-button,
  .secondary-link,
  .secondary-button {
    width: 100%;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
    opacity: 0.42;
    z-index: 0;
  }

  .hero-visual::before {
    left: 4%;
    top: 72%;
    width: 120px;
    height: 120px;
  }

  .hero-visual::after,
  .orbit-a,
  .orbit-b {
    display: none;
  }

  .lantern-core {
    width: 240px;
    left: 82%;
    top: 76%;
    opacity: 0.54;
    box-shadow:
      0 0 0 8px rgba(143, 107, 232, 0.06),
      0 18px 40px rgba(102, 74, 156, 0.1);
  }

  .orbit-c {
    display: block;
    width: 160px;
    left: 8%;
    top: 88%;
    opacity: 0.34;
  }

  .field-notes,
  .quiz-section,
  .result-section,
  .persona-gallery {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-copy h2,
  .result-copy h2 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .note-strip,
  .guide-strip,
  .quiz-sidebar,
  .question-panel,
  .result-media,
  .result-story,
  .persona-item {
    border-radius: 12px;
  }

  .question-panel {
    min-height: auto;
  }

  .question-panel::before,
  .field-notes::before,
  .quiz-section::before,
  .result-section::before,
  .persona-gallery::before {
    opacity: 0.22;
  }

  .result-media::before {
    opacity: 0.24;
  }
}

@media (max-width: 520px) {
  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-button {
    min-height: 156px;
    padding: 20px;
  }

  .option-button::after {
    width: 56px;
  }

  .question-title {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

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

  .persona-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header,
  .hero,
  .field-notes,
  .quiz-section,
  .result-section,
  .persona-gallery,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-copy {
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: clamp(2.32rem, 12vw, 3.35rem);
  }

  .note-strip,
  .guide-strip,
  .quiz-sidebar,
  .question-panel,
  .result-media,
  .result-story {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
