/* 基础重置与全局样式 */
* { 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 { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 首页头部 */
.site-header { background: linear-gradient(to right, #2c3e50, #4a6491); 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; background: linear-gradient(45deg, #ff9a9e, #fad0c4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.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 { display: flex; justify-content: center; gap: 40px; padding: 20px 0; }
.main-nav a { font-size: 1.1rem; padding: 10px 20px; border-radius: 30px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.main-nav a:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* 首页主体 */
.hero-banner { margin: 30px auto; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.banner-inner { height: 400px; background-size: cover; background-position: center; position: relative; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(45deg, rgba(106, 17, 203, 0.85), rgba(37, 117, 252, 0.85)); display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; padding: 40px; }
.banner-title { font-size: 3.5rem; margin-bottom: 15px; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); }
.banner-desc { font-size: 1.3rem; opacity: 0.9; }

.content-wrapper { padding: 40px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; position: relative; }
.section-title { font-size: 2rem; color: #2c3e50; display: flex; align-items: center; gap: 10px; }
.title-icon { font-size: 1.8rem; }
.section-decor { width: 100px; height: 8px; border-radius: 4px; background-size: cover; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-bottom: 50px; }
.grid-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: transform 0.4s, box-shadow 0.4s; }
.grid-item:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.item-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.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: 1fr 350px; gap: 40px; }
.news-ticker { background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); color: white; padding: 15px; border-radius: 10px; margin-bottom: 30px; overflow: hidden; }
.ticker-container { display: flex; animation: ticker 30s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.ticker-item { white-space: nowrap; padding: 0 30px; }
.ticker-time { opacity: 0.8; margin-right: 15px; }

.article-list { display: flex; flex-direction: column; gap: 25px; }
.list-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; transition: all 0.3s; }
.list-item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.list-img { width: 250px; flex-shrink: 0; background-size: cover; background-position: center; }
.list-body { padding: 25px; flex: 1; }
.list-title { font-size: 1.4rem; margin-bottom: 10px; color: #2c3e50; }
.list-excerpt { color: #666; margin-bottom: 15px; line-height: 1.6; }
.list-meta { display: flex; gap: 20px; color: #95a5a6; font-size: 0.9rem; }
.meta-item { display: flex; align-items: center; gap: 5px; }

.sidebar { display: flex; flex-direction: column; gap: 30px; }
.sidebar-widget { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.widget-header { padding: 20px; background: linear-gradient(45deg, #6a11cb, #2575fc); color: white; position: relative; }
.widget-bg { position: absolute; inset: 0; background-size: cover; opacity: 0.2; }
.widget-title { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.widget-content { padding: 20px; }
.rank-item { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px dashed #eee; }
.rank-num { width: 30px; height: 30px; background: linear-gradient(45deg, #ff9a9e, #fad0c4); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 15px; }
.rank-link { flex: 1; font-size: 1rem; }
.rank-views { color: #95a5a6; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }
.rec-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px dashed #eee; }
.rec-img { width: 80px; height: 60px; border-radius: 8px; background-size: cover; flex-shrink: 0; }
.rec-info { flex: 1; }
.rec-title { font-size: 1rem; margin-bottom: 5px; }
.rec-cat { font-size: 0.85rem; color: #6a11cb; background: #f0e6ff; padding: 2px 10px; border-radius: 10px; }

/* 首页尾部 */
.site-footer { background: linear-gradient(to right, #2c3e50, #4a6491); color: white; padding: 50px 0 30px; margin-top: 60px; position: relative; overflow: hidden; }
.footer-container { position: relative; z-index: 2; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.links-title { font-size: 1.3rem; margin-bottom: 20px; color: #fad0c4; }
.friend-links { display: flex; flex-wrap: wrap; gap: 15px; }
.friend-links a { background: rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 20px; font-size: 0.95rem; }
.friend-links a:hover { background: rgba(255,255,255,0.25); }
.footer-info { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); position: relative; }
.footer-logo { font-size: 2.5rem; font-weight: 800; background: linear-gradient(45deg, #ff9a9e, #fad0c4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; }
.copyright { margin-bottom: 10px; opacity: 0.9; }
.icp { opacity: 0.7; font-size: 0.9rem; }
.footer-bg { position: absolute; inset: 0; background-size: cover; opacity: 0.1; z-index: 1; }

/* 列表页 */
.list-page { padding: 40px 0; }
.page-header { margin-bottom: 40px; position: relative; }
.header-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 20px; }
.bread-home { color: #6a11cb; }
.bread-sep { opacity: 0.5; }
.category-link { font-size: 2.2rem; font-weight: 700; color: #2c3e50; background: linear-gradient(45deg, #6a11cb, #2575fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-bg { height: 120px; border-radius: 15px; background-size: cover; opacity: 0.15; }

.list-container { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.list-filter { background: white; border-radius: 15px; padding: 25px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); margin-bottom: 30px; }
.filter-title { font-size: 1.3rem; margin-bottom: 15px; color: #2c3e50; }
.filter-options { display: flex; gap: 15px; }
.filter-option { padding: 10px 25px; border-radius: 30px; background: #f8f9fa; color: #666; }
.filter-option.active { background: linear-gradient(45deg, #6a11cb, #2575fc); color: white; }

.article-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; margin-bottom: 50px; }
.list-grid-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: all 0.4s; }
.list-grid-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.grid-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.img-overlay { position: absolute; bottom: 15px; right: 15px; background: rgba(106, 17, 203, 0.9); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; }
.grid-content { padding: 25px; }
.grid-title { font-size: 1.4rem; margin-bottom: 12px; color: #2c3e50; line-height: 1.4; }
.grid-excerpt { color: #666; margin-bottom: 20px; line-height: 1.6; }
.grid-meta { display: flex; justify-content: space-between; color: #95a5a6; font-size: 0.9rem; }
.meta-cat, .meta-date, .meta-views { display: flex; align-items: center; gap: 5px; }

.pagination-wrapper { display: flex; justify-content: center; }
.pagelist { display: flex; gap: 10px; }
.pagelist li a { display: block; width: 45px; height: 45px; line-height: 45px; text-align: center; background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); font-weight: 600; }
.pagelist li a:hover { background: linear-gradient(45deg, #6a11cb, #2575fc); color: white; }

.list-sidebar { display: flex; flex-direction: column; gap: 30px; }
.sidebar-block { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.block-header { padding: 20px; background: linear-gradient(45deg, #ff9a9e, #fad0c4); color: white; position: relative; }
.block-bg { position: absolute; inset: 0; background-size: cover; opacity: 0.2; }
.block-title { font-size: 1.4rem; position: relative; z-index: 1; }
.block-content { padding: 20px; }
.side-item { padding: 12px 0; border-bottom: 1px dashed #eee; display: flex; align-items: center; }
.side-index { width: 25px; height: 25px; background: #f0e6ff; color: #6a11cb; border-radius: 50%; display: flex; align-items: center; justify-content:
