/* ============================================================
   ?????? ? ??????
   ============================================================ */
:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8edf6;
  --muted: #8a97ad;
  --muted-2: #5f6b80;
  --brand: #22d27a;
  --brand-2: #14b866;
  --brand-soft: rgba(34, 210, 122, 0.14);
  --gold: #ffd166;
  --red: #ff5d6c;
  --red-soft: rgba(255, 93, 108, 0.14);
  --blue: #5b9dff;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.85);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI",
    system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 210, 122, 0.13), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(91, 157, 255, 0.10), transparent 55%),
    linear-gradient(180deg, #070b14 0%, #060912 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
}
.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #0e9a57);
  box-shadow: 0 8px 22px -8px rgba(34, 210, 122, 0.8);
  font-size: 22px;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 2px;
  margin-top: -2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  padding: 9px 16px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: 0.18s;
}
.nav a:hover {
  color: var(--text);
  background: var(--panel-2);
}
.nav a.cta {
  color: #05130c;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px -12px rgba(34, 210, 122, 0.9);
}
.nav a.cta:hover {
  filter: brightness(1.06);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 64px 0 34px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(34, 210, 122, 0.3);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(34, 210, 122, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 210, 122, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 210, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 210, 122, 0); }
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), #7bffc4 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 16.5px;
  margin: 0 0 34px;
}

/* ---------------- Stats ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.stat {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 80px at 90% 0%, rgba(34, 210, 122, 0.16), transparent 70%);
  pointer-events: none;
}
.stat .num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.stat .num .unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}
.stat .label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.stat.accent .num {
  color: var(--brand);
}
.stat.gold .num {
  color: var(--gold);
}

/* ---------------- Section head ---------------- */
.section {
  padding: 44px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: 26px;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head h2::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(var(--brand), var(--brand-2));
}
.section-head .sub {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ---------------- Toolbar / filters ---------------- */
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: 0.18s;
}
.search-box input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.search-box .ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 16px;
}
.chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: 0.16s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--brand);
}
.chip.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------------- Post grid ---------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.22s, box-shadow 0.22s;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 210, 122, 0.4);
  box-shadow: var(--shadow);
}
.post-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0e1f2e, #143a2c);
}
.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-cover img {
  transform: scale(1.05);
}
.cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 44px;
  background:
    radial-gradient(120px 120px at 70% 30%, rgba(34, 210, 122, 0.35), transparent 70%),
    linear-gradient(135deg, #0d1b2a, #103a2c);
}
.date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
}
.post-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tag {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  border: 1px solid rgba(34, 210, 122, 0.2);
}
.post-title {
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}
.post-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.post-foot .matches-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}
.post-foot .go {
  color: var(--brand);
  font-weight: 700;
  transition: 0.16s;
}
.post-card:hover .post-foot .go {
  transform: translateX(3px);
}

/* ---------------- Empty / loading ---------------- */
.empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.empty .ico {
  font-size: 46px;
  margin-bottom: 14px;
  opacity: 0.6;
}
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.skeleton {
  height: 340px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ============================================================
   ?????
   ============================================================ */
.article {
  padding: 34px 0 60px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  transition: 0.16s;
}
.back-link:hover {
  color: var(--brand);
}
.article-cover {
  width: 100%;
  aspect-ratio: 24 / 9;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #0d1b2a, #103a2c);
  border: 1px solid var(--border);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-head {
  max-width: 820px;
  margin: 0 auto 8px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-meta .pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}
.article-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: 0.4px;
}
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.article-tags .tag {
  font-size: 12.5px;
  padding: 5px 13px;
}

/* rich content */
.content {
  max-width: 820px;
  margin: 30px auto 0;
  font-size: 16.5px;
  line-height: 1.9;
  color: #d6deec;
}
.content h1,
.content h2,
.content h3,
.content h4 {
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
  margin: 1.6em 0 0.6em;
  letter-spacing: 0.3px;
}
.content h2 {
  font-size: 24px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
}
.content h3 {
  font-size: 20px;
}
.content p {
  margin: 0 0 1.1em;
}
.content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content ul,
.content ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.content li {
  margin: 0.4em 0;
}
.content img {
  border-radius: 14px;
  margin: 1.4em 0;
  border: 1px solid var(--border);
}
.content blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  color: var(--text);
}
.content strong {
  color: #fff;
}
.content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
}
.content th,
.content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.content th {
  background: var(--panel-2);
}

/* ---------------- Match cards ---------------- */
.matches-section {
  max-width: 820px;
  margin: 46px auto 0;
}
.matches-section .ms-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}
.matches-section .ms-head::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(var(--brand), var(--brand-2));
}
.match-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.match-card {
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px 22px;
  transition: border-color 0.18s;
}
.match-card:hover {
  border-color: var(--border-strong);
}
.match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.league-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 8px;
  background: rgba(91, 157, 255, 0.14);
  color: var(--blue);
  border: 1px solid rgba(91, 157, 255, 0.28);
}
.match-time {
  color: var(--muted);
  font-size: 12.5px;
}
.match-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.teams {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 800;
  flex: 1;
  min-width: 200px;
}
.teams .vs {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--panel-2);
}
.pick-box {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pick {
  text-align: right;
}
.pick .lab {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 2px;
}
.pick .val {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
}
.odds {
  text-align: center;
  padding: 6px 14px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--border);
}
.odds .lab {
  font-size: 11px;
  color: var(--muted);
}
.odds .val {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
}
.confidence {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
}
.confidence .star {
  color: var(--gold);
}
.confidence .star.off {
  color: var(--muted-2);
}
.match-bottom {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.match-analysis {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
  min-width: 220px;
}
.result-badge {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.result-hit {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(34, 210, 122, 0.4);
}
.result-miss {
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid rgba(255, 93, 108, 0.35);
}
.result-pending {
  background: var(--panel-2);
  color: var(--muted);
  border: 1px solid var(--border-strong);
}

/* ---------------- Disclaimer + footer ---------------- */
.disclaimer {
  max-width: 820px;
  margin: 44px auto 0;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.22);
  color: #d9c690;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner .brand {
  font-size: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
}

/* ---------------- Utilities ---------------- */
.fade-in {
  animation: fadeIn 0.5s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.stagger > * {
  animation: fadeIn 0.5s ease both;
}
.stagger > *:nth-child(1) { animation-delay: 0.02s; }
.stagger > *:nth-child(2) { animation-delay: 0.06s; }
.stagger > *:nth-child(3) { animation-delay: 0.1s; }
.stagger > *:nth-child(4) { animation-delay: 0.14s; }
.stagger > *:nth-child(5) { animation-delay: 0.18s; }
.stagger > *:nth-child(6) { animation-delay: 0.22s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .post-grid,
  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 40px 0 24px; }
  .post-grid,
  .skeleton-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat { padding: 16px; }
  .stat .num { font-size: 24px; }
  .article-cover { aspect-ratio: 16 / 9; }
  .match-main { align-items: flex-start; }
  .teams { font-size: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
