/* 足球比分500 - 站点样式 */
/* 设计关键词：深绿运动风 + 比分牌数字感 + 动感条纹 */
:root {
  --green-dark: #0a2e1a;
  --green-primary: #1a6b3c;
  --green-light: #2d9e5a;
  --gold-accent: #f0b400;
  --white: #ffffff;
  --gray-100: #f5f7f5;
  --gray-200: #e8ede8;
  --gray-600: #4a5a4a;
  --gray-800: #1a2a1a;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(10,46,26,0.12);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif; background: var(--gray-100); color: var(--gray-800); line-height: 1.6; }

/* 导航 */
.site-header { background: var(--green-dark); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo img { border-radius: 8px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--gold-accent); letter-spacing: 1px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.nav-link { color: rgba(255,255,255,0.85); text-decoration: none; padding: 20px 14px; font-size: 15px; font-weight: 500; border-bottom: 3px solid transparent; transition: all 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--gold-accent); border-bottom-color: var(--gold-accent); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; margin-left: auto; }

/* Hero */
.hero { position: relative; height: 520px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,46,26,0.88) 0%, rgba(26,107,60,0.75) 100%); }
.hero-content { position: relative; text-align: center; color: var(--white); padding: 0 24px; }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.hero-sub { font-size: 20px; margin-bottom: 32px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 16px; justify-content: center; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-size: 16px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--gold-accent); color: var(--green-dark); }
.btn-primary:hover { background: #ffc107; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 28px; font-weight: 700; color: var(--green-dark); margin-bottom: 32px; padding-bottom: 12px; border-bottom: 3px solid var(--green-primary); display: inline-block; }

/* 比分卡 */
.live-scores { padding: 64px 0; background: var(--white); }
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.score-card { background: var(--gray-100); border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 20px; position: relative; transition: all 0.2s; }
.score-card:hover { border-color: var(--green-light); box-shadow: var(--shadow); transform: translateY(-3px); }
.match-time { font-size: 12px; color: var(--gray-600); margin-bottom: 10px; }
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 600; }
.team { color: var(--gray-800); text-align: center; flex: 1; }
.score-live { font-size: 22px; font-weight: 800; color: var(--green-primary); font-family: 'Courier New', monospace; letter-spacing: 2px; }
.match-league { font-size: 12px; color: var(--gray-600); margin-top: 8px; text-align: center; }
.live-tag { position: absolute; top: 12px; right: 12px; background: #e53935; color: white; font-size: 11px; padding: 2px 8px; border-radius: 10px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* 特性 */
.features { padding: 64px 0; background: var(--gray-100); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item { background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: all 0.2s; }
.feature-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10,46,26,0.18); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-item h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--gray-600); }

/* 文章 */
.latest-articles { padding: 64px 0; background: var(--white); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--gray-100); transition: all 0.2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10,46,26,0.16); }
.article-img { width: 100%; height: 200px; object-fit: cover; }
.article-body { padding: 20px; }
.article-cat { display: inline-block; background: var(--green-primary); color: white; font-size: 12px; padding: 2px 10px; border-radius: 10px; margin-bottom: 10px; }
.article-body h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.article-body h3 a { color: var(--green-dark); text-decoration: none; }
.article-body h3 a:hover { color: var(--green-light); }
.article-body p { font-size: 14px; color: var(--gray-600); margin-bottom: 8px; }
.article-body time { font-size: 12px; color: #999; }

/* 页脚 */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.8); padding: 48px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { border-radius: 6px; }
.footer-logo span { font-size: 18px; font-weight: 700; color: var(--gold-accent); }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px; text-align: center; font-size: 13px; margin-top: 40px; }

/* 响应式 */
@media (max-width: 768px) {
  .score-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* 面包屑 */
.breadcrumb { font-size: 14px; color: #888; margin-bottom: 8px; }
.breadcrumb a { color: #1a6b3c; text-decoration: none; }

/* 文章内容 */
.article-content { background: #fff; border-radius: 10px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.article-content h2 { font-size: 20px; color: #0a2e1a; margin: 24px 0 12px; }
.article-content p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 16px; }
.article-content ul { list-style: none; padding: 0; }
.article-content li { padding: 6px 0; font-size: 15px; color: #444; padding-left: 20px; position: relative; }
.article-content li::before { content: "⚽"; position: absolute; left: 0; }

/* 积分表 */
.standings-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.standings-table th { background: #0a2e1a; color: #fff; padding: 10px 8px; text-align: center; }
.standings-table td { padding: 8px; text-align: center; border-bottom: 1px solid #e8ede8; }
.standings-table tr:hover td { background: #f5f7f5; }

/* 相关推荐侧栏 */
.related-articles { background: #f5f7f5; border-radius: 10px; padding: 24px; margin-top: 32px; }
.related-articles h3 { font-size: 18px; color: #0a2e1a; margin-bottom: 16px; }
.related-articles ul { list-style: none; }
.related-articles li { padding: 8px 0; border-bottom: 1px solid #e8ede8; }
.related-articles a { color: #1a6b3c; text-decoration: none; font-size: 14px; }
.related-articles a:hover { color: #f0b400; }
