#premium-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(1px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#premium-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #2573EB 0deg 290deg,
        rgba(255,255,255,0.12) 290deg 360deg
    );
    box-shadow: 0 0 28px rgba(37,115,235,0.35);
    animation: spin-loader 1.1s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 0);
}

.loader-logo {
    position: absolute;
    inset: 18px;
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 0 18px rgba(37,115,235,0.45));
    background: rgba(255,255,255,0.9);
    box-shadow: inset 0 0 0 6px rgba(255,255,255,0.98);
    padding: 6px;
}

@keyframes spin-loader {
    to { transform: rotate(360deg); }
}

