.preloader {
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    background:
        radial-gradient(circle at 18% 20%, rgba(30, 136, 255, 0.2), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(31, 196, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #f4f9ff 0%, #dcecff 50%, #eefbff 100%);
    direction: ltr;
    font-family: "proxima-nova-soft", sans-serif;
    height: 100%;
    inset: 0;
    overflow: hidden;
    position: fixed;
    text-rendering: optimizeLegibility;
    unicode-bidi: isolate;
    width: 100%;
    z-index: 99999;
}

.preloader .vertical-centered-box {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    position: relative;
    text-align: center;
    width: 100%;
}

.preloader-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.preloader-layer {
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.9;
    position: absolute;
}

.preloader-layer-back {
    animation: preloaderFloat 7s ease-in-out infinite;
    background: radial-gradient(circle, rgba(46, 134, 255, 0.2) 0%, rgba(46, 134, 255, 0) 72%);
    height: 440px;
    right: -90px;
    top: -80px;
    width: 440px;
}

.preloader-layer-front {
    animation: preloaderFloatReverse 8s ease-in-out infinite;
    background: radial-gradient(circle, rgba(21, 200, 255, 0.18) 0%, rgba(21, 200, 255, 0) 72%);
    bottom: -110px;
    height: 360px;
    left: -100px;
    width: 360px;
}

.loader-shell {
    align-items: center;
    display: flex;
    height: 170px;
    justify-content: center;
    position: relative;
    width: 170px;
}

.loader-glow {
    background: radial-gradient(circle, rgba(55, 146, 255, 0.18) 0%, rgba(55, 146, 255, 0) 72%);
    border-radius: 50%;
    height: 170px;
    position: absolute;
    width: 170px;
}

.loader-circle {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(104, 172, 255, 0.2);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 1px rgba(30, 136, 255, 0.12),
        0 18px 48px rgba(20, 74, 141, 0.09);
    height: 136px;
    position: absolute;
    width: 136px;
}

.loader-line-mask {
    animation: rotate 1.4s linear infinite;
    height: 140px;
    left: 50%;
    margin-left: -70px;
    margin-top: -70px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform-origin: 70px 70px;
    width: 70px;
    -webkit-mask-image: -webkit-linear-gradient(top, #000000, rgba(0, 0, 0, 0));
}

.loader-line-mask .loader-line {
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px rgba(30, 136, 255, 0.95);
    height: 140px;
    width: 140px;
}

.loader-core {
    align-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 240, 255, 0.96));
    border: 1px solid rgba(95, 166, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(24, 95, 184, 0.12);
    display: flex;
    height: 88px;
    justify-content: center;
    position: relative;
    width: 88px;
}

.loader-core-ring {
    animation: pulseRing 2s ease-in-out infinite;
    border: 1px solid rgba(31, 196, 255, 0.35);
    border-radius: 50%;
    height: 64px;
    width: 64px;
}

.loader-orb {
    animation: orbPulse 2.8s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(32, 127, 255, 0.7), rgba(30, 201, 255, 0.7));
    border-radius: 50%;
    position: absolute;
}

.loader-orb-one {
    height: 16px;
    right: 18px;
    top: 24px;
    width: 16px;
}

.loader-orb-two {
    animation-delay: 0.8s;
    bottom: 22px;
    height: 12px;
    left: 24px;
    width: 12px;
}

.preloader-logo {
    filter: drop-shadow(0 10px 22px rgba(31, 127, 255, 0.18));
    height: 58px;
    margin-top: -122px;
    object-fit: contain;
    position: absolute;
    width: 170px;
    z-index: 3;
}

.preloader-copy {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preloader-badge {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(87, 162, 255, 0.2);
    border-radius: 999px;
    color: #2570e8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    text-transform: uppercase;
}

.preloader-title {
    color: #143e78;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}

.preloader-dots {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.preloader-dots span {
    animation: dotBounce 1s ease-in-out infinite;
    background: linear-gradient(135deg, #1e88ff, #23c8ff);
    border-radius: 50%;
    display: block;
    height: 8px;
    width: 8px;
}

.preloader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.preloader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

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

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseRing {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes dotBounce {
    0%,
    80%,
    100% {
        opacity: 0.45;
        transform: translateY(0) scale(0.9);
    }

    40% {
        opacity: 1;
        transform: translateY(-4px) scale(1);
    }
}

@keyframes orbPulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes preloaderFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-24px, 20px, 0);
    }
}

@keyframes preloaderFloatReverse {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(24px, -16px, 0);
    }
}

@media (max-width: 767px) {
    .loader-shell {
        height: 148px;
        width: 148px;
    }

    .loader-glow {
        height: 148px;
        width: 148px;
    }

    .loader-circle {
        height: 118px;
        width: 118px;
    }

    .loader-line-mask {
        height: 122px;
        margin-left: -61px;
        margin-top: -61px;
        transform-origin: 61px 61px;
        width: 61px;
    }

    .loader-line-mask .loader-line {
        height: 122px;
        width: 122px;
    }

    .loader-core {
        height: 76px;
        width: 76px;
    }

    .loader-core-ring {
        height: 54px;
        width: 54px;
    }

    .preloader-logo {
        height: 50px;
        margin-top: -108px;
        width: 146px;
    }

    .preloader-title {
        font-size: 18px;
    }
}
