/* 首页样式 */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

.dashboard-container {
    display: none;
}

.dashboard-container.active {
    display: block;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #1890ff;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

.user-welcome {
    background-color: #e6f7ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-welcome h3 {
    color: #1890ff;
    margin-bottom: 5px;
}

.user-welcome p {
    color: #666;
}

.balance-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.balance-display h3 {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    opacity: 0.95;
}

.balance-display .amount {
    font-size: 36px;
    font-weight: bold;
    color: #ffd700;
    margin-top: 5px;
}

.balance-display button {
    background: white;
    color: #667eea;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
}

.balance-display button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 底部固定导航栏 */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.bottom-navbar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    transition: all 0.3s;
    padding: 8px 12px;
    flex: 1;
}

.bottom-navbar .nav-item:hover {
    color: #1890ff;
}

.bottom-navbar .nav-item.active {
    color: #1890ff;
}

.bottom-navbar .nav-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.bottom-navbar .nav-text {
    font-size: 12px;
    white-space: nowrap;
}

/* 给页面内容添加底部留白，防止被导航栏遮挡 */
#dashboardSection .container {
    padding-bottom: 80px;
}
