.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1A1816;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: all;
}

.loader {
    display: flex;
    gap: 8px;
}

.loader-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d6ccc0;
    animation: pulse 1.2s ease-in-out infinite both;
}

.loader-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-circle:nth-child(3) {
    animation-delay: 0.4s;
}

.loader-circle:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}