@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/dm-sans-latin.woff2') format('woff2');
}
:root {
  color-scheme: dark;
  --bg: #190f18;
  --panel: #281a25;
  --panel-border: rgba(213, 175, 123, 0.22);
  --ivory: #f8efdf;
  --gold: #d5af7b;
  --gold-glow: rgba(213, 175, 123, 0.16);
  --gold-hover: #e8c492;
  --muted: #c3acb8;
  --line: rgba(213, 175, 123, 0.18);
  --serif: 'Cormorant', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ivory);
  font: 400 1rem/1.65 var(--sans);
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 35%, rgba(113, 50, 71, 0.28), transparent 55%),
    radial-gradient(ellipse at 10% 15%, rgba(75, 38, 56, 0.38), transparent 48%),
    radial-gradient(circle at 50% 85%, rgba(95, 45, 65, 0.18), transparent 50%);
}
button, input { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; color: inherit; }
button:disabled { cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
button svg { pointer-events: none; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}
.header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand svg {
  color: var(--gold);
  width: 32px;
  height: 40px;
}
.brand-name {
  font: 500 1.55rem/1.1 var(--serif);
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  font: 500 0.65rem/1 var(--sans);
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 6px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.back:hover { color: var(--ivory); }
.back:disabled { visibility: hidden; }
.back svg { width: 16px; height: 16px; }

.progress {
  width: 175px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.progress-label b {
  font-weight: 500;
  color: var(--gold);
}
.bars {
  display: flex;
  gap: 4px;
}
.bars i {
  height: 3px;
  flex: 1;
  background: #46303d;
  border-radius: 9px;
  transition: background 0.3s;
}
.bars .done {
  background: var(--gold);
}

main {
  min-height: 640px;
  padding: 44px 0 40px;
}
#stage {
  animation: enter 0.25s ease both;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
}
h1 {
  font: 500 clamp(2.5rem, 4.8vw, 4.1rem)/1.06 var(--serif);
  letter-spacing: -0.025em;
}
h1 em {
  color: var(--gold);
  font-style: normal;
}
.subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #dfced7;
  max-width: 540px;
  margin-top: 16px;
}
.body-copy {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #c9b4c0;
  margin-top: 14px;
  max-width: 480px;
}
.quiet {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

/* STEP 1: OPENING DECK */
.opening {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 20px;
  min-height: 540px;
}
.opening-copy {
  padding-right: 28px;
}
.opening h1 {
  max-width: 490px;
}
.opening h1 span {
  display: block;
}
.intro-instruction {
  border-left: 2px solid var(--gold);
  padding: 0 0 0 16px;
  margin: 22px 0 20px;
  font-size: 0.92rem;
  color: #ecdfe3;
  line-height: 1.68;
}
.intro-instruction strong {
  display: block;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}
.free-badge-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gold);
  line-height: 1.5;
  margin-top: 18px;
}
.free-badge-note svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.micro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.micro-tags span {
  border: 1px solid var(--line);
  background: rgba(40, 26, 37, 0.45);
  border-radius: 40px;
  padding: 5px 12px;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #d1bcc5;
}

.card-zone {
  position: relative;
  text-align: center;
  min-width: 0;
}
.orbit {
  pointer-events: none;
  position: absolute;
  width: 440px;
  height: 440px;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(213, 175, 123, 0.12);
  border-radius: 50%;
}
.orbit::after {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(213, 175, 123, 0.09);
  border-radius: 50%;
}
.deck {
  height: 410px;
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 40%;
  max-width: 610px;
  margin: auto;
}
.tarot-card {
  position: absolute;
  left: calc(50% - 87px);
  top: 46px;
  width: 174px;
  aspect-ratio: 2/3;
  border: 0;
  padding: 0;
  border-radius: 10px;
  background: none;
  transform-origin: 50% 85%;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
  transition: transform 0.65s cubic-bezier(0.22, 0.68, 0.18, 1), opacity 0.4s, filter 0.4s, box-shadow 0.65s;
  overflow: visible;
}
.tarot-card:nth-child(1) { transform: translate(-122px, 14px) rotate(-12deg); z-index: 1; }
.tarot-card:nth-child(2) { transform: translateY(-7px); z-index: 3; }
.tarot-card:nth-child(3) { transform: translate(122px, 14px) rotate(12deg); z-index: 2; }

.tarot-card:hover:not(:disabled) {
  filter: brightness(1.18);
}
.tarot-card:nth-child(1):hover:not(:disabled) { transform: translate(-122px, 0) rotate(-10deg); }
.tarot-card:nth-child(2):hover:not(:disabled) { transform: translateY(-20px); }
.tarot-card:nth-child(3):hover:not(:disabled) { transform: translate(122px, 0) rotate(10deg); }

