* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
li {
    list-style: none;
}

body {
    font-size: 16px;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    padding-bottom: 140px;
    padding-top: 20px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item.active {
    color: #3498db;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: -5px;
    width: 30px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

.nav-item:hover {
    background-color: #f0f8ff;
    transform: translateY(-3px);
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.nav-text {
    font-size: 12px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .nav-text {
        font-size: 11px;
    }

    .nav-icon {
        font-size: 20px;
    }
}


.wrapper {
    width: 92%;
    margin: 0 auto;
    display: block;
}

.index-head {
    border-radius: 15px;
    background-color: #2881ff;
    padding-top: 20px;
    padding-left: 10%;
    padding-bottom: 20px;
    margin-bottom: 20px;
}