/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* 顶部导航栏 */
header {
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ff4c4c;
}

/* 横幅标语区 */
.hero {
    background: linear-gradient(to right, #ff4c4c, #ff7878);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin: 0;
}

.hero p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* 热点揭露文章区 */
.hot-topics {
    padding: 40px 20px;
    text-align: center;
}

.hot-topics h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.hot-topics .articles {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hot-topics article {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    max-width: 300px;
    text-align: left;
}

.hot-topics article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hot-topics article h3 {
    font-size: 1.2em;
    margin: 10px;
}

.hot-topics article p {
    font-size: 0.9em;
    margin: 10px;
}

.hot-topics article a {
    display: block;
    text-align: center;
    padding: 10px;
    background: #ff4c4c;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hot-topics article a:hover {
    background: #d63b3b;
}

/* 分类导航 */
.categories {
    background: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}

.categories h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.categories ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.categories ul li a {
    display: block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.categories ul li a:hover {
    background: #ff4c4c;
}

/* 互动反馈 */
.feedback {
    text-align: center;
    padding: 40px 20px;
}

.feedback h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.feedback button {
    background: #ff4c4c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.feedback button:hover {
    background: #d63b3b;
}

/* 页脚 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