.card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.95s cubic-bezier(0.17, 0.67, 0.2, 1);
}
.card-side {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #b3895e;
  background: #281620;
}
.card-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 236, 196, 0.34) 43%, rgba(255, 236, 196, 0.04) 58%, transparent 77%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
}
.front { transform: rotateY(180deg); }
.card-label {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  color: #dbc3a8;
  transition: opacity 0.3s;
}

.deck.selecting .tarot-card:not(.chosen) {
  opacity: 0.12;
  filter: saturate(0.15);
  pointer-events: none;
}
.deck.selecting .tarot-card.chosen {
  transform: translate3d(0, -14px, 65px) rotateZ(0) scale(1.12);
  opacity: 1;
  filter: none;
  z-index: 8;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.55), 0 0 38px rgba(213, 175, 123, 0.18);
}
.deck.selecting .chosen .card-inner {
  transform: rotateX(8deg) rotateY(0deg);
}
.deck.selecting.flipping .chosen .card-inner {
  transform: rotateX(0deg) rotateY(180deg);
}
.deck.selecting.flipping .chosen .front::after {
  animation: card-sheen 0.85s 0.4s ease both;
}
.deck.revealed .tarot-card {
  opacity: 0.17;
  filter: saturate(0.2);
}
.deck.revealed .tarot-card .card-label { opacity: 0; }
.deck.revealed .tarot-card.chosen {
  transform: translateY(-4px) scale(1.1);
  opacity: 1;
  filter: none;
  z-index: 5;
}
.deck.revealed .chosen .card-inner { transform: rotateY(180deg); }
.deck.revealed .chosen .card-label { opacity: 1; }

.deck-caption {
  font-size: 0.88rem;
  color: #d8c0cd;
  position: relative;
  margin-top: -6px;
}
.deck-caption svg {
  color: var(--gold);
  display: inline;
  vertical-align: -3px;
  width: 17px;
  height: 17px;
  margin-right: 7px;
}
.deck-note {
  position: relative;
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--muted);
}

/* FIRST RESULT */
.first-result {
  animation: copy-reveal 0.5s both;
}
.first-result h1 {
  color: var(--gold);
  margin-bottom: 16px;
}
.first-result .subtitle {
  font-size: 1rem;
  margin-top: 0;
  line-height: 1.8;
  color: #eddfe4;
}
.first-result .bridge {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #f7ebe8;
  margin: 22px 0 24px;
  border-left: 2px solid var(--gold);
  padding-left: 15px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #e7c79e;
  border-radius: 8px;
  background: var(--gold);
  color: #261621;
  font-size: 0.96rem;
  font-weight: 600;
  min-height: 56px;
  padding: 14px 26px;
  width: 100%;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(213, 175, 123, 0.2);
}
.primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(213, 175, 123, 0.3);
}
.primary svg {
  width: 18px;
  height: 18px;
}
.first-result .primary {
  max-width: 380px;
}

/* QUESTION LAYOUT (STEPS 2, 3, 4, 5) */
.question-layout {
  display: grid;
  grid-template-columns: minmax(0, 670px) minmax(200px, 1fr);
  gap: 70px;
  align-items: start;
  max-width: 990px;
  margin: 6px auto 0;
}
.question-copy h1 {
  max-width: 670px;
}
.question-copy .subtitle {
  margin-top: 14px;
}
.selection-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 22px 0 14px;
  letter-spacing: 0.04em;
}

.options {
  display: grid;
  gap: 12px;
}
.option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 16px 20px;
  min-height: 84px;
  background: rgba(48, 29, 42, 0.65);
  border: 1px solid rgba(213, 175, 123, 0.22);
  border-radius: 11px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.option:hover {
  background: rgba(62, 37, 54, 0.85);
  border-color: rgba(213, 175, 123, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.option.selected {
  background: rgba(66, 40, 57, 0.95);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.option-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(25, 15, 24, 0.4);
  color: var(--gold);
  flex-shrink: 0;
}
.option-icon svg { width: 20px; height: 20px; }
.option-content {
  flex: 1;
  min-width: 0;
}
.option-title {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #f7ede5;
  font-weight: 400;
}
.option-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.option-mark {
  width: 18px;
  height: 18px;
  border: 1px solid #8e6279;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s;
}
.option.selected .option-mark {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px #3c2933;
}

.memento {
  border-left: 1px solid var(--line);
  padding-left: 32px;
  padding-top: 14px;
  text-align: center;
  margin-top: 8px;
}
.memento-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.memento img {
  width: 124px;
  height: 186px;
  object-fit: cover;
  box-shadow: 0 14px 28px #0d080d;
  border: 1px solid #a37c56;
  border-radius: 8px;
  margin: auto;
}
.memento h2 {
  font: 500 1.9rem/1.2 var(--serif);
  color: #e0bb86;
  margin-top: 15px;
}
.memento p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 10px auto 0;
  max-width: 210px;
}
.step-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 22px;
}
.step-bottom svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

