/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 主要内容样式 */
.main {
    width: 100%;
    background: #fff;
    padding: 20px 0;
}

/* Banner样式 */
.banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    height: 500px;
    margin-bottom: 30px;
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 热门运动项目样式 */
.hot-sports {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 0;
    margin-bottom: 30px;
}

.hot-sports h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

.sports-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.sports-item {
    flex: 0 1 calc(33.333% - 20px);
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.sports-item:hover {
    transform: translateY(-5px);
}

.sports-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.sports-item h3 {
    padding: 15px;
    font-size: 18px;
    color: #333;
}

/* 新闻资讯样式 */
.news {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 0;
}

.news h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.news-info {
    padding: 20px;
    flex: 1;
}

.news-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.news-info p {
    color: #666;
    line-height: 1.6;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .sports-item {
        flex: 0 1 calc(50% - 10px);
    }

    .news-item {
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .sports-item {
        flex: 0 1 100%;
    }

    .banner {
        height: 300px;
    }
} 