/* 悬浮导航专业版 */
.float-nav {
    position: fixed;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    background: linear-gradient(145deg, rgba(255,255,255,0.97) 0%, rgba(248,250,252,0.97) 100%);
    padding: 18px 15px;
    border-radius: 25px 0 0 25px;
    box-shadow: -5px 5px 20px rgba(0,0,0,0.12);
    z-index: 10000;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.float-nav:hover {
    right: 0;
    box-shadow: -8px 8px 25px rgba(0,0,0,0.2);
}

.nav-link {
    display: flex;
    align-items: center;
    color: #1f2937;
    text-decoration: none;
    padding: 14px 20px;
    margin: 10px 0;
    border-radius: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    gap: 14px;
    white-space: nowrap;
}

.nav-link:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: white !important;
    transform: translateX(-12px);
}

.active-nav {
    background: linear-gradient(135deg, #60a5fa 0%, #818cf8 100%);
    color: white !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .float-nav {
        top: auto !important;
        bottom: 0;
        right: 0;
        width: 10%;
        border-radius: 25px 25px 0 0;
        padding: 12px;
    }
    
    .nav-link {
        flex-direction: column;
        padding: 12px;
        margin: 0 5px;
        font-size: 13px;
    }
    
    .nav-link span {
        display: none;
    }
}