.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 3px solid #2d2d30;
    border-top-color: #007acc;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.loader-text {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 20px;
    animation: fadeInOut 1s infinite;
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: #2d2d30;
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007acc, #f6851b);
    width: 0%;
    animation: loadProgress 2s ease-out forwards;
}

@keyframes spin {
    to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes loadProgress {
    to { width: 100%; }
}
.loader-version {
    color: #888888;
    font-size: 11px;
    margin-bottom: 20px;
    font-family: 'Monaco', 'Menlo', monospace;
    opacity: 0.8;
}