:root {
  --bg: #0c0b0a;
  --bg-elev: #161412;
  --bg-card: #1c1916;
  --gold: #d4af37;
  --gold-soft: #e8d48b;
  --gold-dim: rgba(212, 175, 55, 0.35);
  --ink: #f5efe3;
  --muted: #a89a82;
  --line: rgba(212, 175, 55, 0.22);
  --live: #e05a4f;
  --ok: #6fbf8a;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
  --radius: 4px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.lux-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212,175,55,0.12), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(120,80,20,0.18), transparent 40%),
    linear-gradient(180deg, #100e0c 0%, #0c0b0a 50%, #12100d 100%);
}
.lux-bg .glow {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.35;
}
.lux-bg .g1 {
  width: 420px; height: 420px; left: -80px; top: -60px;
  background: radial-gradient(circle, rgba(212,175,55,0.35), transparent 70%);
}
.lux-bg .g2 {
  width: 360px; height: 360px; right: -60px; top: 30%;
  background: radial-gradient(circle, rgba(180,120,40,0.25), transparent 70%);
}
.lux-bg .grain {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 10, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand img {
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.04em;
}
.brand-text em { font-style: normal; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.12em; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--bg-elev);
  color: var(--gold); border-radius: var(--radius); padding: 8px 14px; cursor: pointer;
}
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted); padding: 8px 14px; border-radius: var(--radius);
  border: 1px solid transparent; font-weight: 500; font-size: 0.92rem;
  transition: color .2s, border-color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.on {
  color: var(--gold);
  border-color: var(--line);
  background: rgba(212,175,55,0.06);
}

.league-strip {
  border-top: 1px solid rgba(212,175,55,0.1);
  background: rgba(22, 20, 18, 0.85);
}
.league-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 0;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.league-chip {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); background: rgba(0,0,0,0.25); font-size: 0.82rem;
  white-space: nowrap;
}
.league-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.league-chip:hover, .league-chip.on {
  color: var(--gold); border-color: var(--gold); background: rgba(212,175,55,0.1);
}

.site-main { padding: 28px 0 56px; }
.hero {
  position: relative;
  padding: 48px 28px 42px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(212,175,55,0.08), transparent 55%),
    var(--bg-elev);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.hero-ornament { position: absolute; right: 24px; top: 20px; width: 120px; height: 100px; pointer-events: none; }
.hero-ornament .float { position: absolute; opacity: 0.85; }
.hero-ornament .f1 { right: 0; top: 0; }
.hero-ornament .f2 { right: 48px; top: 42px; }
.hero-ornament .f3 { right: 8px; top: 70px; }
.eyebrow {
  margin: 0 0 10px; font-size: 0.78rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
}
.hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600; color: var(--ink); letter-spacing: 0.06em;
}
.hero .lead, .page-head p {
  margin: 0; max-width: 40rem; color: var(--muted); font-size: 1rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, #e0c15a, #b8922a);
  color: #1a1408 !important; font-weight: 600; border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(212,175,55,0.2);
}
.btn:hover { filter: brightness(1.05); color: #1a1408 !important; }
.btn.ghost {
  background: transparent; color: var(--gold) !important;
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(212,175,55,0.08); }
.btn img { width: 18px; height: 18px; }

.sec { margin: 28px 0; }
.sec-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px; padding-bottom: 10px;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
  border-bottom: 1px solid var(--line); color: var(--gold-soft);
}
.sec-title img { width: 20px; height: 20px; }
.sec-title small { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-left: 6px; }

.match-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.match-item {
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.match-item:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.match-link { display: block; padding: 14px 16px; color: inherit; }
.match-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-bottom: 10px; font-size: 0.82rem; color: var(--muted);
}
.league-ico { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.league-name { color: var(--gold-soft); }
.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 { flex-direction: row-reverse; text-align: right; }
.team img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold-dim); background: #0a0908; object-fit: cover; flex: 0 0 auto;
}
.team span { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--gold); min-width: 64px; text-align: center;
}
.st {
  margin-left: auto; padding: 2px 8px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.75rem;
}
.st-live { color: #fff; background: var(--live); border-color: var(--live); }
.st-upcoming { color: var(--gold-soft); }
.st-finished, .st-replay { color: var(--ok); }

.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px;
}
.news-card {
  display: block; padding: 18px; border: 1px solid var(--line);
  background: var(--bg-card); color: inherit; min-height: 140px;
  transition: border-color .2s, transform .2s;
}
.news-card:hover { border-color: var(--gold); transform: translateY(-2px); color: inherit; }
.news-card .cat {
  display: inline-block; margin-bottom: 8px; font-size: 0.72rem;
  letter-spacing: 0.08em; color: var(--gold); border-bottom: 1px solid var(--gold-dim);
}
.news-card h3 {
  margin: 0 0 10px; font-family: var(--font-serif); font-size: 1.05rem;
  font-weight: 600; line-height: 1.45; color: var(--ink);
}
.news-card .sum { margin: 0 0 10px; color: var(--muted); font-size: 0.88rem; }
.news-card time { color: var(--muted); font-size: 0.8rem; }

