@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+XiaoWei&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 1200px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 15px;
}

.top-bar {
    background: #f0f0f0;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
}

.top-bar a {
    margin: 0 8px;
    color: #666;
}

.top-bar a:hover {
    color: #e74c3c;
}

.header {
    background: #fff;
    border-bottom: 3px solid #e74c3c;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
}

.logo {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 42px;
    color: #e74c3c;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: #333;
    font-size: 18px;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
    margin-left: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    border: 2px solid #e74c3c;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 14px;
    width: 260px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
}

.search-box button:hover {
    background: #c0392b;
}

.nav {
    background: #e74c3c;
}

.nav .container {
    display: flex;
    align-items: center;
}

.nav a {
    color: #fff;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav a:hover,
.nav a.active {
    background: #c0392b;
}

.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #888;
}

.breadcrumb a {
    color: #e74c3c;
}

.breadcrumb span {
    margin: 0 8px;
}

.main-content {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.card {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e74c3c;
    display: flex;
    align-items: center;
}

.card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #e74c3c;
    margin-right: 10px;
    border-radius: 2px;
}

.card-title .more {
    margin-left: auto;
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

.card-title .more:hover {
    color: #e74c3c;
}

.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    color: #444;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list a:hover {
    color: #e74c3c;
}

.news-list .date {
    font-size: 12px;
    color: #aaa;
    flex-shrink: 0;
}

