#pageLoader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background:
        radial-gradient(circle at top, rgba(14,165,233,.25), transparent 35%),
        linear-gradient(135deg, #020617, #0f172a, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}

#pageLoader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-card {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.08);
    border-top-color: #38bdf8;
    border-right-color: #6366f1;
    box-shadow: 0 0 40px rgba(14,165,233,.45);
    animation: loaderSpin 1.1s linear infinite;
}

.loader-ring::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 2px dashed rgba(250,204,21,.7);
    animation: loaderSpinReverse 2s linear infinite;
}

.loader-logo {
    width: 120px;
    max-height: 70px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 18px rgba(56,189,248,.55));
}

.loader-card p {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderSpinReverse {
    to {
        transform: rotate(-360deg);
    }
}