/* Inline loader styles so they show instantly before index.css loads */
body {
    margin: 0;
    background: #0a0f1a;
    font-family: 'Inter', system-ui, sans-serif;
}

#app-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0f1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#app-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#app-loader .logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

#app-loader .logo span {
    color: #f97316;
}

#app-loader .tagline {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#app-loader .bar {
    width: 100px;
    height: 3px;
    background: #1e293b;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 4px;
}

#app-loader .bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 99px;
    animation: ls 1s ease-in-out infinite alternate;
}

@keyframes ls {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(400%);
    }
}