:root {
  color-scheme: dark;
  --bg: #101114;
  --bg-soft: #16181d;
  --panel: #181b20;
  --panel-2: #1d2128;
  --text: #f3efe7;
  --muted: #c8c0b2;
  --line: rgba(214, 167, 94, 0.24);
  --gold: #d4a45a;
  --gold-2: #e4bc74;
  --blue: #23477f;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: PingFang SC, Microsoft YaHei, system-ui, sans-serif; }
body { line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(16, 17, 20, 0.92);
  color: var(--text);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.topbar-inner {
  width: min(1380px, calc(100% - 40px));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  color: var(--text);
}

.site-brand strong {
  display: block;
  font-family: STSong, Songti SC, SimSun, serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  color: #f6efe2;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 188, 116, 0.74);
  border-radius: 50%;
  color: var(--gold-2);
  background: rgba(212, 164, 90, 0.08);
  position: relative;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(212, 164, 90, 0.18);
}

.brand-logo::before,
.brand-logo::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(228, 188, 116, 0.44);
  border-radius: 50%;
}

.brand-logo::after {
  inset: auto 9px 7px;
  height: 2px;
  border: 0;
  background: rgba(228, 188, 116, 0.82);
  border-radius: 2px;
}

.brand-logo span {
  font-family: STSong, Songti SC, SimSun, serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-toggle {
  appearance: none;
  border: 1px solid rgba(214, 167, 94, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  min-width: 82px;
  height: 40px;
  border-radius: 8px;
  display: none;
  position: relative;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.nav-toggle:hover {
  border-color: rgba(228, 188, 116, 0.52);
  background: rgba(212, 164, 90, 0.08);
}

.nav-toggle-text {
  color: var(--gold-2);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  display: block;
  position: relative;
  width: 17px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before { transform: translateY(-5px); }
.nav-toggle-icon::after { transform: translateY(5px); }
body.nav-open .nav-toggle-icon { background: transparent; }
body.nav-open .nav-toggle-icon::before { transform: translateY(0) rotate(45deg); }
body.nav-open .nav-toggle-icon::after { transform: translateY(0) rotate(-45deg); }

.topbar .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
}

.topbar a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.topbar a.active,
.topbar a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(212, 164, 90, 0.08);
}

.hero {
  padding: 34px 0 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(212, 164, 90, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(360px, 0.78fr);
  gap: 34px;
  align-items: end;
}

.hero-with-image .hero-grid {
  min-height: min(760px, calc(100vh - 74px));
}

.hero:not(.hero-with-image) {
  padding: 68px 0 54px;
}

.hero:not(.hero-with-image) .hero-grid {
  display: block;
  min-height: auto;
}

.hero:not(.hero-with-image) .hero-copy {
  max-width: 780px;
}

.hero-with-image .wrap {
  width: min(1180px, calc(100% - 48px));
}

.hero-with-image .hero-copy {
  align-self: center;
  padding: 16px 0 82px;
  max-width: 650px;
}

.hero-jindao {
  padding: 0;
}

.hero-jindao .hero-grid {
  min-height: auto;
  align-items: start;
  grid-template-columns: minmax(420px, 0.9fr) minmax(500px, 1fr);
  gap: 20px;
  padding: 36px 0 42px;
}

.hero-jindao .hero-copy {
  align-self: start;
  padding: 0;
}

.kicker {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: 0; }
h1 { font-size: 48px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; color: var(--muted); }

.lead { font-size: 17px; color: #e8e1d6; max-width: 42rem; }
.hero-note { font-size: 14px; color: #d5d0c8; margin-top: 16px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 8px; text-decoration: none;
  font-size: 14px; border: 1px solid var(--line);
}
.button.primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #16140f; font-weight: 700; }
.button.ghost { background: rgba(255,255,255,0.02); color: var(--text); }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 156px;
  display: grid;
  gap: 8px;
}

.floating-actions a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(214, 167, 94, 0.26);
  border-radius: 8px;
  background: rgba(16, 17, 20, 0.92);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

.floating-actions a:first-child {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #16140f;
  font-weight: 700;
}

.hero-figure {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
  justify-self: end;
  align-self: end;
  position: relative;
  isolation: isolate;
}
.hero-figure img {
  width: 100%;
  max-height: min(790px, calc(100vh - 94px));
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.42));
}

.hero-figure-frame {
  width: 100%;
  max-width: 660px;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.015);
  border: 1px solid rgba(214, 167, 94, 0.20);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.hero-figure-frame img {
  max-height: none;
  border-radius: 12px;
  background: #f7f2e8;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.hero-figure-jindao {
  align-self: start;
  max-width: 600px;
  margin-top: 0;
  padding: 10px;
  transform: translateX(-44px);
}

.hero-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 26px;
  max-width: 720px;
}

.hero-focus span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  margin-right: 2px;
  border-left: 4px solid var(--gold);
  padding-left: 10px;
  line-height: 1.2;
}

