/* Sarah's Secret Chamber — core styles */
:root {
  --midnight: #0a0618;
  --midnight-2: #14092a;
  --deep-purple: #1a0f2e;
  --violet: #2d1b4e;
  --indigo: #1b1448;
  --gold: #d4af37;
  --gold-bright: #f4d06f;
  --gold-dim: #8a6d1e;
  --ember: #ff9a3c;
  --parchment: #efe6d3;
  --mist: rgba(212, 175, 55, 0.12);
  --shadow: 0 20px 60px rgba(0,0,0,0.6);
  --glow-gold: 0 0 40px rgba(212, 175, 55, 0.45);
  --glow-gold-strong: 0 0 80px rgba(244, 208, 111, 0.7);
  --font-mystic: 'Cinzel', 'Trajan Pro', serif;
  --font-body: 'Cormorant Garamond', 'Garamond', serif;
  --font-name: 'IM Fell English', 'Cinzel', serif;
  --font-ui: 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--midnight);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* Ambient layers */
.sky {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(61, 30, 110, 0.55), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(30, 15, 70, 0.6), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(20, 9, 42, 0.8), #050210 70%),
    linear-gradient(180deg, #06030f, #0a0618 50%, #110724);
  pointer-events: none;
}
.stars-canvas, .particles-canvas, .cursor-canvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
}
.cursor-canvas { z-index: 9999; }

/* Candle vignette */
.candle-glow {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 50%,
    transparent 40%,
    rgba(10, 5, 20, 0.35) 70%,
    rgba(5, 2, 12, 0.9) 100%);
  mix-blend-mode: multiply;
}
.candle-flicker {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle 300px at 15% 50%, rgba(255, 154, 60, 0.08), transparent 60%),
              radial-gradient(circle 300px at 85% 50%, rgba(255, 154, 60, 0.08), transparent 60%);
  animation: flicker 4s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.9; }
  20% { opacity: 1; }
  50% { opacity: 0.75; }
  70% { opacity: 1; }
}

/* App root over ambient */
#app { position: relative; z-index: 10; }

/* ============ TYPE ============ */
h1, h2, h3 { font-family: var(--font-mystic); font-weight: 500; letter-spacing: 0.06em; }
.mystic-title {
  font-family: var(--font-mystic);
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(244, 208, 111, 0.55), 0 0 4px rgba(255, 200, 100, 0.8);
  letter-spacing: 0.1em;
}

/* ============ LANDING ============ */
.landing {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 4rem 2rem;
  text-align: center;
}
.landing-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.doorway {
  position: relative;
  width: min(460px, 80vw);
  height: min(620px, 75vh);
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
}
.doorway svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)); }
.door-leaf { transition: transform 1.8s cubic-bezier(.4,.0,.2,1), opacity 1.2s ease; transform-origin: center; }
.doorway.opening .door-leaf.left { transform: perspective(900px) rotateY(-85deg) translateX(-5%); opacity: 0.4; }
.doorway.opening .door-leaf.right { transform: perspective(900px) rotateY(85deg) translateX(5%); opacity: 0.4; }
.doorway.opening .door-light { opacity: 1; }

.door-light {
  position: absolute;
  inset: 8% 22%;
  background: radial-gradient(ellipse at center, rgba(244, 208, 111, 0.9), rgba(212, 175, 55, 0.5) 40%, transparent 70%);
  opacity: 0;
  transition: opacity 1.5s ease;
  filter: blur(8px);
  pointer-events: none;
}

.landing h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0;
  line-height: 1.05;
}
.landing .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(239, 230, 211, 0.75);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.08em;
  margin: 0;
}
.enter-btn {
  margin-top: 1.5rem;
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  font-family: var(--font-mystic);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  animation: btnPulse 3.5s ease-in-out infinite;
}
.enter-btn::before {
  content: ''; position: absolute; inset: -2px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
}
.enter-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 40px rgba(244, 208, 111, 0.6), inset 0 0 20px rgba(244, 208, 111, 0.2);
  letter-spacing: 0.24em;
  color: #fff6dd;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 30px rgba(244, 208, 111, 0.5); }
}

/* ============ CHAMBER ============ */
.chamber {
  position: relative;
  min-height: 100vh;
  padding: 3rem 2rem 6rem;
  max-width: 1440px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1.4s ease 0.6s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.top-bar h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-bright);
  letter-spacing: 0.15em;
}
.icon-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  padding: 0.6rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: none;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.icon-btn:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 20px rgba(244, 208, 111, 0.3);
}

