/* 龙珠直播网 — 自然风 */
:root {
  --green-deep: #1e3d2f;
  --green: #2f6b4f;
  --green-mid: #4a8f6a;
  --green-soft: #7eb896;
  --leaf: #a8d5b5;
  --cream: #f4f7f2;
  --sand: #e8efe4;
  --bark: #3d4a3f;
  --muted: #6b7c70;
  --white: #ffffff;
  --line: rgba(46, 90, 64, 0.12);
  --shadow: 0 8px 28px rgba(30, 61, 47, 0.08);
  --radius: 14px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--bark);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(168, 213, 181, 0.35), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(126, 184, 150, 0.2), transparent 40%),
    linear-gradient(180deg, #eef5ee 0%, var(--cream) 40%, #f7faf6 100%);
  min-height: 100vh;
  line-height: 1.65;
}

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-deep); }

img { max-width: 100%; height: auto; vertical-align: middle; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-deep);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(47, 107, 79, 0.25);
}

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--bark);
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-deep);
}

/* Hero / sections */
.site-main { padding: 28px 0 48px; }

.hero {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(30, 61, 47, 0.92), rgba(47, 107, 79, 0.85)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='%23a8d5b5' fill-opacity='0.12' d='M80 8c18 22 28 40 28 56s-10 28-28 40c-18-12-28-24-28-40s10-34 28-56z'/%3E%3C/svg%3E");
  color: var(--white);
  padding: 42px 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.hero p {
  max-width: 560px;
  opacity: 0.92;
  font-size: 1rem;
}

.leaf-deco {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 180px;
  opacity: 0.25;
  pointer-events: none;
}

.section {
  margin-bottom: 32px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.section-head h2 {
  font-size: 1.25rem;
  color: var(--green-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-head h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(74, 143, 106, 0.2);
}

.section-head .more {
  font-size: 0.9rem;
  color: var(--muted);
}

/* League chips */
.league-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.league-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bark);
  box-shadow: 0 2px 8px rgba(30, 61, 47, 0.04);
  font-size: 0.9rem;
}

.league-chip:hover {
  border-color: var(--green-soft);
  color: var(--green);
}

.league-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Match list */
.match-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.match-row {
  display: grid;
  grid-template-columns: 140px 90px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.match-row:last-child { border-bottom: 0; }
.match-row:hover { background: var(--sand); }

.match-time {
  font-size: 0.88rem;
  color: var(--muted);
}

.match-league {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--green);
}

.match-league img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.match-teams {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 600;
}

.team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.team img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand);
}

.vs {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.score {
  color: var(--green-deep);
  font-weight: 700;
  min-width: 48px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-align: center;
  white-space: nowrap;
}

.badge-live {
  background: #ffe8e0;
  color: #c0392b;
}

.badge-upcoming {
  background: var(--sand);
  color: var(--green);
}

.badge-finished,
.badge-replay {
  background: #eef1ee;
  color: var(--muted);
}

/* Grid layout */
.layout-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.news-list { list-style: none; }

.news-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.news-list li:last-child { border-bottom: 0; }

.news-list a {
  color: var(--bark);
  display: block;
}

.news-list a:hover { color: var(--green); }

.news-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* FAQ / About */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item:last-child { border-bottom: 0; }

.faq-q {
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.faq-a { color: var(--muted); font-size: 0.95rem; }

.about-box h2 { margin-bottom: 12px; color: var(--green-deep); }
.about-box h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
  color: var(--green);
}
.about-box p, .about-box li {
  color: var(--muted);
  margin-bottom: 8px;
}
.about-box ul { padding-left: 1.2em; }

/* Article */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 12px 0 20px;
  padding: 12px;
  background: var(--sand);
  border-radius: 10px;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--bark);
}

.article-body p { margin-bottom: 1em; }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.article-nav a {
  max-width: 48%;
  font-size: 0.92rem;
}

/* Match detail */
.match-hero {
  text-align: center;
  padding: 28px 16px;
}

.match-hero .teams-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.match-hero .team-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.match-hero .team-big img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sand);
  object-fit: cover;
}

.match-hero .score-big {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
}

.player-box {
  background: #0f1f16;
  color: #cfe8d6;
  border-radius: var(--radius);
  padding: 48px 20px;
  text-align: center;
  margin-top: 18px;
}

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.82);
  padding: 36px 0 28px;
  margin-top: 20px;
}

.site-footer a { color: #b8dfc4; }
.site-footer a:hover { color: #fff; }

.footer-about { margin-bottom: 16px; font-size: 0.92rem; }

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.friend-label { opacity: 0.7; }

.copyright {
  font-size: 0.82rem;
  opacity: 0.65;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}

.page-title {
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 18px;
}

.empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 860px) {
  .layout-2 { grid-template-columns: 1fr; }
  .match-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 12px 4%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .site-header { position: relative; }
  .hero { padding: 28px 20px; }
  .article-nav a { max-width: 100%; }
}
