#bootLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: #05060f;
    background-image: radial-gradient(ellipse at 50% 40%, #0d1330 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

#bootLoader.done {
    opacity: 0;
    pointer-events: none;
}

#bootLoader #blParticles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#bootLoader .bl-pt {
    position: absolute;
    border-radius: 50%;
    animation: bl-twinkle 3s ease-in-out infinite;
}

@keyframes bl-twinkle {
    0%, 100% { transform: scale(0.3); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 1; }
}

#bootLoader .bl-stage {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bootLoader .bl-ring {
    position: absolute;
    border-radius: 50%;
    animation: bl-ring-spin 2s linear infinite;
}

#bootLoader .bl-ring.blue {
    inset: 4px;
    background: conic-gradient(from 0deg, transparent 0%, rgba(135, 206, 235, 0.7) 12%, transparent 30%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

#bootLoader .bl-ring.yellow {
    inset: 16px;
    background: conic-gradient(from 180deg, transparent 0%, rgba(255, 245, 157, 0.55) 15%, transparent 38%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    animation-direction: reverse;
    animation-duration: 3s;
}

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

#bootLoader .bl-svg {
    width: 76px;
    height: 76px;
    filter: drop-shadow(0 0 18px rgba(135, 206, 235, 0.45))
            drop-shadow(0 0 36px rgba(255, 245, 157, 0.25));
    animation: bl-breath 2.6s ease-in-out infinite;
}

@keyframes bl-breath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

#bootLoader .bl-star {
    transform-box: fill-box;
    transform-origin: center;
    animation: bl-star-spin 10s linear infinite;
}

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

#bootLoader .bl-star path {
    animation: bl-star-pulse 2.6s ease-in-out infinite;
}

@keyframes bl-star-pulse {
    0%, 100% { fill-opacity: 1; }
    50% { fill-opacity: 0.55; }
}

#bootLoader .bl-arc {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    animation: bl-draw 2.4s ease-out infinite;
}

#bootLoader .bl-a3 { animation-delay: 0s; }
#bootLoader .bl-a2 { animation-delay: 0.3s; }
#bootLoader .bl-a1 { animation-delay: 0.6s; }

@keyframes bl-draw {
    0% { stroke-dashoffset: 1; opacity: 0; }
    12% { opacity: 1; }
    62% { stroke-dashoffset: 0; opacity: 1; }
    85%, 100% { opacity: 0; }
}

#bootLoader .bl-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: bl-dot-pulse 2.4s ease-in-out infinite;
}

@keyframes bl-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

#bootLoader .bl-err {
    transform-box: fill-box;
    transform-origin: center;
    animation: bl-x-jump 1.2s ease-in-out infinite;
}

@keyframes bl-x-jump {
    0%, 100% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-3px) scale(1.25) rotate(8deg); }
    55% { transform: translateY(0) scale(0.9) rotate(-6deg); }
}

#bootLoader .bl-text {
    margin-top: 26px;
    font-size: 14px;
    letter-spacing: 5px;
    color: #b8b2d8;
    font-family: Consolas, monospace;
    display: flex;
    align-items: center;
}

#bootLoader .bl-dots::after {
    content: '';
    animation: bl-dots 1.4s steps(4, end) infinite;
}

@keyframes bl-dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

#bootLoader .bl-progress {
    margin-top: 14px;
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

#bootLoader .bl-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #87CEEB, #FFF59D);
    animation: bl-fill 3s ease-in-out infinite;
}

@keyframes bl-fill {
    0% { width: 0%; }
    50% { width: 78%; }
    100% { width: 100%; }
}
