/* ═══════════════════════════════════════════════════════════
   GONÇALO.GURU — The Enlightened One
   Theme: midnight indigo, sacred gold, cosmic purple
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0b0817;
  --bg-alt: #120c24;
  --ink: #e9e2f5;
  --ink-dim: #9d92b8;
  --gold: #d4af37;
  --gold-bright: #f2d060;
  --purple: #7b4fd0;
  --violet-deep: #2a1850;
  --font-display: "Cinzel", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-mono: "Space Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.ascended { background: #1a0f00; }

::selection { background: var(--gold); color: var(--bg); }

/* ─────────── Custom cursor ─────────── */
#cursor-dot, #cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
#cursor-dot {
  width: 7px; height: 7px;
  background: var(--gold-bright);
  box-shadow: 0 0 12px 2px rgba(242, 208, 96, 0.8);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s, background 0.25s;
}
body.cursor-hover #cursor-ring {
  width: 58px; height: 58px;
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
}
@media (hover: none), (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ─────────── Preloader ─────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-mandala {
  color: var(--gold);
  animation: spin 6s linear infinite;
}
#preloader-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.dots span { animation: blink 1.4s infinite; }
.dots span:nth-child(2) { animation-delay: 0.25s; }
.dots span:nth-child(3) { animation-delay: 0.5s; }
@keyframes blink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────── Scroll progress ─────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--gold-bright));
  z-index: 1001;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* ─────────── Nav ─────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
#nav.scrolled {
  background: rgba(11, 8, 23, 0.82);
  backdrop-filter: blur(12px);
  padding: 0.6rem 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { width: 100%; }
#chakra-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-nebula {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 45% at 20% 20%, rgba(123, 79, 208, 0.35), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(212, 175, 55, 0.14), transparent 60%),
    radial-gradient(ellipse 70% 55% at 55% 85%, rgba(42, 24, 80, 0.7), transparent 70%),
    radial-gradient(ellipse 40% 35% at 90% 90%, rgba(123, 79, 208, 0.22), transparent 60%),
    var(--bg);
  animation: nebula-drift 26s ease-in-out infinite alternate;
}
@keyframes nebula-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-2.5%, 2%) scale(1.06); }
}
body.ascended .hero-nebula {
  background:
    radial-gradient(ellipse 60% 45% at 20% 20%, rgba(242, 208, 96, 0.4), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(212, 175, 55, 0.3), transparent 60%),
    radial-gradient(ellipse 70% 55% at 55% 85%, rgba(120, 70, 10, 0.7), transparent 70%),
    #1a0f00;
}
#particles { position: absolute; inset: 0; }

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 8.5rem);
  line-height: 1;
  letter-spacing: 0.06em;
}
.hero-title .char {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-bright) 20%, var(--gold) 55%, #8a6d1f 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.25));
  opacity: 0;
  transform: translateY(60px) rotate(6deg);
  animation: char-in 0.9s var(--ease-out) forwards;
  transition: transform 0.3s var(--ease-out);
}
.hero-title .char:hover { transform: translateY(-10px) rotate(-3deg) scale(1.08); }
.hero-title .char:nth-child(1) { animation-delay: 0.10s; }
.hero-title .char:nth-child(2) { animation-delay: 0.18s; }
.hero-title .char:nth-child(3) { animation-delay: 0.26s; }
.hero-title .char:nth-child(4) { animation-delay: 0.34s; }
.hero-title .char:nth-child(5) { animation-delay: 0.42s; }
.hero-title .char:nth-child(6) { animation-delay: 0.50s; }
.hero-title .char:nth-child(7) { animation-delay: 0.58s; }
@keyframes char-in {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero-subtitle {
  margin-top: 0.8rem;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  color: var(--ink-dim);
}
#cycler {
  color: var(--gold-bright);
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-block;
  min-width: 6ch;
  text-align: left;
  transition: opacity 0.35s, transform 0.35s;
}
#cycler.swap { opacity: 0; transform: translateY(8px); }

/* Portrait with mandala ring */
.portrait-wrap {
  position: relative;
  width: min(340px, 70vw);
  margin-top: 3rem;
  cursor: pointer;
}
.portrait {
  width: 100%;
  aspect-ratio: 607 / 545;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(212, 175, 55, 0.6);
  box-shadow:
    0 0 40px rgba(212, 175, 55, 0.25),
    0 0 120px rgba(123, 79, 208, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  animation: levitate 5.5s ease-in-out infinite;
  transition: filter 0.4s;
  display: block;
}
.portrait:hover { filter: brightness(1.1) saturate(1.15); }
@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.portrait-halo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 208, 96, 0.22) 0%, rgba(123, 79, 208, 0.12) 45%, transparent 70%);
  z-index: -1;
  animation: halo-pulse 4s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.mandala-ring {
  position: absolute;
  inset: -14%;
  width: 128%; height: 128%;
  color: var(--gold);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.ring-text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 2.5px;
  fill: var(--gold);
  opacity: 0.85;
}
.portrait-hint {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
  animation: hint-pulse 2.4s ease-in-out infinite;
}
@keyframes hint-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.scroll-cue {
  margin-top: 3rem;
  width: 26px; height: 44px;
  border: 1.5px solid var(--ink-dim);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 3px; height: 9px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ─────────── Marquee ─────────── */
.marquee {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(18, 12, 36, 0.6);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─────────── Sections ─────────── */
.section {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
}
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 18%, var(--bg-alt) 82%, var(--bg) 100%);
}
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  width: 44px; height: 44px;
  line-height: 44px;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  letter-spacing: 0.05em;
  color: var(--ink);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 80px; height: 2px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-sub {
  margin-top: 1rem;
  color: var(--ink-dim);
  font-style: italic;
  font-size: 1.1rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────── Legend ─────────── */
.legend-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 860px) {
  .legend-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--gold);
}
.legend-text p { margin-bottom: 1.4rem; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.stat {
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 1.6rem 1rem;
  text-align: center;
  background: rgba(18, 12, 36, 0.5);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.stat:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.12);
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--gold-bright);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ─────────── Wisdom ─────────── */
.wisdom-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 3.5rem 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 79, 208, 0.15), transparent 70%),
    rgba(11, 8, 23, 0.55);
  position: relative;
}
.wisdom-ornament {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-alt);
  padding: 0 0.8rem;
  color: var(--gold);
  font-size: 1.6rem;
}
#wisdom-quote { min-height: 5.5em; display: flex; align-items: center; justify-content: center; }
#wisdom-text {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
}
#wisdom-text .caret {
  display: inline-block;
  width: 2px;
  background: var(--gold);
  animation: blink 1s infinite;
}
#wisdom-cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-style: normal;
}

