:root {
    --bg: #05070d;
    --fg: #e8ecf9;
    --muted: #9da8c6;
    --panel: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.08);
    --neon-1: #7c3aed;
    --neon-2: #22d3ee;
    --neon-3: #a7f3d0;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0; /* hide native scrollbar (WebKit) */
    height: 0;
    background: transparent;
    display: none;
}


#scrollPath {
    position: fixed;
    top: 0;
    right: 12px;
    width: 14px;
    height: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 2;
}

#progressbar {
    position: fixed;
    top: 0;
    right: 12px;
    width: 14px;
    height: 0;
    background: linear-gradient(180deg, var(--neon-1), var(--neon-2), var(--neon-3));
    border-radius: 999px;
    box-shadow:
        0 0 18px rgba(124, 58, 237, 0.4),
        0 0 24px rgba(34, 211, 238, 0.4);
    overflow: visible;
    z-index: 3;
    animation: hueShift 6s linear infinite;
}

#progressbar::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: inherit;
    filter: blur(16px);
    opacity: 0.5;
    border-radius: 999px;
    z-index: -1;
}

#progressbar::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, rgba(255, 255, 255, 0.08));
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.5),
        0 6px 24px rgba(0, 0, 0, 0.35);
    mix-blend-mode: screen;
}

#progressLabel {
    position: absolute;
    top: 12px;
    left: -76px;
    color: var(--fg);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    background: rgba(5, 7, 13, 0.7);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
}

@media (max-width: 720px) {
    #scrollPath,
    #progressbar {
        right: 8px;
        width: 10px;
    }

    #progressLabel {
        display: none;
    }

}