/* STEP 5: PERSONALIZACIÓN */
.identity-form {
  margin-top: 26px;
  max-width: 520px;
}
.field-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: #efddd8;
  margin-bottom: 9px;
}
.field-label small {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
input[type="text"] {
  width: 100%;
  border: 1px solid #75556a;
  border-radius: 8px;
  background: #271824;
  color: #f8efdf;
  min-height: 56px;
  padding: 14px 18px;
  font-size: 1.05rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="text"]::placeholder {
  color: #9f8695;
}
input[type="text"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-glow);
  outline: none;
}
.input-note {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 8px;
}
.identity-form .primary {
  margin-top: 24px;
}
.skip {
  display: block;
  margin: 16px auto 0;
  border: none;
  background: none;
  color: #d4bcc9;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.85rem;
  padding: 6px 12px;
  transition: color 0.2s;
}
.skip:hover {
  color: var(--ivory);
}
.privacy-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--muted);
}
.privacy-inline svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

/* STEP 6: RESULTADO */
.summary-layout {
  max-width: 1010px;
  margin: 4px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(230px, 1fr);
  gap: 68px;
  align-items: start;
}
.summary-layout h1 {
  font-size: clamp(2.4rem, 4.3vw, 3.4rem);
  line-height: 1.08;
}
.summary-intro {
  font-size: 1.05rem;
  color: #dfcfd7;
  line-height: 1.75;
  margin: 16px 0 24px;
}
.summary-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  gap: 16px;
}
.fact-item {
  background: rgba(43, 26, 38, 0.55);
  border: 1px solid rgba(213, 175, 123, 0.16);
  border-radius: 9px;
  padding: 13px 16px;
}
.fact-label {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.fact-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #f7ede7;
}

.summary-turn {
  margin: 24px 0;
  font-size: 0.96rem;
  line-height: 1.8;
  color: #e5d4dc;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}
.summary-turn p + p {
  margin-top: 10px;
}

.summary-mechanism {
  background: linear-gradient(135deg, rgba(56, 34, 49, 0.75), rgba(39, 23, 35, 0.85));
  border: 1px solid rgba(213, 175, 123, 0.32);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}
.mechanism-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
}
.mechanism-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 8px;
}
.mechanism-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #dfccd6;
}

