﻿.ta-loaderwrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #070602;
    z-index: 99999999;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ta-loaderdata {
    display: flex;
    flex-flow: column;
    gap: 28px;
    align-items: center;
    justify-content: center;
}

.img-loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .img-loader::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
        animation: ta-loader-avatar-glow 2.4s ease-in-out infinite;
    }

    .img-loader img {
        position: relative;
        z-index: 1;
        width: auto;
        height: 320px;
        max-width: min(90vw, 420px);
        object-fit: contain;
        filter: brightness(1.15) drop-shadow(0 0 28px rgba(255, 255, 255, 0.28)) drop-shadow(0 12px 32px rgba(0, 0, 0, 0.45));
        animation: ta-loader-avatar-float 2.4s ease-in-out infinite;
    }

.spinner {
    width: 55px;
    height: 50px;
    text-align: center;
    font-size: 10px;
}

    .spinner > div {
        background-color: #ffffff;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: ta-loader-animation 1.2s infinite ease-in-out;
        animation: ta-loader-animation 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1s;
        animation-delay: -1s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@keyframes ta-loader-animation {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

@keyframes ta-loader-avatar-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.03);
    }
}

@keyframes ta-loader-avatar-glow {
    0%, 100% {
        opacity: 0.75;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@media only screen and (max-width: 568px) {
    .img-loader {
        padding: 16px;
    }

        .img-loader::before {
            width: 200px;
            height: 200px;
        }

        .img-loader img {
            height: 220px;
        }
}