/*
 * Axtronica Loader — loader.css
 * Styles for the GSAP SVG preloader overlay
 */

/* ── Scroll lock while loader is active ── */
html.axt-loading,
html.axt-loading body {
    overflow: hidden !important;
}

/* ── Full-screen overlay ── */
#axt-loader {
    position: fixed;
    inset: 0;
    background: #080b12;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

#axt-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── SVG logo container ── */
#axt-logo-wrap {
    width: min(520px, 88vw);
}

#axt-logo-wrap svg {
    width: 100%;
    height: auto;
    overflow: visible;
    display: block;
}

/* ── Path base styles — fills & strokes driven by GSAP ── */
.axt-lp-blue,
.axt-lp-red {
    fill: transparent;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.axt-lp-blue { stroke: #243D7A; }
.axt-lp-red  { stroke: #F3715E; }

/* ── Progress bar ── */
#axt-progress-track {
    width: min(300px, 68vw);
    height: 2px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    overflow: hidden;
}

#axt-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #243D7A, #F3715E);
    border-radius: 2px;
}

/* ── Respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    #axt-loader {
        display: none !important;
    }
    html.axt-loading,
    html.axt-loading body {
        overflow: auto !important;
    }
}
