.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 6px solid var(--color-platinum);
    border-top: 6px solid var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
}

.loader-logo {
    width: 50px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
    z-index: 1;
}

.loader-container.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}