/* Daily card */
.daily-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.4), rgba(26, 15, 46, 0.6));
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(4px);
}
.daily-card::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  z-index: -1;
  animation: borderShine 4s linear infinite;
}
@keyframes borderShine { to { filter: hue-rotate(30deg); } }
.daily-card .label {
  font-family: var(--font-mystic);
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.daily-card h3 {
  font-size: 2rem;
  color: var(--gold-bright);
  margin: 0.2rem 0 0.8rem;
  font-family: var(--font-name);
}
.daily-card p {
  margin: 0;
  font-style: italic;
  color: rgba(239, 230, 211, 0.8);
  font-size: 1.1rem;
}

/* Section */
.section { margin-bottom: 3.5rem; }
.section-title {
  display: flex; align-items: center; gap: 1rem;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  font-weight: 500;
}
.section-title::before, .section-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

/* Controls */
.controls {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem; align-items: center;
}
.search-input {
  background: rgba(10, 6, 24, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--parchment);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  min-width: 240px;
  flex: 1;
  max-width: 360px;
  letter-spacing: 0.05em;
}
.search-input:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 18px rgba(244, 208, 111, 0.25);
}
.search-input::placeholder { color: rgba(239, 230, 211, 0.4); font-style: italic; }
.filter-pill {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: rgba(239, 230, 211, 0.8);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: none;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  transition: all 0.3s;
}
.filter-pill.active, .filter-pill:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.6rem;
}
.tarot-card {
  position: relative;
  aspect-ratio: 1 / 1.65;
  cursor: none;
  perspective: 1000px;
  animation: bob 4s ease-in-out infinite;
  animation-delay: var(--bob-delay, 0s);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.tarot-card-inner {
  position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(.2, .9, .3, 1.2), box-shadow 0.4s;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(212, 175, 55, 0.2);
}
.tarot-card:hover .tarot-card-inner {
  transform: translateY(-16px) rotateX(6deg) rotateY(-4deg) scale(1.04);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 60px rgba(244, 208, 111, 0.5), inset 0 0 0 1px rgba(244, 208, 111, 0.6);
}
.tarot-card .card-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 10px 8px;
  font-family: var(--font-name);
  color: var(--gold-bright);
  text-align: center;
  background: linear-gradient(160deg, #1a0f38 0%, #100726 60%, #0a0518 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  overflow: hidden;
}
.card-face::after {
  content: ''; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.card-name {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  text-shadow: 0 0 8px rgba(244, 208, 111, 0.5);
  line-height: 1.15;
  min-height: 2.4em;
}
.card-number {
  font-family: var(--font-mystic);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(244, 208, 111, 0.7);
  margin-top: auto;
}
.card-art {
  flex: 1;
  display: grid; place-items: center;
  position: relative;
  width: 100%;
  padding: 4px;
}
.card-art svg { width: 100%; height: 100%; max-height: 140px; }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(5, 2, 12, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.modal {
  position: relative;
  background: linear-gradient(160deg, rgba(26, 15, 46, 0.95), rgba(10, 6, 24, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.4);
  max-width: 1100px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8), 0 0 80px rgba(212, 175, 55, 0.2);
}
.modal::before {
  content: ''; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: transparent; border: none; color: var(--gold);
  font-size: 2rem; cursor: none; z-index: 2;
  width: 40px; height: 40px; line-height: 1;
  font-family: var(--font-body);
}
.modal-close:hover { color: var(--gold-bright); text-shadow: 0 0 12px var(--gold-bright); }
.modal-card-wrap {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: center;
  perspective: 1200px;
}
.modal-card {
  width: 100%; max-width: 300px;
  aspect-ratio: 1/1.65;
  position: relative;
  transition: transform 0.8s cubic-bezier(.3, .9, .3, 1);
  transform-style: preserve-3d;
  animation: modalGlow 3s ease-in-out infinite;
}
@keyframes modalGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(244, 208, 111, 0.35)); }
  50% { filter: drop-shadow(0 0 45px rgba(244, 208, 111, 0.65)); }
}
.modal-card.reversed { transform: rotate(180deg); }
.modal-card .card-face { padding: 16px 12px; }
.modal-card .card-name { font-size: 1.2rem; }
.modal-card .card-art svg { max-height: 280px; }
.flip-toggle {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mystic);
  font-size: 0.85rem;
  cursor: none; letter-spacing: 0.15em;
  transition: all 0.3s;
}
.flip-toggle:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold-bright); }
.yesno-badge {
  display: inline-block; padding: 0.3rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-family: var(--font-mystic); font-size: 0.8rem;
  letter-spacing: 0.15em; color: var(--gold-bright);
}

.modal-content { display: flex; flex-direction: column; gap: 1.2rem; }
.modal-content h2 {
  margin: 0;
  font-size: 2.2rem;
  color: var(--gold-bright);
  font-family: var(--font-name);
  letter-spacing: 0.03em;
}
.position-tag {
  color: var(--ember); font-family: var(--font-mystic);
  font-size: 0.8rem; letter-spacing: 0.25em;
  text-transform: uppercase;
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  font-family: var(--font-body); font-size: 0.95rem;
  color: rgba(239, 230, 211, 0.75);
}
.meta-chip {
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  letter-spacing: 0.05em;
}
.meta-chip strong { color: var(--gold); font-weight: 500; margin-right: 0.3rem; }
.keywords {
  font-style: italic;
  color: rgba(239, 230, 211, 0.8);
  letter-spacing: 0.03em;
}

