/* Фон страниц входа ЛК — в духе dumai CRM: анимированный градиент + «атомы» и звёзды */
@keyframes lk_auth_gradient_shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes lk_auth_rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes lk_auth_float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes lk_auth_pulse_star {
    0%,
    100% {
        opacity: 0.35;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.08);
    }
}

.lk-auth-shell {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2d3561 50%, #1a1f3a 75%, #0a0e27 100%);
    background-size: 400% 400%;
    animation: lk_auth_gradient_shift 18s ease infinite;
}

.lk-auth-shell::before {
    display: none;
}

.lk-auth-scientific-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.lk-auth-atom {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.28);
    border-radius: 50%;
    animation: lk_auth_rotate 22s linear infinite;
}

.lk-auth-atom::before,
.lk-auth-atom::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.18);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lk-auth-atom-1 {
    width: 200px;
    height: 200px;
    top: 8%;
    left: 4%;
    animation-duration: 26s;
}

.lk-auth-atom-1::before {
    width: 120px;
    height: 120px;
    animation: lk_auth_rotate 15s linear infinite reverse;
}

.lk-auth-atom-1::after {
    width: 78px;
    height: 78px;
    animation: lk_auth_rotate 11s linear infinite;
}

.lk-auth-atom-2 {
    width: 150px;
    height: 150px;
    bottom: 12%;
    right: 8%;
    animation-duration: 32s;
    animation-direction: reverse;
}

.lk-auth-atom-2::before {
    width: 88px;
    height: 88px;
    animation: lk_auth_rotate 19s linear infinite;
}

.lk-auth-atom-2::after {
    width: 58px;
    height: 58px;
    animation: lk_auth_rotate 13s linear infinite reverse;
}

.lk-auth-molecule {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(102, 126, 234, 0.55);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.65);
    animation: lk_auth_float 7s ease-in-out infinite;
}

.lk-auth-molecule-1 {
    top: 18%;
    right: 14%;
}
.lk-auth-molecule-2 {
    top: 58%;
    left: 18%;
    animation-delay: 2s;
}
.lk-auth-molecule-3 {
    bottom: 28%;
    right: 28%;
    animation-delay: 4s;
}
.lk-auth-molecule-4 {
    top: 42%;
    left: 10%;
    animation-delay: 1s;
}
.lk-auth-molecule-5 {
    bottom: 18%;
    left: 48%;
    animation-delay: 3s;
}

.lk-auth-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.75);
    animation: lk_auth_pulse_star 3.2s ease-in-out infinite;
}

.lk-auth-star-1 {
    top: 14%;
    left: 24%;
}
.lk-auth-star-2 {
    top: 34%;
    right: 20%;
    animation-delay: 1s;
}
.lk-auth-star-3 {
    bottom: 24%;
    left: 34%;
    animation-delay: 2s;
}
.lk-auth-star-4 {
    top: 52%;
    left: 14%;
    animation-delay: 0.5s;
}
.lk-auth-star-5 {
    bottom: 38%;
    right: 24%;
    animation-delay: 1.5s;
}
.lk-auth-star-6 {
    top: 24%;
    right: 38%;
    animation-delay: 2.4s;
}
