.bottom-nav {
    height: 200px;
    background: #343a41;
    backdrop-filter: blur(10px);
    z-index: 1000;
    overflow: hidden;
}

.nav-container {
    height: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    cursor: grab;
}

.nav-container:active {
    cursor: grabbing;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-items {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    gap: 35px; /* 增加間距 */
    width: 800px; /* 增加總寬度適應更大的間距 */
}

.nav-item-footer {
    flex-shrink: 0;
    width: 90px; /* 增大 icon 尺寸 */
    height: 90px;
    border-radius: 15px; /* 調整圓角比例 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 24px; /* 增大字體 */
    color: #666;
    background: #343a41;
    border: 2px solid transparent;
    text-decoration: none;
    margin: 0 10px; /* 增加外邊距 */
}

.nav-item-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    width: 120px;
    height: 120px;
}

.nav-item-footer.active {
    background: #343a41;
    color: white;
    transform: scale(1.1);
}

.nav-item-footer.centered {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

/* 響應式調整 */
@media (max-width: 576px) {
    .nav-items {
        gap: 25px; /* 手機端稍微縮小間距 */
        padding: 0 15px;
    }
    
    .nav-item {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin: 0 8px;
    }
}