.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-images {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.loader-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.loader-image.active {
    opacity: 0.65;
}

.loader-progress-container {
    width: 80%;
    max-width: 400px;
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #fff;
    transition: width 0.3s ease;
}

.loader-percentage {
    margin-top: 15px;
    color: #fff;
    font-size: 18px;
    font-family: Arial, sans-serif;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}