/* ─────────── Buttons ─────────── */
.btn {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: none;
  border-radius: 6px;
  padding: 1rem 2.4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.35);
}
.btn:active { transform: translateY(0) scale(0.97); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.btn-ghost:hover { box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15); }

/* ─────────── Teachings cards ─────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  perspective: 1200px;
}
.card {
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  padding: 2.6rem 2rem;
  background: linear-gradient(160deg, rgba(42, 24, 80, 0.45), rgba(18, 12, 36, 0.7));
  transition: transform 0.2s ease-out, border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(123, 79, 208, 0.2);
}
.card-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
  color: var(--gold-bright);
}
.card p { font-size: 1.1rem; color: var(--ink-dim); }

/* ─────────── The Path (clicker) ─────────── */
.path-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 860px) {
  .path-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}
.path-face-wrap { position: relative; display: flex; justify-content: center; }
.path-face {
  width: min(320px, 75vw);
  aspect-ratio: 607 / 545;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.12s ease-out, box-shadow 0.4s;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}
.path-face:hover { box-shadow: 0 0 60px rgba(212, 175, 55, 0.45); }
.path-face:active { transform: scale(0.94); }
.path-face.maxed { animation: levitate 3s ease-in-out infinite; }
#burst-layer { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.burst-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: burst 0.9s ease-out forwards;
}
@keyframes burst {
  from { opacity: 1; transform: translate(0, 0) scale(1); }
  to   { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2); }
}
.float-text {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-bright);
  pointer-events: none;
  animation: float-up 1.1s ease-out forwards;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}
@keyframes float-up {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-70px); }
}
.path-panel { text-align: left; }
.path-rank-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.path-rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-bright);
  margin: 0.3rem 0 1.2rem;
  transition: transform 0.3s var(--ease-out);
}
.path-rank.levelup { animation: levelup 0.7s var(--ease-out); }
@keyframes levelup {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); filter: brightness(1.6); }
  100% { transform: scale(1); }
}
.path-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(157, 146, 184, 0.18);
  overflow: hidden;
}
.path-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold-bright));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  transition: width 0.45s var(--ease-out);
}
.path-clicks {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}
.rank-list {
  margin-top: 1.8rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
}
.rank-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(157, 146, 184, 0.2);
  display: flex;
  justify-content: space-between;
  opacity: 0.45;
  transition: opacity 0.4s, color 0.4s;
}
.rank-list li.reached { opacity: 1; color: var(--gold); }
.rank-list li.reached::before { content: "✦ "; }

/* ─────────── Testimonials ─────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.testimonial {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 1.8rem;
  background: rgba(18, 12, 36, 0.45);
  border-radius: 0 12px 12px 0;
}
.testimonial blockquote { font-style: italic; font-size: 1.15rem; }
.testimonial figcaption {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ─────────── Join form ─────────── */
.join-form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.join-form .btn { margin-top: 0; }
#join-email {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 1rem 1.4rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(11, 8, 23, 0.7);
  color: var(--ink);
  width: min(340px, 80vw);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#join-email:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.join-response {
  margin-top: 1.5rem;
  text-align: center;
  font-style: italic;
  color: var(--gold-bright);
  min-height: 1.6em;
}

/* ─────────── Footer ─────────── */
.footer {
  text-align: center;
  padding: 4rem 2rem 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--ink-dim);
  font-size: 1rem;
}
.footer-mandala {
  color: var(--gold);
  animation: spin 24s linear infinite;
  margin-bottom: 1rem;
}
.footer-hint {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
kbd {
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-family: var(--font-mono);
  color: var(--gold);
}

/* ─────────── Ascension overlay ─────────── */
#ascension {
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(242, 208, 96, 0.55), rgba(212, 175, 55, 0.25) 45%, transparent 75%);
  opacity: 0;
  transition: opacity 1.2s;
}
body.ascended #ascension { opacity: 1; animation: ascension-flash 3s ease-out forwards; }
@keyframes ascension-flash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}
.ascension-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 5rem);
  color: var(--gold-bright);
  text-shadow: 0 0 60px rgba(242, 208, 96, 0.9);
  letter-spacing: 0.2em;
}
body.ascended .portrait, body.ascended .path-face {
  animation: levitate 1.8s ease-in-out infinite, spin-slow 9s linear infinite;
  filter: brightness(1.2) saturate(1.3) sepia(0.25);
}
@keyframes spin-slow { to { rotate: 360deg; } }

/* Screen shake for big moments */
body.shake { animation: shake 0.5s; }
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6px, 4px); }
  40% { transform: translate(5px, -5px); }
  60% { transform: translate(-4px, -3px); }
  80% { transform: translate(4px, 5px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