.hero-focus a {
  color: #e8e1d6;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 11px;
  border: 1px solid rgba(214, 167, 94, 0.24);
  border-radius: 8px;
  background: rgba(212, 164, 90, 0.055);
}

.hero-focus a.primary {
  color: #16140f;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: rgba(228, 188, 116, 0.82);
  font-size: 18px;
  font-weight: 800;
  padding: 11px 15px;
}

.hero-focus a.secondary {
  color: var(--text);
  background: rgba(212, 164, 90, 0.12);
  border-color: rgba(214, 167, 94, 0.44);
  font-size: 17px;
  font-weight: 760;
  padding: 10px 14px;
}

.hero-focus a.minor {
  color: #d8d0c4;
  font-size: 14px;
}

.section { padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.section:nth-of-type(even) { background: rgba(255,255,255,0.01); }

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
}

.panel p, .panel li { color: var(--muted); }
.panel a { color: var(--text); text-decoration-color: rgba(212,164,90,0.6); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-intro {
  max-width: 460px;
  margin-bottom: 0;
}

.grid { display: grid; gap: 14px; }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-list-single { grid-template-columns: minmax(0, 760px); }

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card-featured {
  background:
    radial-gradient(circle at top right, rgba(212, 164, 90, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

.article-meta {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.article-tags span {
  font-size: 12px;
  color: #ead8ba;
  border: 1px solid rgba(214, 167, 94, 0.24);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(212, 164, 90, 0.08);
}

.article-link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  text-decoration: none;
}

.article-detail {
  max-width: 820px;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-detail-meta a {
  color: var(--gold-2);
  text-decoration: none;
}

.article-detail-meta span {
  font-size: 13px;
  color: #ead8ba;
  border: 1px solid rgba(214, 167, 94, 0.24);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(212, 164, 90, 0.08);
}

.article-detail h2 {
  margin-top: 28px;
}

.article-steps {
  margin: 0;
  padding-left: 22px;
}

.article-steps li {
  margin-bottom: 10px;
  color: var(--muted);
}

.article-cta {
  margin-top: 30px;
}

.article-source {
  margin-bottom: 28px;
}

.trust-list, .bullet-list { margin: 0; padding-left: 18px; }
.trust-list li, .bullet-list li { margin-bottom: 8px; color: var(--muted); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stat {
  padding: 16px; border-radius: 8px; background: rgba(35,71,127,0.10);
  border: 1px solid rgba(35,71,127,0.28);
}
.stat strong { display: block; font-size: 30px; color: var(--gold-2); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }

.cta-band {
  background: linear-gradient(180deg, rgba(212,164,90,0.09), rgba(255,255,255,0.02));
}

.faq-search {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0 0;
}
.faq-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #13151a;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
}
.faq-search button {
  border: 1px solid var(--line);
  background: var(--gold);
  color: #17140f;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  margin: 10px 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
}
.chev { color: var(--gold); }

.footer {
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.foot-links { display: flex; flex-wrap: wrap; gap: 12px; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--gold-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.qr-box {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(212,164,90,0.6);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(212,164,90,0.04);
  padding: 18px;
}

.small { font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  h1 { font-size: 38px; }
  .hero-grid, .contact-grid, .cards, .three, .four, .stat-row, .article-list { grid-template-columns: 1fr; }
  .hero-figure { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-figure-jindao { transform: none; }
  .hero-focus {
    max-width: none;
  }
  .section-heading {
    display: block;
  }
  .section-intro {
    max-width: none;
    margin-top: 10px;
  }
  .topbar-inner { min-height: 64px; width: min(100% - 32px, 1120px); }
  .site-brand strong { font-size: 26px; }
  .brand-logo { width: 38px; height: 38px; }
  .nav-toggle { display: inline-flex; }
  .topbar .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(214, 167, 94, 0.22);
    border-radius: 12px;
    background: rgba(16, 17, 20, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }
  body.nav-open .topbar .nav { display: grid; }
  .topbar .nav::-webkit-scrollbar { display: none; }
  .topbar a {
    flex: 0 0 auto;
    color: var(--muted);
    border-color: rgba(214, 167, 94, 0.16);
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    min-height: 42px;
  }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1120px); }
  body { line-height: 1.65; }
  .topbar { background: rgba(16, 17, 20, 0.96); }
  .topbar-inner { width: min(100% - 24px, 1120px); }
  .site-brand { gap: 9px; }
  .site-brand strong { font-size: 23px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-logo span { font-size: 18px; }
  .nav-toggle {
    min-width: 76px;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
  .topbar .nav {
    grid-template-columns: 1fr;
    gap: 8px;
    left: 12px;
    right: 12px;
    padding: 10px;
  }
  .topbar a {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-color: rgba(214, 167, 94, 0.16);
    background: rgba(255,255,255,0.02);
    font-size: 15px;
  }
  .topbar a.active {
    background: rgba(212, 164, 90, 0.16);
    border-color: rgba(212, 164, 90, 0.32);
  }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .hero { padding: 18px 0 20px; }
  .hero:not(.hero-with-image) { padding: 34px 0 30px; }
  .hero-grid { gap: 18px; }
  .lead { font-size: 16px; }
  .button { width: 100%; min-height: 44px; padding: 12px 14px; }
  .hero-figure img {
    max-height: none;
    object-position: center bottom;
  }
  .hero-focus { gap: 7px; margin-top: 18px; }
  .hero-focus span { width: 100%; }
  .hero-focus a { font-size: 13px; padding: 8px 9px; }
  .hero-focus a.primary,
  .hero-focus a.secondary {
    width: 100%;
    font-size: 16px;
    padding: 11px 12px;
  }
  .section { padding: 26px 0; }
  .panel { padding: 14px; background: rgba(255,255,255,0.025); }
  .panel + .panel { margin-top: 0; }
  .faq-search { display: grid; grid-template-columns: 1fr; }
  .faq-search input, .faq-search button { min-height: 44px; }
  .faq-item summary { padding: 13px 14px; font-size: 15px; align-items: flex-start; }
  .faq-answer { padding: 0 14px 14px; }
  .qr-box { min-height: 220px; }
  .footer { padding: 20px 0 28px; }
  .footer-grid { display: grid; gap: 14px; }
  .foot-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .foot-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(214, 167, 94, 0.16);
    border-radius: 8px;
  }
  .floating-actions {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(16, 17, 20, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .floating-actions a {
    min-height: 42px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(214, 167, 94, 0.16);
    font-size: 13px;
  }
  .floating-actions a:first-child {
    border-radius: 8px;
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    margin-right: 8px;
  }
  .floating-actions a:last-child { border-right: 0; }
  body { padding-bottom: 72px; }
}
