.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader {
    width: 120px;
    height: 120px;
    border: 5px solid #1e3c72;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: url('https://cdnl.iconscout.com/lottie/premium/thumb/spaceship-launching-animation-download-in-lottie-json-gif-static-svg-file-formats--flying-rocket-startup-launch-pack-science-technology-animations-4628440.gif') center/cover;
    border-radius: 50%;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .loader {
        width: 140px;
        height: 140px;
        border-width: 7px;
    }
    
    .loader::after {
        width: 130px;
        height: 130px;
    }
}

@media screen and (max-width: 480px) {
    .loader {
        width: 100px;
        height: 100px;
        border-width: 5px;
    }
    
    .loader::after {
        width: 90px;
        height: 90px;
    }
}