/* ── App Splash Screen ── */
#app-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050d1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: opacity 0.5s ease;
}

#app-splash .logo-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#app-splash .ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: splash-spin 3s linear infinite;
}

#app-splash .ring-1 {
    width: 180px;
    height: 180px;
    border-top-color: #f09819;
    border-right-color: #f09819;
    animation-duration: 2.5s;
}

#app-splash .ring-2 {
    width: 150px;
    height: 150px;
    border-bottom-color: #00c6ff;
    border-left-color: #00c6ff;
    animation-duration: 3.5s;
    animation-direction: reverse;
}

#app-splash .ring-3 {
    width: 120px;
    height: 120px;
    border-top-color: rgba(240, 152, 25, 0.3);
    border-right-color: rgba(240, 152, 25, 0.3);
    animation-duration: 5s;
}

@keyframes splash-spin {
    to {
        transform: rotate(360deg);
    }
}

#app-splash .logo-bg {
    width: 96px;
    height: 96px;
    background: radial-gradient(circle at 40% 40%, #1e4d7b, #050d1a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(240, 152, 25, 0.3), 0 0 80px rgba(0, 114, 255, 0.15);
    animation: splash-pulse 2s ease-in-out infinite;
}

@keyframes splash-pulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(240, 152, 25, 0.3), 0 0 80px rgba(0, 114, 255, 0.15);
    }

    50% {
        box-shadow: 0 0 60px rgba(240, 152, 25, 0.5), 0 0 100px rgba(0, 114, 255, 0.25);
    }
}

#app-splash .logo-bg svg {
    width: 64px;
    height: 64px;
}

#app-splash .dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f09819;
    animation: splash-orbit 3s linear infinite;
}

#app-splash .dot:nth-child(2) {
    animation-delay: -1s;
    background: #00c6ff;
}

#app-splash .dot:nth-child(3) {
    animation-delay: -2s;
    background: #edde5d;
}

@keyframes splash-orbit {
    0% {
        transform: rotate(0deg) translateX(90px) rotate(0deg);
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: rotate(360deg) translateX(90px) rotate(-360deg);
        opacity: 1;
    }
}

#app-splash .brand {
    text-align: center;
}

#app-splash .brand-name {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #f09819, #edde5d, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#app-splash .brand-sub {
    font-size: 12px;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 6px;
    text-transform: uppercase;
    font-family: 'Segoe UI', sans-serif;
}

#app-splash .progress-wrap {
    width: 200px;
}

#app-splash .progress-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

#app-splash .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f09819, #edde5d, #00c6ff);
    border-radius: 2px;
    animation: splash-load 2s ease-in-out infinite;
}

@keyframes splash-load {
    0% {
        width: 0%;
        margin-left: 0;
    }

    50% {
        width: 70%;
        margin-left: 15%;
    }

    100% {
        width: 0%;
        margin-left: 100%;
    }
}

#app-splash .status-text {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    letter-spacing: 1px;
    font-family: 'Segoe UI', sans-serif;
}