#lm-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 13, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

#lm-overlay.lm-show {
    opacity: 1;
    visibility: visible;
}

#lm-overlay .lm-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

#lm-overlay .lm-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lm-overlay .lm-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: lmSpin 2s cubic-bezier(.5,0,.5,1) infinite;
}

#lm-overlay .lm-ring:nth-child(1) { border-top-color: #00E5CC;   animation-delay: -.45s; }
#lm-overlay .lm-ring:nth-child(2) { border-right-color: #00bfad;  animation-delay: -.3s;  width: 85%; height: 85%; }
#lm-overlay .lm-ring:nth-child(3) { border-bottom-color: #008f82; animation-delay: -.15s; width: 70%; height: 70%; }

#lm-overlay .lm-pulse {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #00E5CC, transparent);
    border-radius: 50%;
    animation: lmPulse 1.5s ease-in-out infinite;
}

#lm-overlay .lm-text {
    color: rgba(255, 255, 255, .92);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .5px;
    animation: lmFade 2s ease-in-out infinite;
}

@keyframes lmSpin  { to { transform: rotate(360deg); } }
@keyframes lmPulse { 0%,100% { transform: scale(.8);  opacity: .5 } 50% { transform: scale(1.2); opacity: .8 } }
@keyframes lmFade  { 0%,100% { opacity: .6 }           50% { opacity: 1 } }