.site-bootstrap-loader-active,
.site-bootstrap-loader-active body {
    overflow: hidden !important;
}

.site-bootstrap-loader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 90% 70% at 15% 10%, rgba(37, 99, 235, 0.55), transparent 55%),
        radial-gradient(ellipse 85% 65% at 90% 90%, rgba(14, 165, 233, 0.42), transparent 52%),
        linear-gradient(155deg, #050b16 0%, #0b1a33 48%, #07111f 100%);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
    will-change: opacity;
    padding: 24px;
    box-sizing: border-box;
}

.site-bootstrap-loader.is-hiding {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: auto;
}

.site-bootstrap-loader__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-bootstrap-loader__bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(54px);
}

.site-bootstrap-loader__bg-glow--a {
    width: min(70vw, 420px);
    height: min(70vw, 420px);
    left: -8%;
    top: -10%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.34), transparent 70%);
}

.site-bootstrap-loader__bg-glow--b {
    width: min(75vw, 460px);
    height: min(75vw, 460px);
    right: -12%;
    bottom: -14%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.38), transparent 70%);
}

.site-bootstrap-loader__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: min(94vw, 440px);
    text-align: center;
}

.site-bootstrap-loader__stage {
    position: relative;
    width: min(46vw, 188px);
    height: min(46vw, 188px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.site-bootstrap-loader__ring {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #38BDF8;
    border-right-color: #2563EB;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.35);
    animation: siteBootstrapSpin 1.15s linear infinite;
    box-sizing: border-box;
}

.site-bootstrap-loader__ring--mid {
    inset: 22px;
    border-width: 2px;
    border-top-color: #60A5FA;
    border-left-color: #2563EB;
    border-right-color: transparent;
    animation-duration: 1.55s;
    animation-direction: reverse;
    opacity: 0.9;
}

.site-bootstrap-loader__ring--inner {
    inset: 34px;
    border-width: 2px;
    border-bottom-color: #38BDF8;
    border-top-color: transparent;
    animation-duration: 0.95s;
    opacity: 0.75;
}

.site-bootstrap-loader__logo {
    position: relative;
    z-index: 2;
    width: 48%;
    height: auto;
    max-width: 96px;
    object-fit: contain;
    animation: siteBootstrapPulse 1.35s ease-in-out infinite;
    filter: drop-shadow(0 8px 18px rgba(37, 99, 235, 0.35));
    user-select: none;
    pointer-events: none;
}

.site-bootstrap-loader__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.site-bootstrap-loader__eyebrow {
    margin: 0;
    padding: 5px 12px;
    border-radius: 999px;
    color: #bae6fd;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.22);
}

.site-bootstrap-loader__title {
    margin: 0;
    width: 100%;
    line-height: 0;
}

.site-bootstrap-loader__title-svg {
    width: min(92vw, 360px);
    height: auto;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

.site-bootstrap-loader__subtitle {
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(0.9rem, 2.5vw, 1.02rem);
    line-height: 1.5;
    font-weight: 500;
    max-width: 32em;
    text-shadow: 0 2px 14px rgba(2, 6, 23, 0.55);
}

.site-bootstrap-loader__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.site-bootstrap-loader__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(30, 58, 138, 0.35);
    border: 1px solid rgba(96, 165, 250, 0.22);
}

@keyframes siteBootstrapSpin {
    to { transform: rotate(360deg); }
}

@keyframes siteBootstrapPulse {
    0%, 100% { transform: scale(0.92); }
    50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .site-bootstrap-loader__ring,
    .site-bootstrap-loader__logo {
        animation: none !important;
    }
}
