.flower-nav { position: relative; }
.flower-nav .petal { transform-box: fill-box; transform-origin: center; }
.flower-nav.is-transitioning .petal { transition: opacity .92s ease, transform 1.45s cubic-bezier(.18,.72,.22,1), filter 1.05s ease; }
.flower-nav.is-transitioning .petal:not(.is-selected) { opacity: 0; transform: scale(.4) rotate(24deg); }
.flower-nav.is-transitioning .petal.is-selected { transition: none; animation: petal-shell-dissolve .52s ease-out forwards; }
.merkaba-spin { pointer-events: none; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 6px var(--world-color)); animation: merkaba-spin-dissolve 1.42s cubic-bezier(.2,.7,.25,1) forwards; will-change: transform, opacity; }
.world-dust-canvas { position: fixed; inset: 0; z-index: 101; width: 100vw; height: 100vh; pointer-events: none; }
.flower-nav.is-transitioning .geometry-lines, .flower-nav.is-transitioning .flower-center, .flower-nav.is-transitioning .center-label { opacity: 0; transition: opacity .8s ease; }
.portal.is-entering-world { box-shadow: inset 0 0 120px color-mix(in srgb, var(--world-color) 48%, transparent); transition: box-shadow 1.1s ease; }
.portal.is-entering-world > div, .portal.is-entering-world > nav { opacity: 0; filter: blur(15px); transform: scale(1.06) translateY(-18px); transition: opacity 1s ease .2s, filter 1.15s ease .15s, transform 1.15s ease .15s; }
.flower-nav.is-entering-center .petal { opacity: .18; filter: blur(5px); transition: opacity .7s ease, filter .7s ease; }
.flower-nav.is-entering-center .center-link { transform: scale(1.35); filter: drop-shadow(0 0 18px #ffb6e8) drop-shadow(0 0 28px #76eff6); }
.center-vortex { position: fixed; inset: 0; z-index: 102; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 0 1px, #d2efff 2px, transparent 3px) 0 0 / 101px 109px, radial-gradient(circle at 50% 50%, transparent 0 1px, #ffc2f4 2px, transparent 3px) 28px 48px / 151px 137px, radial-gradient(circle at center, #151331, #050918 78%); transition: opacity .6s ease; }
.center-vortex.is-revealing { opacity: 0; }
.vortex-ring { position: absolute; left: 50%; top: 50%; width: min(55vw, 400px); aspect-ratio: 1; clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); background: conic-gradient(from 20deg, #ffe178, #f779dc, #906ff4, #67edfa, #a4ffb2, #ffe178); box-shadow: 0 0 24px #ba75f8; animation: tunnel-rush 1.45s ease-in both; animation-delay: calc(var(--ring-index) * .09s); }
.vortex-ring::after { content: ''; position: absolute; inset: 7px; clip-path: inherit; background: #060a1d; }
@keyframes tunnel-rush { 0% { transform: translate(-50%, -50%) scale(.15) rotate(-10deg); opacity: 0; } 25% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3.8) rotate(14deg); opacity: 0; } }
.world-bloom { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: radial-gradient(circle at 14% 23%, rgba(255,255,255,.9) 0 1px, transparent 2px) 0 0 / 91px 99px, radial-gradient(circle at 76% 67%, rgba(255,225,253,.8) 0 1px, transparent 2px) 0 0 / 137px 123px, radial-gradient(circle at var(--bloom-x) var(--bloom-y), color-mix(in srgb, var(--world-color) 68%, white) 0%, color-mix(in srgb, var(--world-color) 48%, #16102c) 38%, #090c20 100%); clip-path: circle(0 at var(--bloom-x) var(--bloom-y)); }
.world-bloom::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--bloom-x) var(--bloom-y), rgba(255,255,255,.62), rgba(255,255,255,.1) 13%, transparent 31%); animation: bloom-flare 1.6s ease-out both; }
.world-bloom::after { content: ''; position: absolute; inset: -30%; background: conic-gradient(from 20deg at var(--bloom-x) var(--bloom-y), transparent, rgba(255,255,255,.26), transparent, rgba(255,255,255,.14), transparent); animation: bloom-turn 1.8s ease-out both; }
.world-spark { position: fixed; z-index: 101; width: var(--spark-size); height: var(--spark-size); border-radius: 50%; background: #fffdf5; box-shadow: 0 0 4px 1px #fffdf5, 0 0 11px 2px var(--spark-color); pointer-events: none; }
.world-spark.stardust { box-shadow: 0 0 5px 1px #fff, 0 0 13px 3px var(--spark-color), 0 0 24px 4px color-mix(in srgb, var(--spark-color) 45%, #d9adff); }
.world-spark.is-star::after { content: ''; position: absolute; width: 9px; height: 9px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: linear-gradient(transparent 44%, rgba(255,255,255,.7) 49% 51%, transparent 56%), linear-gradient(90deg, transparent 44%, rgba(255,255,255,.7) 49% 51%, transparent 56%); filter: drop-shadow(0 0 4px #fff); }
.portal.is-arriving { animation: world-unfold .85s ease-out both; }
body.is-world-arriving main > h1, body.is-world-arriving main > .intro { animation: world-unfold .9s ease-out both; }
@keyframes bloom-turn { from { transform: rotate(-30deg) scale(.8); opacity: .45; } to { transform: rotate(105deg) scale(1.3); opacity: 0; } }
@keyframes petal-shell-dissolve { from { transform: scale(1.035); opacity: 1; } to { transform: scale(.8); opacity: 0; } }
@keyframes merkaba-spin-dissolve { 0% { transform: scale(.82) rotate(0deg); opacity: .25; } 22% { transform: scale(1.18) rotate(45deg); opacity: 1; } 62% { transform: scale(.86) rotate(195deg); opacity: .9; } 100% { transform: scale(.06) rotate(440deg); opacity: 0; } }
@keyframes bloom-flare { from { transform: scale(.65); opacity: .7; } to { transform: scale(1.4); opacity: 0; } }
@keyframes world-unfold { from { opacity: .35; transform: translateY(36px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .flower-nav.is-transitioning .petal, .flower-nav.is-transitioning .geometry-lines, .flower-nav.is-transitioning .flower-center, .flower-nav.is-transitioning .center-label, .merkaba-spin, .portal.is-entering-world > div, .portal.is-entering-world > nav { transition: none; animation: none; }
  .world-bloom::before, .world-bloom::after, .portal.is-arriving, body.is-world-arriving main > h1, body.is-world-arriving main > .intro, .vortex-ring { animation: none; }
}
