/* =========================================
   FLOATING SIDE NAVIGATION
   ========================================= */

.floating-nav {
    position: fixed;
    right: var(--space-8);
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.floating-nav.visible {
    opacity: 1;
    visibility: visible;
}

.floating-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.floating-nav-item:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.floating-nav-item.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(44, 44, 243, 0.4);
}

/* Tooltip */
.floating-nav-item::before {
    content: attr(title);
    position: absolute;
    right: calc(100% + var(--space-3));
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.floating-nav-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Hide on mobile */
@media (max-width: 900px) {
    .floating-nav {
        display: none;
    }
}