.summary-layout .primary {
  max-width: 100%;
  font-size: 1.02rem;
  min-height: 60px;
}
.video-duration-note {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--gold);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.video-duration-note svg {
  width: 16px;
  height: 16px;
}
.summary-card {
  padding: 24px 22px;
  background: rgba(45, 28, 40, 0.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.summary-card img {
  width: 135px;
  aspect-ratio: 2/3;
  object-fit: cover;
  margin: auto;
  border: 1px solid #b3895e;
  border-radius: 8px;
  box-shadow: 0 16px 30px #0f0a0f;
}
.summary-card h2 {
  font: 500 2rem/1.1 var(--serif);
  color: var(--gold);
  margin: 18px 0 12px;
}
.summary-card .card-message {
  font-size: 0.86rem;
  line-height: 1.75;
  color: #e5d4dc;
}
.restart {
  display: block;
  margin: 20px auto 0;
  padding: 6px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.restart:hover { color: var(--ivory); }

/* PREPARATION SCREEN (STEP 5 -> 6) */
.preparation {
  max-width: 660px;
  margin: 12px auto 0;
  text-align: center;
  animation: copy-reveal 0.4s both;
}
.preparation .eyebrow { justify-content: center; }
.preparation h1 { font-size: clamp(2.65rem, 5vw, 3.8rem); }
.preparation .subtitle { margin: 16px auto 0; max-width: 480px; }
.preparation-scene {
  position: relative;
  height: 280px;
  margin: 20px auto 10px;
  max-width: 410px;
  perspective: 1000px;
}
.preparation-orbit {
  position: absolute;
  border: 1px solid rgba(213, 175, 123, 0.2);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one {
  width: 270px;
  height: 270px;
  border-top-color: var(--gold);
  animation: ring-turn 6s linear infinite;
}
.orbit-two {
  width: 230px;
  height: 230px;
  border-right-color: rgba(213, 175, 123, 0.55);
  border-style: dashed;
  animation: ring-turn 9s linear infinite reverse;
}
.preparation-card {
  position: absolute;
  width: 100px;
  aspect-ratio: 2/3;
  left: calc(50% - 50px);
  top: 64px;
  border: 1px solid #b3895e;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.preparation-card img { width: 100%; height: 100%; object-fit: cover; }
.ghost-left { transform: translateX(-64px) rotate(-15deg); opacity: 0.45; }
.ghost-right { transform: translateX(64px) rotate(15deg); opacity: 0.45; }
.main-card {
  z-index: 3;
  animation: card-float 2.8s ease-in-out infinite;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 24px rgba(213, 175, 123, 0.16);
}
.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  animation: spark-pulse 1.8s ease-in-out infinite;
}
.spark-one { top: 38px; left: 28%; }
.spark-two { bottom: 36px; right: 25%; animation-delay: 0.6s; }
.spark-three { top: 47%; right: 14%; animation-delay: 1.1s; }
.preparation-progress {
  max-width: 360px;
  margin: 18px auto 0;
}
.preparation-track {
  height: 4px;
  overflow: hidden;
  border-radius: 8px;
  background: #46303d;
}
.preparation-track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #9b744d, #f2d4a7);
  transition: width 0.65s cubic-bezier(0.22, 0.68, 0.18, 1);
  box-shadow: 0 0 12px #d5af7b;
}
.preparation-checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.preparation-checks li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.25s;
}
.prep-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
.prep-mark svg { width: 11px; height: 11px; opacity: 0; }
.preparation-checks .done { color: var(--ivory); }
.done .prep-mark {
  background: rgba(213, 175, 123, 0.2);
  border-color: var(--gold);
  color: var(--gold);
}
.done .prep-mark svg { opacity: 1; }
.preparation-status {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--gold);
  min-height: 26px;
}
.preparation.finishing {
  animation: preparation-exit 0.25s both;
}

/* FOOTER */
.footer-rail {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: #cbb4c0;
  font-size: 0.76rem;
}
.footer-rail span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-rail svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}
footer {
  text-align: center;
  padding: 0 15px 28px;
  font-size: 0.76rem;
  color: #a68c9b;
  line-height: 1.8;
}
.noscript {
  border: 1px solid var(--gold);
  padding: 25px;
  margin: 30px auto;
  max-width: 650px;
  text-align: center;
}

