/* Veldric — interactive preloader */
#de-loader {
    background: linear-gradient(145deg, #0B1D3A 0%, #163563 50%, #0f2647 100%) !important;
    overflow: hidden;
}
#de-loader .lds-roller { display: none !important; }

.vh-preloader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 2;
}

.vh-preloader__orbit {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vh-preloader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(107, 244, 251, 0.12);
}
.vh-preloader__ring--a {
    border-top-color: #6BF4FB;
    border-right-color: rgba(107, 244, 251, 0.45);
    animation: vhSpin 1.1s linear infinite;
}
.vh-preloader__ring--b {
    inset: 10px;
    border-bottom-color: #4DE8F0;
    border-left-color: rgba(107, 244, 251, 0.25);
    animation: vhSpin 1.6s linear infinite reverse;
}
.vh-preloader__ring--c {
    inset: 20px;
    border-top-color: rgba(107, 244, 251, 0.7);
    animation: vhSpin 2.2s linear infinite;
}

.vh-preloader__icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vhPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(107, 244, 251, 0.25);
}
.vh-preloader__icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    animation: vhIconFloat 2.4s ease-in-out infinite;
}

.vh-preloader__particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6BF4FB;
    opacity: 0;
    animation: vhParticle 2.8s ease-in-out infinite;
}
.vh-preloader__particles span:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.vh-preloader__particles span:nth-child(2) { top: 50%; right: 0; animation-delay: 0.4s; }
.vh-preloader__particles span:nth-child(3) { bottom: 0; left: 50%; animation-delay: 0.8s; }
.vh-preloader__particles span:nth-child(4) { top: 50%; left: 0; animation-delay: 1.2s; }
.vh-preloader__particles span:nth-child(5) { top: 15%; right: 15%; animation-delay: 1.6s; width: 4px; height: 4px; }
.vh-preloader__particles span:nth-child(6) { bottom: 15%; left: 15%; animation-delay: 2s; width: 4px; height: 4px; }

.vh-preloader__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.vh-preloader__bar {
    width: 200px;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}
.vh-preloader__bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg, #6BF4FB, #4DE8F0);
    box-shadow: 0 0 12px rgba(107, 244, 251, 0.6);
    transition: width 0.15s ease;
}

.vh-preloader__pct {
    font-size: 13px;
    font-weight: 600;
    color: #6BF4FB;
    font-variant-numeric: tabular-nums;
    min-width: 36px;
    text-align: center;
}

.vh-preloader__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

@keyframes vhSpin { to { transform: rotate(360deg); } }
@keyframes vhPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(107, 244, 251, 0.25); }
    50% { transform: scale(1.06); box-shadow: 0 0 55px rgba(107, 244, 251, 0.45); }
}
@keyframes vhIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes vhParticle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

/* jQuery designesia.js handles fadeOut — .is-done retained for any fallback usage */
#de-loader.is-done {
    pointer-events: none;
    display: none !important;
}
