* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}




body {
    background-color: #f5f5f5;
    color: #333;
    padding-bottom: 60px;
}

/* 顶部标题栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #1e88e5;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 18px;
    font-weight: bold;
}

.header-icons {
    display: flex;
    gap: 15px;
}

.header-icon {
    font-size: 20px;
    color: white;
}

/* 主内容区 */
.main-content {
    margin-top: 50px;
    padding: 15px;
    padding-bottom: 70px;
}

/* 金刚区按钮组 */
.diamond-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.diamond-button {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    text-decoration: none;
    color: #333;
}

.diamond-icon {
    font-size: 24px;
    margin-bottom: 5px;
    color: #1e88e5;
}

.diamond-text {
    font-size: 12px;
}

/* 更多产品区 */
.more-products {
    background: linear-gradient(90deg, #e8f5e9, #c8e6c9, #e8f5e9);
    border-radius: 50px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.more-icon {
    font-size: 24px;
    color: #2e7d32;
    margin-bottom: 5px;
}

.more-text {
    font-size: 14px;
    color: #2e7d32;
    font-weight: 500;
}

/* 搜索条 */
.search-bar {
    background-color: white;
    border-radius: 25px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 10px;
    font-size: 14px;
}

.search-input::placeholder {
    color: #999;
}

.search-options {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.search-option {
    font-size: 12px;
    color: #666;
    padding: 5px 8px;
    border-radius: 15px;
    background-color: #f5f5f5;
    margin-left: 5px;
    display: flex;
    align-items: center;
}

.search-option i {
    margin-right: 3px;
    font-size: 14px;
}

.search-button {
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    margin-left: 10px;
    font-size: 14px;
    cursor: pointer;
}

/* 攻略区域 */
.strategy-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.strategy-card {
    width: 48%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.strategy-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.strategy-info {
    padding: 10px;
}

.strategy-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.strategy-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.strategy-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}

.strategy-author {
    margin-right: 10px;
}

.strategy-views {
    display: flex;
    align-items: center;
}

.strategy-views i {
    font-size: 12px;
    margin-right: 3px;
}

/* 底部Tab栏 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.tab-item.active {
    color: #1e88e5;
}

.tab-icon {
    font-size: 22px;
    margin-bottom: 3px;
}