/* KEYFRAMES */
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes card-sheen { 0% { opacity: 0; transform: translateX(-120%); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateX(120%); } }
@keyframes copy-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ring-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotateY(-6deg); } 50% { transform: translateY(-9px) rotateY(6deg); } }
@keyframes spark-pulse { 0%, 100% { opacity: 0.3; transform: scale(0.6); } 50% { opacity: 0.95; transform: scale(1); } }
@keyframes preparation-exit { to { opacity: 0; transform: translateY(-8px); } }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .question-layout, .summary-layout { gap: 45px; }
  .opening-copy { padding-right: 18px; }
  .tarot-card { width: 150px; left: calc(50% - 75px); }
  .tarot-card:nth-child(1) { transform: translate(-100px, 14px) rotate(-12deg); }
  .tarot-card:nth-child(3) { transform: translate(100px, 14px) rotate(12deg); }
  .orbit { width: 370px; height: 370px; top: 25px; }
  .deck { height: 370px; }
  .summary-layout { grid-template-columns: 60% minmax(200px, 1fr); }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 36px); }
  .header { min-height: 80px; gap: 12px; }
  .brand-name { font-size: 1.32rem; }
  .brand-name small { display: none; }
  .brand svg { width: 28px; height: 35px; }
  .header-right { gap: 14px; }
  .progress { width: 120px; }
  .progress-label { font-size: 0.7rem; }
  .back { font-size: 0.8rem; }
  .back span { display: none; }
  
  main { padding: 26px 0; min-height: 0; }
  .opening { display: flex; flex-direction: column; min-height: 0; gap: 14px; }
  .opening-copy { padding: 0; text-align: center; width: 100%; }
  .eyebrow { justify-content: center; margin-bottom: 14px; font-size: 0.72rem; }
  .opening h1 { font-size: 2.75rem; line-height: 1.04; margin: auto; max-width: 440px; }
  .opening h1 span { display: inline; }
  .opening .subtitle { max-width: 390px; margin: 14px auto 0; font-size: 1rem; line-height: 1.7; }
  .opening .body-copy { max-width: 370px; margin: 12px auto 0; font-size: 0.9rem; }
  .intro-instruction { max-width: 370px; border-left: 0; padding: 0; margin: 16px auto 0; font-size: 0.88rem; }
  .free-badge-note { justify-content: center; margin-top: 14px; font-size: 0.76rem; }
  .micro-tags { justify-content: center; margin-top: 16px; gap: 7px; }
  
  .card-zone { width: 100%; max-width: 420px; margin-top: 4px; }
  .deck { height: 290px; }
  .tarot-card { width: 120px; left: calc(50% - 60px); top: 34px; }
  .tarot-card:nth-child(1) { transform: translate(-72px, 12px) rotate(-12deg); }
  .tarot-card:nth-child(2) { transform: translateY(-2px); }
  .tarot-card:nth-child(3) { transform: translate(72px, 12px) rotate(12deg); }
  .orbit { width: 280px; height: 280px; top: 16px; }
  .card-label { font-size: 0.7rem; }
  .deck-caption { font-size: 0.82rem; margin-top: -2px; }
  .deck-note { font-size: 0.74rem; }
  
  .opening.has-card .card-zone { order: -1; margin: 0; }
  .opening.has-card .deck { height: 275px; }
  .opening.has-card .opening-copy { margin-top: 14px; }
  .first-result h1 { font-size: 2.7rem; margin-bottom: 12px; }
  .first-result .subtitle { max-width: 390px; font-size: 0.98rem; margin: 0 auto; }
  .first-result .bridge { max-width: 380px; margin: 16px auto 20px; }
  .first-result .primary { margin: auto; }
  
  .question-layout { display: block; max-width: 560px; margin: 4px auto 0; }
  .question-copy h1 { font-size: 2.55rem; line-height: 1.08; text-align: left; }
  .question-copy .eyebrow { justify-content: flex-start; }
  .question-copy .subtitle { font-size: 1rem; line-height: 1.7; }
  .selection-note { margin: 16px 0 12px; }
  .option { min-height: 78px; padding: 14px 15px; gap: 13px; }
  .option-title { font-size: 0.96rem; }
  .option-sub { font-size: 0.8rem; }
  .option-icon { width: 36px; height: 36px; }
  .option-icon svg { width: 18px; height: 18px; }
  
  .memento { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .memento img { width: 48px; height: 72px; margin: 0; border-radius: 4px; }
  .memento-label { font-size: 0.68rem; margin-bottom: 3px; }
  .memento h2 { font-size: 1.6rem; margin: 0; }
  .memento p { margin: 4px 0 0; font-size: 0.76rem; max-width: none; }
  
  .identity-form { margin-top: 20px; }
  .privacy-inline { font-size: 0.78rem; margin-top: 20px; }
  
  .summary-layout { display: flex; flex-direction: column; gap: 24px; max-width: 560px; margin: auto; }
  .summary-layout h1 { font-size: 2.6rem; line-height: 1.08; }
  .summary-layout .eyebrow { justify-content: flex-start; }
  .summary-intro { margin: 14px 0 18px; font-size: 1rem; }
  .summary-card { width: 100%; padding: 18px; text-align: left; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 0 16px; order: 2; }
  .summary-card img { width: 74px; aspect-ratio: 2/3; grid-row: 1/4; align-self: start; margin: 0; }
  .summary-card h2 { font-size: 1.75rem; margin: 0 0 8px; }
  .summary-card .card-message { font-size: 0.84rem; }
  .summary-card .memento-label { margin-bottom: 4px; }
  .summary-copy { width: 100%; order: 1; }
  .summary-actions { order: 3; width: 100%; }
  
  .footer-rail { gap: 16px; padding: 18px 0; font-size: 0.74rem; }
  footer { font-size: 0.74rem; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .brand-name { font-size: 1.15rem; }
  .brand svg { width: 24px; }
  .progress { width: 95px; }
  .opening h1 { font-size: 2.3rem; }
  .tarot-card { width: 104px; left: calc(50% - 52px); }
  .tarot-card:nth-child(1) { transform: translate(-62px, 12px) rotate(-12deg); }
  .tarot-card:nth-child(3) { transform: translate(62px, 12px) rotate(12deg); }
  .deck { height: 265px; }
  .orbit { width: 250px; height: 250px; }
  .question-copy h1, .summary-layout h1 { font-size: 2.25rem; }
  .option { gap: 10px; padding: 13px 11px; }
  .option-title { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
