/* 基础重置与全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); min-height: 100vh; }
a { color: #2c3e50; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #e74c3c; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 首页头部 */
.site-header { background: linear-gradient(to right, #1a2980, #26d0ce); color: white; position: relative; overflow: hidden; }
.header-container { position: relative; z-index: 2; padding: 20px 0; }
.logo-area { text-align: center; padding: 30px 0; position: relative; }
.logo-link { display: inline-block; }
.logo-text { font-size: 3.5rem; font-weight: 800; text-shadow: 3px 3px 6px rgba(0,0,0,0.3); background: linear-gradient(45deg, #ff9a9e, #fad0c4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; }
.header-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.15; z-index: -1; }
.main-nav { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: 50px; margin: 20px auto; max-width: 900px; padding: 15px 30px; }
.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.main-nav a { color: white; font-weight: 600; padding: 8px 20px; border-radius: 25px; }
.main-nav a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

/* 首页主体 */
.home-main { padding: 40px 0; }
.hero-banner { border-radius: 20px; overflow: hidden; margin: 0 auto 50px; max-width: 1100px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.banner-inner { height: 400px; background-size: cover; background-position: center; position: relative; }
.banner-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 40px; color: white; }
.banner-title { font-size: 3rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.banner-desc { font-size: 1.2rem; opacity: 0.9; }
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { position: relative; margin-bottom: 30px; padding: 20px; border-radius: 15px; overflow: hidden; }
.section-title { font-size: 1.8rem; color: #2c3e50; position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; }
.title-icon { font-size: 2rem; }
.section-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: 0.1; z-index: 1; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 50px; }
.grid-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: transform 0.4s, box-shadow 0.4s; }
.grid-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.item-img { height: 200px; background-size: cover; background-position: center; }
.item-content { padding: 20px; }
.item-title { font-size: 1.3rem; margin-bottom: 10px; color: #2c3e50; line-height: 1.4; }
.item-meta { display: flex; justify-content: space-between; font-size: 0.9rem; color: #7f8c8d; }
.main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.news-list li { background: white; padding: 18px 20px; margin-bottom: 12px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.news-list a { flex: 1; font-weight: 500; }
.news-date { color: #95a5a6; font-size: 0.9rem; }
.rank-list li { background: linear-gradient(to right, #ffffff, #f8f9fa); padding: 18px 20px; margin-bottom: 10px; border-radius: 10px; border-left: 5px solid #3498db; display: flex; align-items: center; }
.rank-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #3498db; color: white; border-radius: 50%; margin-right: 15px; font-weight: bold; }
.rank-views { margin-left: auto; color: #e74c3c; font-weight: 600; }
.sidebar-widget { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08); margin-bottom: 30px; }
.widget-header { padding: 20px; background-size: cover; background-position: center; position: relative; }
.widget-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(52, 152, 219, 0.85); }
.widget-title { position: relative; z-index: 2; color: white; font-size: 1.4rem; }
.widget-content { padding: 20px; }
.scroll-news li { padding: 12px 0; border-bottom: 1px dashed #eee; }
.scroll-news li:last-child { border-bottom: none; }
.recommend-list li { padding: 12px 0; border-bottom: 1px dashed #eee; position: relative; padding-left: 20px; }
.recommend-list li::before { content: '★'; color: #f1c40f; position: absolute; left: 0; }

/* 首页尾部 */
.site-footer { background: linear-gradient(to right, #2c3e50, #4a6491); color: white; padding: 50px 0 20px; margin-top: 80px; position: relative; overflow: hidden; }
.footer-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: 0.1; }
.footer-container { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-links { margin-bottom: 40px; }
.footer-title { font-size: 1.5rem; margin-bottom: 20px; color: #ecf0f1; }
.friend-links { display: flex; flex-wrap: wrap; gap: 15px; }
.friend-links li a { color: #bdc3c7; padding: 8px 16px; background: rgba(255,255,255,0.1); border-radius: 20px; }
.friend-links li a:hover { background: rgba(255,255,255,0.2); color: white; }
.footer-info { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.copyright { margin-bottom: 10px; font-size: 1rem; }
.icp { font-size: 0.9rem; color: #95a5a6; }

/* 列表页 */
.list-page { max-width: 1300px; margin: 0 auto; padding: 30px 20px; }
.list-header { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 40px; }
.list-header .header-bg { height: 250px; background-size: cover; }
.header-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 40px; color: white; }
.page-title { font-size: 2.8rem; margin-bottom: 10px; }
.current-category { font-size: 1.1rem; }
.category-link { color: #f1c40f; font-weight: 600; }
.list-container { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.filter-bar { background: white; padding: 18px 25px; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); margin-bottom: 30px; display: flex; align-items: center; position: relative; overflow: hidden; }
.filter-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; opacity: 0.05; }
.filter-label { font-weight: 600; margin-right: 15px; position: relative; z-index: 2; }
.filter-btn { position: relative; z-index: 2; margin-right: 15px; padding: 8px 20px; background: #ecf0f1; border-radius: 20px; }
.filter-btn:hover { background: #3498db; color: white; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.list-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: all 0.3s; }
.list-item:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.list-img { height: 200px; background-size: cover; background-position: center; }
.list-content { padding: 25px; }
.list-title { font-size: 1.4rem; margin-bottom: 12px; color: #2c3e50; line-height: 1.4; }
.list-excerpt { color: #7f8c8d; margin-bottom: 15px; line-height: 1.6; }
.list-meta { display: flex; justify-content: space-between; font-size: 0.9rem; color: #95a5a6; }
.pagination-wrapper { grid-column: 1 / -1; margin-top: 50px; }
.pagelist { display: flex; justify-content: center; gap: 10px; }
.pagelist li a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: white; border-radius: 10px; font-weight: 600; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.pagelist li a:hover { background: #3498db; color: white; }
.sidebar-block { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.block-header { padding: 20px; background-size: cover; position: relative; }
.block-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(231, 76, 60, 0.85); }
.block-title { position: relative; z-index: 2; color: white; font-size: 1.3rem; }
.block-list { padding: 20px; }
.block-list li { padding: 12px 0; border-bottom: 1px dashed #eee; }
.block-list li:last-child { border-bottom: none; }

/* 详情页 */
.detail-page { max-width: 1300px; margin: 0 auto; padding: 30px 20px; }
.detail-header { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 40px; }
.detail-header .header-bg { height: 200px; background-size: cover; }
.breadcrumb { position: absolute; bottom: 20px; left: 30px; color: white; font-size: 1rem; }
.breadcrumb a { color: #f1c40f; }
.detail-container { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.article-detail { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.article-info { margin-bottom: 30px; }
.cat-link { display: inline-block; background: #e74c3c; color: white; padding: 8px 20px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 15px; }
.article-title { font-size: 2.5rem; line-height: 1.3; color: #2c3e50; margin-bottom: 20px; }
.article-meta { display: flex; gap: 25px; color: #7f8c8d; font-size: 0.95rem; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #f1f2f6; }
.article-tags { margin: 30px 0; }
.tags-label { font-weight: 600; margin-right: 10px; }
.tag-item { display: inline-block; background: #ecf0f1; padding: 6px 15px; border-radius: 15px; margin-right: 10px; font-size: 0.9rem; }
.tag-item:hover { background: #3498db; color: white; }
.article-nav { display: flex; justify-content: space-between; margin: 40px 0; padding: 25px; background: #f8f9fa; border-radius: 15px; }
.article-nav a { flex: 1; text-align: center; padding: 12px; font-weight: 500; }
.article-nav a:first-child { border-right: 1px solid #ddd; }
.u-back-list { display: block; width: 200px; margin: 30px auto; text-align: center; padding: 15px 30px; background: linear-gradient(to right, #3498db, #2ecc71); color: white; border-radius: 25px; font-weight: 600; box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3); }
.u-back-list:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4); }
.detail-sidebar { position: sticky; top: 30px; align-self: start; }
.sidebar-section { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08); margin-bottom: 30px; }
.section-header { padding: 20px; background
