
/* ==============================================
   AULAQUEST — SIMULATION LOADER V1
   ============================================== */

#aq-sim-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(ellipse at 50% 38%,
            #172d50 0%,
            #0c1830 48%,
            #070d1b 100%);
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    opacity: 1;
    visibility: visible;
    transition: opacity .55s ease, visibility .55s ease;
}

#aq-sim-loader.aq-loader-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aq-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(100%, 340px);
}

.aq-loader-symbol {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    margin-bottom: 23px;
    background: rgba(59,130,246,.13);
    border: 1px solid rgba(125,179,255,.22);
    box-shadow: 0 0 48px rgba(59,130,246,.08);
}

.aq-loader-symbol svg {
    width: 42px;
    height: 42px;
    stroke: #88bdff;
    fill: none;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aq-loader-brand {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 6vw, 37px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.6px;
}

.aq-loader-brand span {
    color: #60a5fa;
}

.aq-loader-subtitle {
    margin: 12px 0 37px;
    font-size: 10px;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9fb4d3;
}

.aq-loader-progress {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(148,163,184,.2);
}

.aq-loader-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #2563eb,
        #60a5fa,
        #93c5fd
    );
    transition: width .14s ease-out;
}

.aq-loader-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 13px;
    gap: 12px;
    font-size: 11px;
    color: #9fb4d3;
}

#aq-loader-percent {
    color: #bfdbfe;
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    #aq-sim-loader,
    .aq-loader-fill {
        transition: none;
    }
}

/* FASE 4 · Fondo negro y logotipo oficial desde WordPress */
#aq-sim-loader{background:#050505!important}
#aq-sim-loader .aq-loader-symbol{width:118px;height:118px;background:transparent;border:0;box-shadow:none;margin-bottom:12px}
#aq-sim-loader .aq-loader-symbol img{max-width:110px;max-height:110px;width:auto;height:auto;object-fit:contain}
.aq-loader-logo-fallback{font-size:19px;font-weight:800;color:#fff;letter-spacing:-.5px}
