/* 底部导航样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-item.active .nav-icon {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.nav-item .nav-icon {
    color: #999;
}

.nav-label {
    font-size: 10px;
    color: #999;
    transition: all 0.3s ease;
}

.nav-item.active .nav-label {
    color: #ff6b6b;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 375px) {
    .bottom-nav {
        width: 100%;
    }
}

/* 为主内容添加底部间距，避免被导航栏遮挡 */
body {
    padding-bottom: 80px;
}
