/* MEENDA Spatial Splash View Architecture */
#meenda-splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0b0c10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Keeps it layered cleanly on top during boot */
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.meandering-road-svg {
    width: 280px;
    height: auto;
    overflow: visible;
}

/* Dynamic Gradient Stroke Animation */
.meandering-path {
    stroke: url(#meenda-fluid-gradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: meanderDraw 3.5s cubic-bezier(0.45, 0, 0.15, 1) forwards;
}

/* Hardware accelerated parallax mesh glow background */
.splash-ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,163,255,0.15) 0%, rgba(241,196,15,0.05) 50%, rgba(142,68,173,0) 100%);
    filter: blur(60px);
    transform: translate3d(0, 0, 0);
    animation: ambientFloat 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes meanderDraw {
    0% { stroke-dashoffset: 1000; filter: drop-shadow(0 0 0px rgba(0,163,255,0)); }
    50% { filter: drop-shadow(0 0 15px rgba(0,163,255,0.6)); }
    100% { stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(142,68,173,0.4)); }
}

@keyframes ambientFloat {
    0% { transform: translate3d(-10%, -10%, 0) scale(1); }
    100% { transform: translate3d(10%, 10%, 0) scale(1.2); }
}
