:root {
  --pitch: #0f5c3a;
  --pitch-deep: #0a3d28;
  --turf: #1a7a4c;
  --ink: #102418;
  --muted: #4a6356;
  --flame: #ff7a18;
  --flame-deep: #e85d00;
  --ice: #e8fff4;
  --panel: #ffffff;
  --line: rgba(16, 36, 24, 0.08);
  --shadow: 0 10px 26px rgba(10, 61, 40, 0.12);
  --radius: 16px;
  --font: "DIN Alternate", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Oswald", "Noto Sans SC", "PingFang SC", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, #0d4a30 0%, #126b44 18%, #e9f7ef 18%, #f4fbf7 100%);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}

.illus-bg {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: -1;
  overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(10px); opacity: 0.22;
  pointer-events: none;
}
.blob.b1 { width: 260px; height: 260px; left: -90px; top: 120px; background: radial-gradient(circle, #ffb36a, transparent 70%); }
.blob.b2 { width: 220px; height: 220px; right: -70px; top: 280px; background: radial-gradient(circle, #7dffb8, transparent 70%); }
.blob.b3 { width: 280px; height: 280px; left: 40%; bottom: -140px; background: radial-gradient(circle, #9dffc8, transparent 70%); }
.deco {
  position: absolute; width: 56px; height: 56px;
  border: 3px solid rgba(255,122,24,.28);
  border-radius: 50%;
  pointer-events: none; opacity: 0.45;
}
.deco.d1 { top: 220px; right: 5%; }
.deco.d2 { bottom: 200px; left: 4%; border-color: rgba(26,122,76,.28); border-radius: 8px; transform: rotate(18deg); }

a { color: #0f7a4a; text-decoration: none; }
a:hover { color: var(--flame-deep); }
img { max-width: 100%; height: auto; display: block; }
.container {
  width: min(var(--container), calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 61, 40, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--flame);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand img {
  width: 48px; height: 48px; border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.brand-text em {
  font-style: normal; font-size: 0.78rem; color: rgba(255,255,255,.72);
  max-width: 260px;
}

.main-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  color: rgba(255,255,255,.82); padding: 8px 16px; border-radius: 8px;
  border: 2px solid transparent; transition: .2s ease; white-space: nowrap;
  font-weight: 600; letter-spacing: 0.02em;
}
.main-nav a:hover, .main-nav a.active {
  color: #102418;
  background: linear-gradient(135deg, var(--flame), #ffb24a);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(255,122,24,.35);
}

.nav-toggle {
  display: none; background: transparent; border: 0; width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 3px; width: 22px; background: #fff; margin: 0 auto;
  border-radius: 3px;
}

.site-main {
  padding: 22px 0 56px;
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.hero-illus {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 36px 32px 40px;
  background:
    linear-gradient(125deg, #0f5c3a 0%, #167a4c 48%, #0d4630 100%);
  border: 3px solid rgba(255,122,24,.45);
  box-shadow: var(--shadow);
  z-index: 2;
  color: #fff;
}
.hero-illus::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(255,255,255,.04) 0 12px,
      transparent 12px 28px
    );
  pointer-events: none;
}
.hero-illus .float-ball {
  position: absolute; right: 8%; top: 18%;
  width: 88px; height: 88px; border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 35% 30%, #fff, transparent 40%),
    linear-gradient(145deg, var(--flame), #ffb24a);
  box-shadow: 0 12px 24px rgba(255,122,24,.4);
}
.hero-illus .float-ball::after {
  content: ""; position: absolute; inset: 18%;
  border: 2px solid rgba(255,255,255,.55); border-radius: 50%;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  color: #fff;
  max-width: 16em;
  position: relative;
  z-index: 1;
  letter-spacing: 0.03em;
}
.hero-desc {
  margin: 0 0 22px; color: rgba(255,255,255,.86); max-width: 38em;
  position: relative; z-index: 1;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; font-weight: 700;
  border: 2px solid transparent; transition: .2s ease;
}
.btn-primary {
  color: #102418 !important;
  background: linear-gradient(135deg, var(--flame), #ffb24a);
  box-shadow: 0 8px 18px rgba(255,122,24,.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #102418 !important; }
.btn-ghost {
  color: #fff !important;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: var(--flame); color: #fff !important; background: rgba(255,122,24,.18); }

.section {
  margin-top: 34px;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.section-head h2 {
  font-family: var(--display);
  margin: 0 0 4px; font-size: 1.55rem;
  letter-spacing: 0.02em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.section-head a { font-weight: 700; }

.page-title {
  font-family: var(--display);
  font-size: 1.8rem; margin: 8px 0 20px;
  letter-spacing: 0.02em;
}

.league-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.league-chip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 10px;
  background: var(--panel);
  border-radius: 14px;
  border: 2px solid var(--line);
  border-top: 3px solid var(--turf);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.league-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,24,.45);
  color: var(--ink);
}
.league-chip img {
  width: 48px; height: 48px; object-fit: contain;
}
.league-chip span { font-weight: 700; font-size: 0.95rem; }

.match-list {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.match-card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 2px solid var(--line);
  border-left: 4px solid var(--turf);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.match-card:hover {
  border-left-color: var(--flame);
  transform: translateY(-2px);
}
.match-meta {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.9rem; margin-bottom: 12px;
}
.match-meta .league { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.match-meta .league img { width: 18px; height: 18px; object-fit: contain; }
.match-teams {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
}
.team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team.away { flex-direction: row-reverse; text-align: right; }
.team img {
  width: 40px; height: 40px; object-fit: contain; flex-shrink: 0;
  background: #f0faf4; border-radius: 10px; padding: 4px;
}
.team span { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs {
  font-family: var(--display);
  font-size: 1.1rem; color: var(--muted);
  min-width: 64px; text-align: center;
  letter-spacing: 0.04em;
}
.vs.score { color: var(--flame-deep); font-size: 1.25rem; }
.match-action {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; gap: 10px;
}
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-size: 0.78rem; font-weight: 700;
}
.badge-upcoming { background: #e8f5ee; color: #0f5c3a; }
.badge-live { background: #ffe8d4; color: var(--flame-deep); }
.badge-finished { background: #e8f8f5; color: #1f9d88; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.news-card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.news-card:hover { transform: translateY(-3px); border-color: rgba(255,122,24,.4); }
.news-card a { color: inherit; display: block; }
.news-card .cover {
  background: linear-gradient(135deg, #0f5c3a, #1a8a55);
  padding: 18px 16px; font-weight: 700; color: #fff;
}
.news-card .body { padding: 14px 16px 18px; }
.news-card h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.45; }
.news-card p {
  margin: 0 0 10px; color: var(--muted); font-size: 0.92rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .meta { color: #7a9184; font-size: 0.82rem; }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--panel);
  border-radius: 14px;
  border: 2px solid var(--line);
  border-left: 4px solid var(--flame);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted); }

.about-box {
  background: var(--panel);
  border-radius: 18px;
  border: 2px solid var(--line);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.about-box h2, .about-box h1, .about-box h3 {
  font-family: var(--display);
  letter-spacing: 0.02em;
}
.about-box ul { padding-left: 1.2em; color: var(--muted); }
.about-box li { margin: 6px 0; }

.article {
  background: var(--panel);
  border-radius: 18px;
  border: 2px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow);
}
.article h1 {
  font-family: var(--display);
  margin: 0 0 14px; font-size: 1.7rem; line-height: 1.35;
  letter-spacing: 0.02em;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  color: var(--muted); font-size: 0.88rem;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.article-content { color: #24382d; }
.article-content p { margin: 0 0 1em; }
.article-nav {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 16px; border-top: 2px dashed var(--line);
}
.article-nav a { font-weight: 700; }

.empty {
  text-align: center; color: var(--muted);
  padding: 36px 16px;
  background: rgba(255,255,255,.75);
  border-radius: 14px; border: 2px dashed var(--line);
}

.site-footer {
  position: relative;
  z-index: 2;
  background: #0a3d28;
  color: #cde8d8;
  padding: 28px 0 22px;
  margin-top: 20px;
  border-top: 3px solid var(--flame);
}
.site-footer a { color: #ffc48a; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin: 0 0 12px; }
.friend-links { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 10px; }
.copyright { margin: 0; font-size: 0.88rem; color: #8fb89f; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px; right: 14px; top: 72px;
    z-index: 60;
    background: #0f5c3a;
    border: 2px solid rgba(255,122,24,.4);
    border-radius: 14px;
    padding: 10px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .hero-illus { padding: 28px 20px 32px; padding-right: 88px; }
  .hero-illus .float-ball {
    width: 56px; height: 56px; right: 12px; top: 16px; opacity: 0.85;
  }
  .match-teams { grid-template-columns: 1fr; gap: 8px; }
  .team.away { flex-direction: row; text-align: left; }
  .vs { justify-self: start; }
  .article { padding: 18px; }
  .blob, .deco { display: none; }
  body {
    background: linear-gradient(180deg, #0d4a30 0%, #126b44 12%, #e9f7ef 12%, #f4fbf7 100%);
  }
}

.site-main .match-card,
.site-main .news-card,
.site-main .league-chip,
.site-main .faq-item,
.site-main .article,
.site-main .about-box {
  opacity: 1 !important;
  visibility: visible !important;
}
