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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0F172A;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #F8FAFC;
}

#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 30%, #1E293B 0%, #0F172A 100%);
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loader-logo-wrapper {
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite ease-in-out;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.loader-brand {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.loader-subtitle {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 2rem;
}

.loader-bar {
    width: 180px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #2563EB, #38BDF8);
    border-radius: 4px;
    position: absolute;
    animation: indeterminate 1.4s infinite ease-in-out;
}

@keyframes indeterminate {
    0% {
        left: -40%;
    }
    50% {
        left: 50%;
        width: 60%;
    }
    100% {
        left: 100%;
        width: 40%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
