/* 主流博彩 - 编辑型杂志风格 */
:root {
  --ink: #16231c;
  --deep: #1f3d2b;
  --deep-2: #2c5239;
  --gold: #c9a227;
  --gold-soft: #e6c86a;
  --paper: #f6f3ea;
  --paper-2: #efe9d8;
  --line: #d8d2bd;
  --muted: #6b746a;
  --white: #fff;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(22, 35, 28, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---------- 页头 ---------- */
.site-header {
  background: var(--deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-soft);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #e7ece7;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.98rem;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gold-soft); background: rgba(255,255,255,0.06); }
.main-nav a[aria-current="page"] {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--deep);
  color: #cdd6cd;
  margin-top: 60px;
  padding: 44px 20px 30px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.footer-inner p { margin: 6px 0; font-size: 0.92rem; }
.footer-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-nav a { color: #dfe7df; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-beian { font-size: 0.82rem; color: #8f9c8f; }
.footer-copy { font-size: 0.85rem; color: #a8b4a8; }

/* ---------- 布局通用 ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.page-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-2) 100%);
  color: var(--white);
  padding: 48px 20px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin: 0 0 10px;
  color: var(--gold-soft);
}
.page-hero p { margin: 0; color: #dbe6db; max-width: 760px; }
.crumb { color: #9fae9f; font-size: 0.9rem; margin-bottom: 12px; }
.crumb a { color: #cfe0cf; }

/* ---------- 首页 ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}
.hero-split .copy h1 {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--gold-soft);
}
.hero-split .copy p { font-size: 1.05rem; margin: 0 0 20px; }
.hero-split .hero-img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover { background: var(--gold-soft); color: var(--ink); }
.btn-outline {
  background: none;
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 12px 24px;
  border-radius: 8px;
}
.btn-outline:hover { background: rgba(201,162,39,0.15); color: var(--white); }

.section { padding: 52px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 3px solid var(--deep);
  margin-bottom: 24px;
  padding-bottom: 10px;
}
.section-head h2 { font-family: var(--serif); font-size: 1.6rem; margin: 0; color: var(--deep); }
.section-head a { color: var(--muted); font-size: 0.92rem; }

/* 时间线风格列表（首页 / 栏目） */
.timeline {
  border-left: 3px solid var(--deep);
  margin: 0;
  padding: 0 0 0 24px;
  display: grid;
  gap: 22px;
}
.timeline-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--paper);
}
.timeline-item .meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.timeline-item h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.2rem; }
.timeline-item h3 a { color: var(--ink); }
.timeline-item h3 a:hover { color: var(--gold); }
.timeline-item p { margin: 0 0 10px; color: var(--muted); }
.timeline-item .cat-tag {
  display: inline-block;
  background: var(--deep);
  color: var(--gold-soft);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
}

/* 首页双栏特色 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card img { width: 100%; height: 190px; object-fit: cover; }
.feature-card .fc-body { padding: 18px; }
.feature-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* 栏目封面区 */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.cat-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card .cc-label {
  position: relative;
  background: linear-gradient(0deg, rgba(31,61,43,0.9), rgba(31,61,43,0.2));
  width: 100%;
  padding: 18px;
  color: var(--white);
}
.cat-card .cc-label h3 { margin: 0 0 4px; font-family: var(--serif); color: var(--gold-soft); }
.cat-card .cc-label span { font-size: 0.9rem; color: #e0e7e0; }

/* ---------- 文章页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}
.article-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 34px;
  box-shadow: var(--shadow);
}
.article-main .art-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.article-main h1 { font-family: var(--serif); font-size: 2rem; margin: 0 0 14px; color: var(--deep); }
.article-main .art-img { border-radius: 10px; margin: 8px 0 18px; }
.article-main h2 { font-family: var(--serif); font-size: 1.45rem; color: var(--deep); margin: 26px 0 10px; border-left: 4px solid var(--gold); padding-left: 12px; }
.article-main h3 { font-size: 1.15rem; color: var(--deep-2); margin: 20px 0 8px; }
.article-main p { margin: 0 0 14px; }
.article-main ul, .article-main ol { padding-left: 22px; margin: 0 0 14px; }
.article-main li { margin-bottom: 6px; }
.article-main blockquote {
  border-left: 4px solid var(--gold);
  background: var(--paper-2);
  margin: 18px 0;
  padding: 12px 18px;
  color: var(--muted);
}
.article-main table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-main th, .article-main td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-main th { background: var(--deep); color: var(--gold-soft); }

/* 侧栏 */
.aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.aside h2 { font-family: var(--serif); font-size: 1.2rem; color: var(--deep); border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin: 0 0 14px; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.related-list li a { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.related-list li a:hover { color: var(--gold); }
.related-list img { width: 64px; height: 52px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-list span { font-size: 0.92rem; line-height: 1.4; }

/* ---------- 关于/联系 ---------- */
.content-page { max-width: 860px; margin: 0 auto; padding: 40px 20px; }
.content-page h1 { font-family: var(--serif); color: var(--deep); }
.content-page section { margin-bottom: 28px; }
.content-page h2 { font-family: var(--serif); color: var(--deep); border-left: 4px solid var(--gold); padding-left: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-split, .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--deep);
    padding: 12px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .hero-split .copy h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .article-main { padding: 22px; }
  .section-head h2 { font-size: 1.3rem; }
}
