.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-index-loading);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.loading-logo {
    width: auto;
    height: 120px;
    margin-bottom: var(--spacing-lg);
    transition: all 0.5s ease;
    object-fit: contain;
}

.loading-screen.loaded .loading-logo {
    width: auto;
    height: 40px;
    margin: 0;
}

.loading-progress-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.loading-text {
    margin-top: var(--spacing-md);
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all 0.5s ease;
}

/* Animation for the logo */
@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.loading-logo {
    animation: logoPulse 2s ease-in-out infinite;
}

/* Fade out animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.loading-screen.loaded {
    animation: fadeOut 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .loading-screen.loaded {
        width: 60px;
        height: 60px;
        top: 15px;
        left: 15px;
    }

    .loading-screen.loaded .loading-logo {
        height: 30px;
    }
} 