.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-emphasized), visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 300px;
    width: 100%;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.preloader-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(208, 188, 255, 0.4));
    animation: pulse 2s ease-in-out infinite;
}

.status-container {
    width: 100%;
    text-align: center;
}

#preloader-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

#preloader-status {
    font-size: 0.9rem;
    color: var(--outline);
    margin-bottom: 24px;
    height: 1.2rem;
}

.preloader-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}
