.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    text-align: center;
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

.galaxy-spinner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--accent-color);
    animation: spin 1.5s linear infinite;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.galaxy-spinner::before,
.galaxy-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
}

.galaxy-spinner::before {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-top-color: var(--secondary-color);
    border-bottom-color: var(--primary-color);
    animation: spin 2s linear infinite reverse;
}

.galaxy-spinner::after {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-top-color: var(--accent-color);
    border-bottom-color: var(--secondary-color);
    animation: spin 1.75s linear infinite;
}

.loader h2 {
    background: linear-gradient(45deg, #ff6b00, #ff8534);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2.5rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(0.8);
        opacity: 0.5;
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--primary-color),
                     0 0 40px var(--primary-color);
    }
    to {
        text-shadow: 0 0 40px var(--primary-color),
                     0 0 60px var(--primary-color);
    }
} 