:root {
  --bg: #0d1118;
  --panel: #161d29;
  --panel2: #1c2636;
  --gold: #c9a46a;
  --gold2: #e8d4a8;
  --text: #e8edf5;
  --muted: #9aa8bc;
  --line: rgba(201, 164, 106, 0.28);
  --danger: #c45c4a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: middle; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: #0a0e14;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.site-header {
  background: linear-gradient(180deg, #151c28 0%, #10151e 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold2);
  text-decoration: none;
}
.brand img { height: 42px; width: auto; }
.brand strong { display: block; font-size: 18px; letter-spacing: 1px; }
.brand span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }

.nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.nav a {
  color: var(--text);
  padding: 6px 2px;
  text-decoration: none;
  font-size: 15px;
}
.nav a:hover, .nav a.active { color: var(--gold); }

.hero {
  position: relative;
  min-height: 320px;
  background: #0a0e14 center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,16,.92) 0%, rgba(8,10,16,.55) 55%, rgba(8,10,16,.25) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: 56px 0 48px; }
.hero h1 { font-size: 34px; color: var(--gold2); margin-bottom: 10px; }
.hero p { max-width: 680px; color: #d7deea; margin-bottom: 18px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #d4b07a, #a57b3c);
  color: #1a1208 !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
}
.btn.ghost {
  background: transparent;
  color: var(--gold2) !important;
  border: 1px solid var(--gold);
}

.section { padding: 42px 0; }
.section h2 {
  font-size: 24px;
  color: var(--gold2);
  margin-bottom: 8px;
}
.lead { color: var(--muted); margin-bottom: 22px; }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.card h3 { color: var(--gold); font-size: 18px; margin-bottom: 8px; }
.card p, .card li { color: #cfd7e4; }
.muted { color: var(--muted); }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}
th, td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
th { background: #1e2838; color: var(--gold2); }
.price { color: #efc27a; font-weight: 700; }

.article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.article h1 { font-size: 26px; color: var(--gold2); margin-bottom: 8px; }
.article .meta { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.article p { margin: 12px 0; }
.article h2 { font-size: 18px; color: var(--gold); margin: 22px 0 8px; }
.article ol, .article ul { padding-left: 22px; margin: 8px 0 16px; }

.news-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}
.news-list a:hover { color: var(--gold); }
.news-list time { color: var(--muted); white-space: nowrap; }

.site-footer {
  background: #090c12;
  border-top: 1px solid var(--line);
  padding: 28px 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.site-footer h4 { color: var(--gold2); margin-bottom: 8px; }
.site-footer a { color: #b7c3d4; }
.health {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  text-align: center;
}
.health p { margin: 4px 0; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .site-footer .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .news-list a { flex-direction: column; gap: 4px; }
}