.headline-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 4px;
    padding: 20px 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.headline-banner .label {
    background: #fff;
    color: #e74c3c;
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.headline-banner h2 {
    font-size: 20px;
    font-weight: 500;
}

.headline-banner h2:hover {
    text-decoration: underline;
    cursor: pointer;
}

.hero-section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-main {
    flex: 2;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.hero-main img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.hero-main .info {
    padding: 18px 22px;
}

.hero-main h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #222;
}

.hero-main h2:hover {
    color: #e74c3c;
    cursor: pointer;
}

.hero-main p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.hero-main .meta {
    font-size: 12px;
    color: #999;
}

.hero-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side .card {
    flex: 1;
    margin-bottom: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-item .info {
    padding: 14px 16px;
}

.news-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-item:hover h3 {
    color: #e74c3c;
}

.news-item p {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item .meta {
    font-size: 12px;
    color: #aaa;
}

.section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 22px;
    color: #333;
}

.section-header .more {
    font-size: 14px;
    color: #999;
}

.section-header .more:hover {
    color: #e74c3c;
}

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

.video-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.video-item:hover {
    transform: translateY(-3px);
}

.video-item .thumb {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.video-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-item:hover .thumb img {
    transform: scale(1.05);
}

.video-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.video-item .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
}

.video-item .info {
    padding: 10px 14px;
}

.video-item h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.video-item:hover h3 {
    color: #e74c3c;
}

.video-item .stats {
    font-size: 12px;
    color: #999;
}

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

.service-item {
    background: #fff;
    border-radius: 4px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-item .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.service-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
}

.service-item p {
    font-size: 13px;
    color: #888;
}

.hot-rank {
    counter-reset: rank;
}

.hot-rank li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    gap: 12px;
}

.hot-rank li:last-child {
    border-bottom: none;
}

.hot-rank .rank-num {
    width: 22px;
    height: 22px;
    background: #ccc;
    color: #fff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.hot-rank li:nth-child(1) .rank-num { background: #e74c3c; }
.hot-rank li:nth-child(2) .rank-num { background: #e67e22; }
.hot-rank li:nth-child(3) .rank-num { background: #f1c40f; color: #333; }

.hot-rank a {
    flex: 1;
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-rank a:hover {
    color: #e74c3c;
}

.hot-rank .views {
    font-size: 12px;
    color: #aaa;
    flex-shrink: 0;
}

.tag {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 2px;
    margin-right: 6px;
}

.tag.blue { background: #3498db; }
.tag.green { background: #27ae60; }
.tag.orange { background: #e67e22; }
.tag.gray { background: #95a5a6; }

.post-item {
    background: #fff;
    border-radius: 4px;
    padding: 18px 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    gap: 18px;
}

.post-item .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.post-item .content {
    flex: 1;
}

.post-item .post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.post-item .author {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.post-item .post-time {
    font-size: 12px;
    color: #aaa;
}

.post-item h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 8px;
}

.post-item h3:hover {
    color: #e74c3c;
    cursor: pointer;
}

.post-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.post-item .post-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.post-item .post-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.forum-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.forum-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fafafa;
    border-radius: 4px;
    transition: background 0.2s;
}

.forum-cat:hover {
    background: #fdecea;
}

.forum-cat .cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.forum-cat .cat-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.forum-cat .cat-info p {
    font-size: 12px;
    color: #999;
}

.info-page {
    background: #fff;
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.info-page h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.info-page h2 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #e74c3c;
}

.info-page h3 {
    font-size: 17px;
    margin: 20px 0 10px;
    color: #444;
}

.info-page p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.info-page ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.info-page ul li {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
    list-style: disc;
}

.info-timeline {
    position: relative;
    padding-left: 30px;
    margin: 20px 0;
}

.info-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e74c3c;
}

.info-timeline .timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.info-timeline .timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: #e74c3c;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #e74c3c;
}

.info-timeline .year {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 4px;
}

.info-timeline .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.contact-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: border-color 0.2s;
}

.contact-card:hover {
    border-color: #e74c3c;
}

.contact-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card h3 .icon {
    font-size: 24px;
}

.contact-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.contact-card .contact-info {
    font-size: 14px;
    color: #555;
    margin: 15px 0;
    padding: 12px;
    background: #fafafa;
    border-radius: 4px;
}

.contact-form {
    margin-top: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: #c0392b;
}

.btn-outline {
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.btn-outline:hover {
    background: #e74c3c;
    color: #fff;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 10px;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    color: #666;
}

.pagination a:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.pagination .current {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.footer {
    background: #2c2c2c;
    color: #bbb;
    margin-top: 40px;
}

.footer .container {
    padding: 40px 15px 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-brand h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 28px;
    color: #e74c3c;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: #aaa;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #e74c3c;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #888;
    line-height: 1.8;
}

.footer-bottom a {
    color: #aaa;
    margin: 0 6px;
}

.footer-bottom a:hover {
    color: #e74c3c;
}

.ticker {
    display: flex;
    align-items: center;
    background: #fff8f0;
    border-radius: 4px;
    padding: 12px 18px;
    margin-bottom: 20px;
    border-left: 4px solid #e74c3c;
}

.ticker .label {
    background: #e74c3c;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-content span {
    display: block;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

.ticker-content a {
    color: #e74c3c;
}

.ticker-content a:hover {
    text-decoration: underline;
}

.tab-bar {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.tab-bar a {
    padding: 14px 24px;
    font-size: 15px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab-bar a:hover {
    color: #e74c3c;
    background: #fdecea;
}

.tab-bar a.active {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
    font-weight: 500;
}

.ad-banner {
    background: linear-gradient(135deg, #fff5f4, #fdecea);
    border: 1px dashed #e74c3c;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.ad-banner h3 {
    color: #e74c3c;
    font-size: 18px;
    margin-bottom: 8px;
}

.ad-banner p {
    color: #666;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .container { width: 100%; }
    .main-content { flex-direction: column; }
    .sidebar { width: 100%; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .hero-section { flex-direction: column; }
    .hero-main img { height: 260px; }
}

@media (max-width: 768px) {
    .header .container { flex-direction: column; gap: 15px; }
    .search-box input { width: 180px; }
    .nav .container { flex-wrap: wrap; }
    .nav a { padding: 10px 16px; font-size: 14px; }
    .news-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 25px; }
    .contact-grid { grid-template-columns: 1fr; }
    .forum-categories { grid-template-columns: 1fr; }
    .info-page { padding: 25px 20px; }
    .headline-banner { flex-direction: column; align-items: flex-start; }
    .post-item { flex-direction: column; }
}

@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    .search-box { width: 100%; }
    .search-box input { width: 100%; }
    .hero-main img { height: 200px; }
    .footer-bottom { font-size: 12px; }
}