.about, .faq, .page-head, .play-box, .article {
  padding: 24px; margin: 20px 0;
  border: 1px solid var(--line); background: var(--bg-elev);
}
.about h2, .faq h2, .page-head h1, .play-box h1, .article h1 {
  margin: 0 0 14px; font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.04em;
}
.about h3 {
  margin: 18px 0 8px; font-family: var(--font-serif);
  font-size: 1.05rem; color: var(--gold-soft);
}
.about p, .faq p, .page-head p { color: var(--muted); }
.inline-ico { display: inline-block; vertical-align: middle; margin-right: 8px; border-radius: 50%; }

.faq details {
  border-bottom: 1px solid rgba(212,175,55,0.12); padding: 12px 0;
}
.faq summary {
  cursor: pointer; color: var(--ink); font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "▸"; color: var(--gold); margin-right: 8px;
}
.faq details[open] summary::before { content: "▾"; }

.crumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 16px; font-size: 0.85rem; color: var(--muted);
}
.crumb a { color: var(--gold-soft); }
.crumb span:last-child { color: var(--ink); }

.play-sub {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  color: var(--muted); margin: 0 0 20px;
}
.play-box .teams {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px;
  align-items: center; margin-bottom: 24px; padding: 20px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.play-box .side { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.play-box .side img {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold-dim); background: #0a0908; object-fit: cover;
}
.play-box .vs {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); font-weight: 600;
}
.signal-title {
  margin: 0 0 12px; font-size: 1rem; color: var(--gold-soft); font-family: var(--font-serif);
}
.signal-list { display: grid; gap: 10px; margin-bottom: 16px; }
.signal-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); background: var(--bg-card);
  color: var(--ink); font-weight: 500;
}
.signal-list a:hover { border-color: var(--gold); color: var(--gold); }
.signal-list span { color: var(--gold); font-size: 0.85rem; }
.play-tip, .signal-tip { color: var(--muted); font-size: 0.9rem; }
.empty { color: var(--muted); padding: 20px; text-align: center; border: 1px dashed var(--line); }

.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted);
}
.article-body { color: #e8e0d0; font-size: 1.02rem; }
.article-body .lead-note {
  padding: 12px 14px; margin: 0 0 18px;
  border-left: 3px solid var(--gold);
  background: rgba(212,175,55,0.06); color: var(--muted); font-size: 0.92rem;
}
.article-body p { margin: 0 0 14px; }
.pager-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
}
.pager-nav a {
  padding: 12px; border: 1px solid var(--line); background: var(--bg-card);
  color: var(--ink); font-size: 0.9rem;
}
.pager-nav a:hover { border-color: var(--gold); color: var(--gold); }
.pager {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; justify-content: center;
}
.pager a, .pager span {
  min-width: 36px; padding: 8px 12px; text-align: center;
  border: 1px solid var(--line); color: var(--muted);
}
.pager .on, .pager a:hover { color: var(--gold); border-color: var(--gold); }

.friends {
  border-top: 1px solid var(--line);
  background: #100e0c; padding: 16px 0;
}
.friends .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.friends .lab { color: var(--muted); font-size: 0.85rem; margin-right: 4px; }
.friends a { color: var(--muted); font-size: 0.88rem; }
.friends a:hover { color: var(--gold); }

.site-footer {
  padding: 28px 0 40px; border-top: 1px solid rgba(212,175,55,0.12);
  background: #0a0908; color: var(--muted); font-size: 0.85rem;
}
.site-footer p { margin: 0 0 8px; max-width: 52rem; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 70px;
    flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line);
    padding: 10px; z-index: 60; box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .header-inner { position: relative; }
  .hero { padding: 36px 18px 32px; }
  .hero-ornament { display: none; }
  .match-teams { gap: 8px; }
  .team span { font-size: 0.9rem; }
  .pager-nav { grid-template-columns: 1fr; }
  .play-box .teams { gap: 8px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 24px); }
  .brand-text strong { font-size: 1.25rem; }
  .score { font-size: 1.05rem; min-width: 48px; }
  .team img { width: 30px; height: 30px; }
  .about, .faq, .page-head, .play-box, .article { padding: 16px; }
}
