@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;600;700&family=ZCOOL+XiaoWei&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --ink: #1a0a0a;
  --bg: #140808;
  --bg2: #1e0c0c;
  --paper: #2a1212;
  --cinnabar: #c41e3a;
  --cinnabar-deep: #8b1528;
  --gold: #d4a017;
  --gold-soft: #f0d78c;
  --gold-deep: #9a7010;
  --jade: #2f6b4f;
  --text: #f7efe3;
  --text-muted: #c4b09a;
  --line: rgba(212, 160, 23, 0.28);
  --live: #e85d4c;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", 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(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.cn-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 8% -5%, rgba(196, 30, 58, 0.28), transparent 55%),
    radial-gradient(700px 420px at 95% 5%, rgba(212, 160, 23, 0.18), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(47, 107, 79, 0.12), transparent 55%),
    linear-gradient(165deg, #100606 0%, #1a0a0a 40%, #140808 100%);
}
.cn-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8c8 10 18 14 28 12-6 10-6 22 0 32-10-2-20 2-28 12-8-10-18-14-28-12 6-10 6-22 0-32 10 2 20-2 28-12z' fill='%23d4a017' fill-opacity='0.55'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.cn-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--cinnabar), var(--gold), var(--cinnabar), transparent);
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 28px)); margin: 0 auto; }
.mt { margin-top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(16, 6, 6, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(212, 160, 23, 0.5);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.25);
  background: #2a1212;
}
.brand-text i {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--cinnabar);
  font-weight: 700;
}
.brand-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-soft);
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(196, 30, 58, 0.18), rgba(212, 160, 23, 0.08));
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold);
}

.site-main { padding: 26px 0 60px; }

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 46px 38px;
  background:
    linear-gradient(135deg, rgba(42, 18, 18, 0.96), rgba(16, 6, 6, 0.98));
  box-shadow: var(--shadow);
  margin-bottom: 34px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.35), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "吉";
  position: absolute;
  right: 28px;
  bottom: 10px;
  font-family: var(--font-display);
  font-size: 7rem;
  color: rgba(212, 160, 23, 0.06);
  line-height: 1;
  pointer-events: none;
}
.hero .eyebrow {
  margin: 0 0 8px;
  color: var(--cinnabar);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-soft);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.hero-kw {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 14px;
  border: 1px solid rgba(196, 30, 58, 0.45);
  border-radius: 4px;
  background: rgba(196, 30, 58, 0.15);
  color: #ffc9c9;
  font-weight: 700;
  font-size: 0.92rem;
}
.hero p {
  margin: 0;
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.02rem;
}
.hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.league-hero { padding: 28px; }
.league-hero-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.league-hero-inner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 6px;
  border: 1px solid var(--cinnabar);
  color: #fff8e8;
  background: linear-gradient(135deg, var(--cinnabar), var(--cinnabar-deep));
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(196, 30, 58, 0.28);
}
.btn.secondary {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--gold);
  box-shadow: none;
}
.btn:hover { filter: brightness(1.08); color: #fff; }

.section { margin-bottom: 40px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--cinnabar), var(--gold), transparent) 1;
  padding-bottom: 10px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-soft);
}
.section-head p { margin: 4px 0 0; color: var(--text-muted); font-size: 0.92rem; }
.section-head a { font-size: 0.9rem; }

.league-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.league-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(42, 18, 18, 0.95), rgba(20, 8, 8, 0.98));
  color: var(--text);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.league-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold-soft);
  box-shadow: 0 10px 24px rgba(196, 30, 58, 0.18);
}
.league-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.league-card span { font-weight: 600; font-size: 0.92rem; }

.match-list { display: grid; gap: 12px; }
.match-card {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(42, 18, 18, 0.95), rgba(20, 8, 8, 0.98));
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.match-card:hover {
  border-color: rgba(212, 160, 23, 0.55);
  transform: translateY(-2px);
  color: inherit;
}
.match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.match-meta .league {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}
.match-meta .league img { width: 18px; height: 18px; object-fit: contain; }
.badge {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.78rem;
}
.status-live .badge {
  border-color: rgba(232, 93, 76, 0.55);
  background: rgba(232, 93, 76, 0.18);
  color: #ffb4ab;
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}
.team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.team.away { justify-content: flex-end; text-align: right; }
.team img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.team span {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.score {
  min-width: 72px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-soft);
}

.about-box, .faq-box, .content-card, .news-item, .pager a {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(42, 18, 18, 0.95), rgba(20, 8, 8, 0.98));
  border-radius: var(--radius);
}
.about-box, .faq-box, .content-card { padding: 24px; }
.about-box h2, .faq-box h2, .content-card h1 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--gold-soft);
}
.about-box h3 { color: var(--cinnabar); margin: 22px 0 8px; font-size: 1.05rem; }
.about-box p, .faq-answer p, .article-body p { color: var(--text-muted); }
.about-box ul { color: var(--text-muted); padding-left: 1.2em; }

.faq-intro {
  margin: -4px 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(196, 30, 58, 0.45);
  background: rgba(196, 30, 58, 0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  position: relative;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 16px 16px; }
.faq-answer p { margin: 0; }

.news-list { display: grid; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px;
  color: inherit;
}
.news-item:hover { border-color: var(--gold); color: inherit; }
.news-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  background: #2a1212;
}
.news-item h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--gold-soft); }
.news-item p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.news-meta { margin-top: 8px; color: var(--text-muted); font-size: 0.82rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.article-body { color: var(--text); font-size: 1.02rem; }
.article-body img, .cover img { margin: 16px auto; border-radius: 10px; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.pager a {
  padding: 12px 16px;
  color: var(--gold-soft);
  max-width: 48%;
}
.pager span {
  color: var(--text-muted);
  padding: 12px 0;
}

.match-detail-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  text-align: center;
  margin: 24px 0;
}
.match-detail-score .team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.match-detail-score img { width: 72px; height: 72px; object-fit: contain; }
.match-detail-score .big-score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-soft);
}
.stream-box {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0505;
  padding: 36px 0 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-about strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.friend-links {
  margin: 18px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
.friend-links a { color: var(--text-muted); }
.friend-links a:hover { color: var(--gold); }
.copyright { margin: 0; opacity: 0.8; }

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

@media (max-width: 960px) {
  .league-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(16, 6, 6, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    flex-direction: column;
  }
  .site-nav.open { display: flex; }
  .hero { padding: 30px 18px; }
  .hero::after { font-size: 4.5rem; right: 12px; }
  .league-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { height: 160px; }
  .match-teams { grid-template-columns: 1fr; gap: 8px; }
  .team.away { justify-content: flex-start; text-align: left; }
  .score { order: -1; margin: 4px 0; }
  .badge { margin-left: 0; }
  .pager { flex-direction: column; }
  .pager a { max-width: 100%; }
  .match-detail-score { gap: 12px; }
  .match-detail-score .big-score { font-size: 1.8rem; }
}
