/* ── Hide native scrollbar (all browsers) ──────────────────── */
html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* ── Vertical Scroll Rail (desktop only) ───────────────────── */
.scroll-rail {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.scroll-rail-label {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(0, 212, 255, 0.45);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    user-select: none;
}

.scroll-rail-track {
    width: 2px;
    height: 140px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-rail-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00d4ff 0%, #00ff9d 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
    transition: height 0.1s linear;
}

.scroll-rail-dot {
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4ff, 0 0 20px rgba(0, 212, 255, 0.4);
    animation: scrollRailBlink 1.8s ease-in-out infinite;
}

@keyframes scrollRailBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.scroll-rail-pct {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(0, 212, 255, 0.5);
    min-width: 24px;
    text-align: center;
}

@media (max-width: 900px) {
    .scroll-rail { display: none; }
}
