body, html { margin: 0; padding: 0; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); color: #333; }
.site-header { background: linear-gradient(to right, #2c3e50, #4a6491); color: white; padding: 1rem 0; position: relative; overflow: hidden; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; }
.logo-area .logo-link { text-decoration: none; color: white; font-size: 2rem; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.main-nav ul { display: flex; list-style: none; gap: 2rem; margin: 0; padding: 0; }
.main-nav a { color: #d1d8e0; text-decoration: none; font-weight: 500; transition: color 0.3s; padding: 0.5rem 1rem; border-radius: 4px; }
.main-nav a:hover { color: white; background: rgba(255,255,255,0.1); }
.header-decoration .decoration-img { position: absolute; top: 0; right: 0; height: 100%; width: auto; opacity: 0.2; z-index: 0; }
.home-main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.hero-banner { border-radius: 16px; overflow: hidden; margin-bottom: 3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.banner-inner { background-size: cover; background-position: center; padding: 5rem 3rem; text-align: center; position: relative; }
.banner-title { font-size: 3.5rem; color: white; margin: 0; text-shadow: 3px 3px 6px rgba(0,0,0,0.5); }
.banner-subtitle { font-size: 1.5rem; color: #e0e0e0; margin-top: 1rem; }
.content-wrapper { display: flex; flex-direction: column; gap: 3rem; }
.featured-news { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08); position: relative; overflow: hidden; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-size: 1.8rem; color: #2c3e50; display: flex; align-items: center; gap: 0.5rem; }
.icon-hot:before { content: "🔥"; }
.news-container { position: relative; z-index: 1; }
.news-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.news-list li { background: #f8f9fa; padding: 1rem; border-radius: 8px; transition: transform 0.3s, box-shadow 0.3s; }
.news-list li:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.news-list a { text-decoration: none; color: #3498db; font-weight: 500; display: block; }
.news-list a:hover { color: #2980b9; }
.main-content { display: flex; flex-direction: column; gap: 3rem; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.content-block { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08); position: relative; overflow: hidden; }
.block-title { font-size: 1.5rem; color: #2c3e50; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.icon-latest:before { content: "🆕"; }
.icon-recommend:before { content: "⭐"; }
.block-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: 0.05; z-index: 0; }
.article-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.article-list li { padding: 0.75rem 0; border-bottom: 1px dashed #eee; }
.article-list a { text-decoration: none; color: #555; transition: color 0.3s; }
.article-list a:hover { color: #e74c3c; }
.ranking-section { background: linear-gradient(145deg, #ffffff, #f0f0f0); border-radius: 12px; padding: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.icon-ranking:before { content: "🏆"; }
.ranking-list { display: flex; align-items: center; gap: 2rem; }
.ranking-ol { list-style: decimal inside; padding: 0; margin: 0; flex: 1; }
.ranking-ol li { padding: 0.8rem 1rem; background: #f8f9fa; margin-bottom: 0.5rem; border-radius: 6px; }
.ranking-ol a { text-decoration: none; color: #2c3e50; font-weight: 500; }
.ranking-decoration img { max-width: 200px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.site-footer { background: linear-gradient(to right, #2c3e50, #34495e); color: #bdc3c7; padding: 3rem 0 1.5rem; margin-top: 4rem; position: relative; overflow: hidden; }
.footer-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: 0.1; z-index: 0; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.footer-links { margin-bottom: 2rem; }
.footer-title { color: #ecf0f1; font-size: 1.5rem; margin-bottom: 1rem; }
.friend-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.friend-links li { background: rgba(255,255,255,0.05); padding: 0.5rem 1rem; border-radius: 4px; }
.friend-links a { color: #95a5a6; text-decoration: none; }
.friend-links a:hover { color: #ecf0f1; }
.footer-info { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.copyright, .icp { margin: 0.5rem 0; font-size: 0.9rem; }
.list-page { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.list-hero { border-radius: 16px; overflow: hidden; margin-bottom: 3rem; position: relative; }
.hero-bg { background-size: cover; background-position: center; height: 300px; }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; padding: 2rem; }
.list-title { font-size: 3rem; margin: 0; }
.current-category { margin-top: 1rem; }
.category-link { background: #e74c3c; color: white; padding: 0.5rem 1.5rem; border-radius: 20px; text-decoration: none; font-weight: bold; }
.list-container { display: flex; gap: 2rem; }
.list-sidebar { flex: 0 0 250px; }
.sidebar-block { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08); position: relative; overflow: hidden; }
.sidebar-title { font-size: 1.3rem; color: #2c3e50; margin-bottom: 1rem; }
.sidebar-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: 0.05; }
.list-main { flex: 1; }
.list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.main-title { font-size: 2.2rem; color: #2c3e50; }
.list-decoration img { max-width: 150px; border-radius: 8px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.article-grid li { background: white; border-radius: 10px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: all 0.3s; }
.article-grid li:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.article-grid a { text-decoration: none; color: #2c3e50; font-size: 1.1rem; font-weight: 500; display: block; }
.pagination-wrapper { text-align: center; }
.pagelist { list-style: none; padding: 0; display: inline-flex; gap: 0.5rem; background: white; border-radius: 30px; padding: 0.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.pagelist li { margin: 0; }
.pagelist a { display: block; padding: 0.75rem 1.25rem; background: #f8f9fa; border-radius: 20px; text-decoration: none; color: #555; font-weight: 500; transition: all 0.3s; }
.pagelist a:hover, .pagelist a[data-page="0"] { background: #3498db; color: white; }
.detail-page { max-width: 900px; margin: 0 auto; padding: 0 1rem; }
.detail-hero { border-radius: 16px; overflow: hidden; margin-bottom: 2rem; height: 200px; }
.detail-container { background: white; border-radius: 16px; padding: 3rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.article-info { text-align: center; margin-bottom: 3rem; }
.cat-link { display: inline-block; background: #9b59b6; color: white; padding: 0.5rem 1.5rem; border-radius: 20px; text-decoration: none; margin-bottom: 1rem; }
.article-title { font-size: 2.8rem; color: #2c3e50; margin: 1rem 0; line-height: 1.3; }
.article-meta { color: #7f8c8d; font-size: 0.95rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.article-content-wrapper { position: relative; margin: 3rem 0; }
.content-decoration { position: absolute; top: -20px; right: -20px; z-index: 0; }
.content-decoration img { max-width: 150px; border-radius: 8px; opacity: 0.3; }
.article-content { position: relative; z-index: 1; font-size: 1.1rem; line-height: 1.8; color: #444; }
.article-content p { margin-bottom: 1.5rem; }
.article-nav { display: flex; justify-content: space-between; margin: 3rem 0; padding: 1.5rem; background: #f8f9fa; border-radius: 12px; }
.article-nav a { text-decoration: none; color: #3498db; font-weight: 500; padding: 0.8rem 1.5rem; border-radius: 6px; background: white; transition: all 0.3s; }
.article-nav a:hover { background: #3498db; color: white; }
.related-articles { margin: 3rem 0; }
.related-title { font-size: 1.8rem; color: #2c3e50; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid #3498db; }
.related-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.related-list li { background: #f8f9fa; padding: 1rem; border-radius: 8px; }
.related-list a { text-decoration: none; color: #555; }
.related-list a:hover { color: #e74c3c; }
.u-back-list { display: inline-block; margin-top: 2rem; padding: 1rem 2.5rem; background: linear-gradient(to right, #e74c3c, #c0392b); color: white; text-decoration: none; border-radius: 30px; font-weight: bold; text-align: center; transition: transform 0.3s; }
.u-back-list:hover { transform: scale(1.05); }
@media (max-width: 768px) {
    .header-container, .list-container, .content-grid { flex-direction: column; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }
    .banner-title { font-size: 2.5rem; }
    .news-list, .article-grid { grid-template-columns: 1fr; }
    .article-nav { flex-direction: column; gap: 1rem; }
}
