:root {
  --primary: #0d4a0d;
  --primary-dark: #062d06;
  --accent: #d4af37;
  --accent-light: #f5e6a3;
  --bg: #f0f4f0;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --text-light: #555;
  --border: #dde5dd;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.header { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 0 2rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--accent); letter-spacing: -0.5px; }
.nav { display: flex; gap: 2.2rem; }
.nav a { color: rgba(255,255,255,0.8); font-size: 0.95rem; font-weight: 500; transition: all 0.2s; padding: 0.6rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Hero with background image */
.hero { position: relative; background: url('/img/hero-bg.jpg') center/cover no-repeat; min-height: 420px; display: flex; align-items: center; padding: 3rem 2rem; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,45,6,0.85) 0%, rgba(13,74,13,0.7) 100%); }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-title { color: #fff; font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.hero-match { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(212,175,55,0.25); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: #fff; transition: transform 0.2s, border-color 0.2s; }
.hero-match:hover { transform: translateY(-4px); border-color: var(--accent); }
.hero-match .league-tag { display: inline-block; background: var(--accent); color: var(--primary-dark); font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 14px; margin-bottom: 0.8rem; }
.hero-match .team { font-size: 1.15rem; font-weight: 700; margin: 0.4rem 0; }
.hero-match .vs { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin: 0.4rem 0; letter-spacing: 2px; }
.hero-match .time { font-size: 0.82rem; opacity: 0.75; margin-top: 0.5rem; }
.hero-match .venue { font-size: 0.75rem; opacity: 0.55; }

/* Section */
.section { max-width: 1200px; margin: 2.5rem auto; padding: 0 2rem; }
.section-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; padding-left: 1rem; border-left: 5px solid var(--accent); color: var(--primary-dark); }

/* Tabs */
.tabs { display: flex; gap: 0; margin-bottom: 1.2rem; border-bottom: 2px solid var(--border); }
.tab { padding: 0.7rem 1.8rem; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: var(--text-light); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab:hover { color: var(--primary); }
.tab.active { color: var(--primary-dark); border-bottom-color: var(--accent); }

/* Standings Table */
.standings-wrap { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.standings-table { width: 100%; border-collapse: collapse; }
.standings-table th { background: var(--primary-dark); color: #fff; padding: 0.8rem; font-size: 0.78rem; text-align: center; font-weight: 500; letter-spacing: 0.5px; }
.standings-table td { padding: 0.7rem 0.8rem; text-align: center; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tbody tr:hover td { background: #f2f8f2; }
.standings-table .team-name { text-align: left; font-weight: 600; padding-left: 1rem; }
.standings-table .rank { width: 40px; color: var(--text-light); font-weight: 600; }
.standings-table .pts { font-weight: 800; color: var(--primary-dark); font-size: 1rem; }
.rank-1 td, .rank-2 td, .rank-3 td, .rank-4 td { background: rgba(212,175,55,0.04); }
.rank-1 .rank::after, .rank-2 .rank::after, .rank-3 .rank::after, .rank-4 .rank::after { content: ' ↑'; color: #e53e3e; font-size: 0.7rem; }

/* News Grid - with images */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card-img { width: 100%; height: 180px; object-fit: cover; }
.news-card-body { padding: 1.2rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.news-card-tag { display: inline-block; align-self: flex-start; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; margin-bottom: 0.6rem; }
.news-card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-desc { font-size: 0.83rem; color: var(--text-light); line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-meta { font-size: 0.75rem; color: #999; margin-top: 0.8rem; padding-top: 0.6rem; border-top: 1px solid var(--border); }

/* Schedule */
.schedule-day { margin-bottom: 2.5rem; }
.schedule-date { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 1rem; padding: 0.5rem 1rem; background: rgba(13,74,13,0.06); border-radius: 6px; border-left: 4px solid var(--accent); }
.match-row { display: grid; grid-template-columns: 70px 90px 1fr 50px 1fr 120px; align-items: center; padding: 1rem 1.2rem; background: var(--card-bg); border-radius: var(--radius); margin-bottom: 0.6rem; box-shadow: var(--shadow); transition: transform 0.15s; }
.match-row:hover { transform: translateX(4px); }
.match-time { color: var(--accent); font-weight: 800; font-size: 0.95rem; }
.match-league { font-size: 0.78rem; color: var(--text-light); background: rgba(13,74,13,0.06); padding: 2px 8px; border-radius: 4px; text-align: center; }
.match-home { text-align: right; font-weight: 700; font-size: 0.95rem; }
.match-away { text-align: left; font-weight: 700; font-size: 0.95rem; padding-left: 0.5rem; }
.match-vs { text-align: center; color: var(--primary); font-weight: 800; font-size: 0.8rem; background: rgba(212,175,55,0.1); width: 40px; height: 40px; line-height: 40px; border-radius: 50%; margin: 0 auto; }
.match-venue { font-size: 0.78rem; color: #999; }

/* Article */
.article { max-width: 860px; margin: 0 auto; padding: 2rem; }
.article-cover { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); }
.article-header { margin-bottom: 2rem; }
.article-title { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); line-height: 1.3; margin-bottom: 1rem; }
.article-meta { font-size: 0.88rem; color: var(--text-light); display: flex; align-items: center; gap: 0.8rem; }
.article-meta .tag { background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.article-body { font-size: 1.08rem; line-height: 2; }
.article-body p { margin-bottom: 1.4rem; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); margin: 2rem 0 0.8rem; padding-left: 0.8rem; border-left: 3px solid var(--accent); }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--border); }

/* Footer */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); text-align: center; padding: 2.5rem 2rem; margin-top: 3rem; font-size: 0.88rem; }
.footer a { color: var(--accent); font-weight: 600; }

@media (max-width: 768px) {
  .hero { min-height: 300px; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.4rem; }
  .news-grid { grid-template-columns: 1fr; }
  .match-row { grid-template-columns: 55px 70px 1fr 36px 1fr 70px; font-size: 0.82rem; padding: 0.8rem; }
  .nav { gap: 1rem; }
  .article-title { font-size: 1.3rem; }
  .article-cover { height: 220px; }
}
