:root {
  --green-900: #0b3d2e;
  --green-800: #0f5c3a;
  --green-700: #147a4a;
  --green-600: #1a9b5c;
  --green-500: #22c55e;
  --lime: #b8f26e;
  --orange: #ff7a18;
  --orange-deep: #e85d04;
  --ink: #10231a;
  --muted: #5b6f64;
  --paper: #f3f7f1;
  --card: #ffffff;
  --line: rgba(16, 35, 26, 0.08);
  --shadow: 0 12px 30px rgba(11, 61, 46, 0.12);
  --radius: 14px;
  --font-display: "Oswald", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(184, 242, 110, 0.22), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(255, 122, 24, 0.12), transparent 40%),
    linear-gradient(180deg, #e8f5e4 0%, var(--paper) 40%, #eef4ea 100%);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--green-800); text-decoration: none; }
a:hover { color: var(--orange-deep); }
img { max-width: 100%; height: auto; vertical-align: middle; }
.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

.sport-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.field-line {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 120%;
  background: linear-gradient(180deg, transparent, rgba(26, 155, 92, 0.12), transparent);
  transform: translateX(-50%);
}
.field-line.l1 { left: 18%; }
.field-line.l2 { left: 82%; }
.field-arc {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 18px solid rgba(26, 155, 92, 0.08);
  border-radius: 50%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 61, 46, 0.94);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
}
.brand img {
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(184, 242, 110, 0.45);
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--lime);
  opacity: 0.95;
}
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,0.86);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a.on,
.main-nav a:hover {
  background: rgba(184, 242, 110, 0.18);
  color: #fff;
}
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
}
.league-strip {
  background: rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.league-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
}
.league-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  font-size: 0.84rem;
  white-space: nowrap;
}
.league-chip.on,
.league-chip:hover {
  background: var(--orange);
}
.league-chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
  background: #fff;
}

.site-main {
  position: relative;
  z-index: 1;
  padding: 22px 0 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  padding: 36px 28px 34px;
  margin-bottom: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11,61,46,0.92), rgba(20,122,74,0.88)),
    repeating-linear-gradient(
      -18deg,
      rgba(255,255,255,0.04) 0 10px,
      transparent 10px 20px
    );
  box-shadow: var(--shadow);
}
.hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero .kw {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
}
.hero p {
  margin: 0 0 18px;
  max-width: 560px;
  color: rgba(255,255,255,0.9);
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art .float {
  position: absolute;
  opacity: 0.9;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
  animation: floaty 4.5s ease-in-out infinite;
}
.hero-art .f1 { right: 8%; top: 18%; }
.hero-art .f2 { right: 18%; bottom: 16%; animation-delay: 0.6s; }
.hero-art .f3 { right: 28%; top: 42%; animation-delay: 1.1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.28);
}
.btn.ghost {
  background: rgba(255,255,255,0.14);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn:hover { filter: brightness(1.05); }

.sec { margin: 22px 0; }
.sec-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--green-900);
}
.sec-title small {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.sec-title img { width: 22px; height: 22px; }

.match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.match-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(11, 61, 46, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.match-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.match-link {
  display: block;
  padding: 14px 16px;
  color: inherit !important;
}
.match-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}
.league-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 3px;
}
.league-name { font-weight: 600; color: var(--green-800); }
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}
.team {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.team.away { justify-content: flex-end; text-align: right; }
.team img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #f7faf6;
  border-radius: 50%;
  padding: 2px;
}
.score {
  min-width: 72px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-800);
  background: rgba(34, 197, 94, 0.1);
  border-radius: 10px;
  padding: 6px 10px;
}
.st {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e8efe6;
  color: var(--muted);
}
.st-live { background: rgba(239,68,68,0.15); color: #dc2626; }
.st-upcoming { background: rgba(34,197,94,0.15); color: var(--green-800); }
.st-finished, .st-replay { background: rgba(100,116,139,0.15); color: #475569; }

.page-head {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(26,155,92,0.12), rgba(255,122,24,0.08));
  border: 1px solid var(--line);
}
.page-head h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--green-900);
}
.page-head p { margin: 0; color: var(--muted); }
.inline-ico { vertical-align: -6px; margin-right: 6px; }
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
.crumb a { color: var(--green-700); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.news-card {
  display: block;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: inherit !important;
  box-shadow: 0 6px 16px rgba(11, 61, 46, 0.05);
  transition: transform 0.18s ease;
}
.news-card:hover { transform: translateY(-2px); }
.news-card .cat {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,122,24,0.12);
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 700;
}
.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--green-900);
}
.news-card .sum { margin: 0 0 8px; color: var(--muted); font-size: 0.9rem; }
.news-card time { font-size: 0.8rem; color: #7a8c82; }

.about, .faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 10px;
  box-shadow: 0 6px 16px rgba(11, 61, 46, 0.05);
  margin: 22px 0;
}
.about h2, .faq h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  color: var(--green-900);
}
.about h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
  color: var(--green-700);
}
.about p, .faq p { color: #33483d; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-900);
}
.faq details p { margin: 8px 0 0; }

.play-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.play-box h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: var(--green-900);
}
.play-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 20px;
}
.play-box .teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}
.play-box .side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.play-box .side img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f4faf5;
  border-radius: 50%;
  padding: 6px;
}
.play-box .vs {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--orange-deep);
}
.play-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.play-tip { color: var(--muted); font-size: 0.9rem; }

.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.article h1 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  color: var(--green-900);
  line-height: 1.35;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #24352c;
}
.article-body p { margin: 0 0 1em; }
.pager-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pager-nav a {
  padding: 12px;
  border-radius: 10px;
  background: rgba(26,155,92,0.08);
  color: var(--green-800);
  font-size: 0.92rem;
}
.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.pager a, .pager span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.pager .on {
  background: var(--green-700);
  color: #fff;
  border-color: var(--green-700);
}

.empty {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

.friends {
  position: relative;
  z-index: 1;
  background: rgba(11, 61, 46, 0.06);
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 0.9rem;
}
.friends .lab {
  margin-right: 10px;
  color: var(--muted);
  font-weight: 700;
}
.friends a {
  margin-right: 14px;
  color: var(--green-800);
}
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  padding: 24px 0 32px;
  font-size: 0.88rem;
}
.site-footer p { margin: 0 0 8px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    flex-direction: column;
    background: var(--green-900);
    padding: 10px;
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .hero { padding: 28px 18px; }
  .hero-art .f3 { display: none; }
  .match-teams { grid-template-columns: 1fr; gap: 8px; }
  .team.away { justify-content: flex-start; text-align: left; }
  .score { justify-self: start; }
  .play-box .teams { grid-template-columns: 1fr; }
  .pager-nav { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand-text strong { font-size: 1.1rem; }
  .sec-title { font-size: 1.25rem; }
  .hero h1 { font-size: 1.7rem; }
}