.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; border-bottom: 1px solid rgba(212, 175, 55, 0.2); }
.tab {
  background: transparent; border: none;
  color: rgba(239, 230, 211, 0.6);
  padding: 0.6rem 1rem;
  font-family: var(--font-mystic);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  cursor: none;
  position: relative;
  transition: color 0.3s;
}
.tab:hover { color: var(--gold); }
.tab.active { color: var(--gold-bright); }
.tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.tab-content {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(239, 230, 211, 0.92);
  min-height: 120px;
  animation: tabFade 0.4s ease;
}
@keyframes tabFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ============ READING ============ */
.reading-section {
  padding: 3rem 2rem;
  background: radial-gradient(ellipse at center, rgba(45, 27, 78, 0.35), transparent 70%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin: 3rem 0;
  text-align: center;
}
.spread-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 2rem auto 0;
}
.spread-option {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(160deg, rgba(45, 27, 78, 0.3), rgba(10, 6, 24, 0.5));
  cursor: none;
  transition: all 0.4s;
}
.spread-option:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 0 30px rgba(244, 208, 111, 0.3);
  transform: translateY(-4px);
}
.spread-option h4 {
  font-family: var(--font-mystic);
  color: var(--gold-bright);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}
.spread-option p { margin: 0; font-style: italic; color: rgba(239, 230, 211, 0.75); }

.reading-stage {
  padding: 2rem 1rem;
  background: radial-gradient(ellipse at center, rgba(80, 30, 60, 0.18), transparent 70%),
              repeating-linear-gradient(45deg, rgba(40, 10, 30, 0.15) 0 2px, transparent 2px 6px);
  min-height: 500px;
}
.reading-grid {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: flex-start;
  gap: 1.5rem; margin-top: 2rem;
}
.reading-slot {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem; width: 130px;
}
.reading-slot .slot-label {
  font-family: var(--font-mystic);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  min-height: 2em;
  text-align: center;
}
.reading-slot .mini-card {
  aspect-ratio: 1/1.65;
  width: 100%;
  cursor: none;
  position: relative;
  perspective: 1000px;
}
.mini-card-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.3, .9, .3, 1);
}
.mini-card.flipped .mini-card-inner { transform: rotateY(180deg); }
.mini-card .back, .mini-card .front {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.mini-card .back {
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.25), transparent 60%),
    repeating-linear-gradient(45deg, #1b0d3a 0 6px, #120726 6px 12px);
  display: grid; place-items: center;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
}
.mini-card .back::after {
  content: '✦'; font-size: 2rem; color: var(--gold);
  filter: drop-shadow(0 0 10px var(--gold));
  animation: starPulse 2s ease-in-out infinite;
}
@keyframes starPulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.mini-card .front { transform: rotateY(180deg); overflow: hidden; }
.mini-card.reversed .front { transform: rotateY(180deg) rotate(180deg); }
.mini-card.drawable .back:hover {
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6), 0 0 30px rgba(244, 208, 111, 0.5);
}

.reading-interp {
  margin-top: 2.5rem;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
  text-align: left;
}
.interp-block {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.interp-block:first-child { border-top: none; }
.interp-block h4 {
  font-family: var(--font-mystic);
  color: var(--gold-bright);
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
  letter-spacing: 0.08em;
}
.interp-block .pos { color: var(--ember); font-family: var(--font-mystic); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; margin-right: 0.5rem; }
.interp-block p { margin: 0.5rem 0 0; font-size: 1.05rem; line-height: 1.7; color: rgba(239, 230, 211, 0.88); }

/* ============ CUSTOM CURSOR ============ */
.cursor-dot {
  position: fixed; width: 10px; height: 10px;
  background: radial-gradient(circle, #fff6dd, var(--gold-bright) 60%, transparent);
  border-radius: 50%; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.2s, height 0.2s;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0618; }
::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 175, 55, 0.5); }

/* ============ RESPONSIVE ============ */
@media (max-width: 780px) {
  .modal { grid-template-columns: 1fr; padding: 1.5rem; }
  .daily-card { grid-template-columns: 120px 1fr; padding: 1.2rem; gap: 1rem; }
  .daily-card h3 { font-size: 1.4rem; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; }
  .reading-slot { width: 100px; }
  body { cursor: auto; }
  html, body { cursor: auto !important; }
  .enter-btn, .icon-btn, .filter-pill, .tab, .tarot-card, .mini-card, .modal-close { cursor: pointer; }
  .cursor-dot, .cursor-canvas { display: none; }
}

/* Loading state */
.loading {
  display: grid; place-items: center; min-height: 60vh;
  font-family: var(--font-mystic);
  color: var(--gold); letter-spacing: 0.3em;
}
.loading::before {
  content: '✦'; font-size: 3rem;
  animation: spin 3s linear infinite;
  margin-bottom: 1rem;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 20px var(--gold-bright));
  display: block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Particle burst */
@keyframes burstOut {
  from { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; }
}
.burst-particle {
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  top: 50%; left: 50%;
  pointer-events: none;
  animation: burstOut 1s ease-out forwards;
}

/* hide landing once entered */
.landing.exiting { animation: fadeOutUp 1.2s ease forwards; }
@keyframes fadeOutUp {
  to { opacity: 0; transform: translateY(-40px); pointer-events: none; }
}
