/* 首页样式 */
body {
    padding-top: 60px;
}

.banner {
    height: 500px;
    background: url('../../images/banner.png') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.category-section,
.recommend-section,
.news-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.category-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

.category-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.category-item p {
    color: #666;
}

.recommend-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.recommend-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.recommend-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.recommend-item img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}

.recommend-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.recommend-item p {
    color: #666;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.news-info {
    flex: 1;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.news-info p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-info span {
    color: #999;
    font-size: 14px;
} 