/* ====== 足球帝 (ZuQiuDi) 全局样式 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; background-color: #f0f3f6; color: #333; line-height: 1.6; }
a { text-decoration: none; color: #333; transition: color 0.3s; }
a:hover { color: #2ecc71; } /* 绿茵场标志性草绿色 */
ul, li { list-style: none; }
.container { width: 1200px; margin: 0 auto; }

/* 顶部黑色小横条 */
.top-nav { background: #1a1a1a; height: 36px; line-height: 36px; font-size: 13px; color: #888; }
.top-nav a { color: #888; margin: 0 10px; }
.top-nav a:hover { color: #fff; }
.top-flex { display: flex; justify-content: space-between; }

/* 头部主区域 - 绿白撞色 */
.header { background: #fff; border-bottom: 3px solid #2ecc71; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo a { font-size: 32px; font-weight: 900; color: #2ecc71; font-style: italic; letter-spacing: -1px; display: flex; align-items: center; }
.logo a::before { content: '⚽'; font-style: normal; margin-right: 8px; font-size: 36px; color: #333; }

/* 主导航栏 */
.nav { display: flex; }
.nav li { margin: 0 5px; }
.nav a { font-size: 16px; font-weight: bold; color: #333; padding: 10px 20px; border-radius: 20px; transition: all 0.3s; }
.nav a:hover, .nav .current a { background: #2ecc71; color: #fff; }

/* 搜索框 */
.search-form { display: flex; align-items: center; background: #f5f5f5; border-radius: 20px; padding: 2px 5px; }
.search-form input { background: transparent; border: none; outline: none; padding: 8px 15px; width: 180px; font-size: 14px; }
.search-form button { background: #333; color: #fff; border: none; border-radius: 16px; padding: 6px 18px; cursor: pointer; font-weight: bold; }
.search-form button:hover { background: #2ecc71; }

/* 主体布局 */
.main-wrapper { margin-top: 20px; display: flex; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.content-main { flex: 1; min-width: 0; }
.sidebar { width: 320px; flex-shrink: 0; }

/* 模块通用卡片 */
.box { background: #fff; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; }
.box-hd { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; }
.box-title { font-size: 18px; font-weight: 800; color: #111; display: flex; align-items: center; }
.box-title::before { content: ''; display: inline-block; width: 4px; height: 18px; background: #2ecc71; margin-right: 10px; border-radius: 2px; }
.box-more { font-size: 13px; color: #999; }
.box-more:hover { color: #2ecc71; }
.box-bd { padding: 20px; }

/* 首页 - 头条战报大图 */
.match-hero { position: relative; height: 380px; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.match-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.match-hero:hover img { transform: scale(1.03); }
.hero-mask { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; }
.hero-mask h2 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.hero-tag { background: #e74c3c; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 4px; margin-right: 10px; font-weight: bold; }

/* 首页 - 赛事资讯列表 (卡片横排) */
.news-list li { display: flex; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f5f5f5; }
.news-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.news-pic { width: 180px; height: 115px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-pic:hover img { transform: scale(1.1); }
.news-txt { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-txt h3 { font-size: 17px; font-weight: bold; line-height: 1.4; margin-bottom: 8px; }
.news-txt p { font-size: 14px; color: #666; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 12px; color: #aaa; display: flex; gap: 15px; margin-top: 10px; }

/* 侧边栏 - 积分榜/射手榜样式 */
.score-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 13px; }
.score-table th { background: #f8f9fa; padding: 8px; font-weight: normal; color: #666; border-bottom: 1px solid #eee; }
.score-table td { padding: 10px 8px; border-bottom: 1px dashed #eee; }
.score-table tr:nth-child(-n+3) td:first-child { color: #fff; font-weight: bold; }
.score-table tr:nth-child(1) td:first-child { background: #e74c3c; }
.score-table tr:nth-child(2) td:first-child { background: #e67e22; }
.score-table tr:nth-child(3) td:first-child { background: #f1c40f; }
.team-name { text-align: left; display: flex; align-items: center; gap: 5px; font-weight: bold; }

/* 侧边栏 - 24小时热帖 */
.hot-posts li { padding: 12px 0; border-bottom: 1px dashed #f0f0f0; display: flex; align-items: center; }
.hot-posts li::before { content: '🔥'; margin-right: 8px; font-size: 14px; }
.hot-posts a { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 底部区域 */
.footer { background: #1a1a1a; color: #777; padding: 40px 0; margin-top: 20px; }
.footer-inner { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 30px; margin-bottom: 20px; }
.footer-logo { font-size: 28px; font-weight: 900; color: #fff; font-style: italic; margin-bottom: 10px; }
.footer-links a { color: #777; margin-right: 20px; font-size: 14px; }
.footer-links a:hover { color: #2ecc71; }
.footer-copy { font-size: 13px; text-align: center; }

/* ====== 列表页专属样式 ====== */
.list-filter { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.filter-row { display: flex; align-items: center; font-size: 14px; margin-bottom: 10px; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { font-weight: bold; color: #999; width: 60px; }
.filter-items a { display: inline-block; padding: 4px 12px; margin-right: 10px; border-radius: 4px; color: #333; }
.filter-items a.active, .filter-items a:hover { background: #2ecc71; color: #fff; }

.dede_pages { text-align: center; margin: 30px 0; }
.dede_pages ul { display: inline-flex; gap: 5px; }
.dede_pages li { list-style: none; }
.dede_pages a, .dede_pages span { display: inline-block; padding: 8px 15px; border-radius: 4px; background: #fff; border: 1px solid #ddd; color: #333; }
.dede_pages a:hover, .dede_pages .thisclass { background: #2ecc71; color: #fff; border-color: #2ecc71; }

/* ====== 内容页专属样式 ====== */
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 15px; }
.breadcrumb a { color: #555; }
.breadcrumb a:hover { color: #2ecc71; }

.article-wrap { padding: 30px 40px; }
.article-header { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 25px; }
.article-header h1 { font-size: 28px; font-weight: 900; color: #111; margin-bottom: 15px; }
.article-meta { font-size: 13px; color: #999; display: flex; justify-content: center; gap: 20px; }

.article-content { font-size: 17px; line-height: 1.8; color: #333; }
.article-content p { margin-bottom: 20px; }
.article-content img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 8px; }
.article-content strong { font-weight: bold; color: #000; }

.article-tags { margin-top: 40px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.article-tags span { color: #999; }
.article-tags a { background: #f0f3f6; padding: 5px 15px; border-radius: 20px; color: #555; }
.article-tags a:hover { background: #2ecc71; color: #fff; }

.article-prenext { margin-top: 30px; padding: 20px; background: #f9f9f9; border-radius: 8px; font-size: 14px; line-height: 2; }
.article-prenext a { font-weight: bold; color: #333; }
.article-prenext a:hover { color: #2ecc71; }