* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0d0d0d;
  color: #d8d8d8;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  height: 64px;
  background: rgba(8, 8, 8, .96);
  border-bottom: 1px solid #26211a;
  position: relative;
  z-index: 20;
}
.header-inner { height: 64px; display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-name { font-size: 21px; font-weight: 800; color: #f2e3b3; letter-spacing: 1px; }
.main-nav { display: flex; gap: 38px; margin-left: 68px; flex: 1; }
.main-nav a { color: #c9c9c9; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #e8c46a; border-bottom-color: #d6a93b; }
.btn-download {
  display: inline-block;
  background: linear-gradient(#f7dc8c, #d7a93c);
  color: #241a05;
  border: 1px solid #f5e3a6;
  border-radius: 3px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.btn-download:hover { background: linear-gradient(#ffe9a5, #e7ba4c); }
.header-download { padding: 9px 22px; font-size: 14px; }

.hero { position: relative; height: 520px; overflow: hidden; background: #100d09; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero.webp");
  background-size: cover;
  background-position: center 38%;
  filter: saturate(.92);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.36) 100%),
              radial-gradient(ellipse at center, rgba(0,0,0,.12) 0%, rgba(0,0,0,.62) 100%);
}
.hero-inner { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero h1 {
  margin: 0 0 14px;
  font-size: 58px;
  line-height: 1.1;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 3px 0 #2a1605, 0 6px 18px rgba(0,0,0,.85);
}
.hero-sub { margin: 0 0 28px; color: #f0dfb8; font-size: 16px; letter-spacing: 1px; text-shadow: 0 2px 6px #000; }
.hero-download { padding: 14px 48px; font-size: 19px; border-radius: 3px; box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.hero-note { margin: 16px 0 0; color: #b9b0a0; font-size: 12px; text-shadow: 0 2px 4px #000; }

.news {
  background: radial-gradient(ellipse at 50% 0%, #1b1712 0%, #101010 55%, #0d0d0d 100%);
  border-top: 1px solid #2a2319;
  padding: 22px 0 48px;
}
.news-tabs { display: flex; gap: 44px; border-bottom: 1px solid #2a2a2a; margin-bottom: 4px; }
.news-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #a8a8a8;
  font-size: 15px;
  padding: 8px 12px 12px;
  cursor: pointer;
  font-family: inherit;
}
.news-tab:hover { color: #e6cf92; }
.news-tab.active { color: #f0d98a; border-bottom-color: #d6a93b; }
.news-tab.active::before { content: "◉ "; color: #e8a33a; }
.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid #232323;
}
.news-item:hover { background: rgba(214,169,59,.05); }
.news-dot { color: #8c6b27; font-size: 11px; }
.news-title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #d2d2d2; }
.news-item:hover .news-title { color: #f0d98a; }
.news-item time { color: #777; font-size: 12px; }

.about { background: #0d0d0d; padding: 56px 0 64px; border-top: 1px solid #1d1d1d; }
.about h2 { margin: 0 0 8px; color: #f0d98a; font-size: 24px; }
.about-lead { margin: 0 0 28px; color: #999; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: #141414; border: 1px solid #2a2a2a; border-top: 2px solid #8c6b27; padding: 18px 16px; }
.feature h3 { margin: 0 0 8px; color: #e8c46a; font-size: 16px; }
.feature p { margin: 0; color: #9a9a9a; font-size: 13px; }

.site-footer { background: #080808; border-top: 1px solid #202020; padding: 22px 0 28px; text-align: center; }
.site-footer p { margin: 4px 0; color: #666; font-size: 12px; }

@media (max-width: 760px) {
  .main-nav { display: none; }
  .hero { height: 430px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 13px; }
  .hero-download { padding: 12px 30px; font-size: 16px; }
  .news-tabs { gap: 16px; overflow-x: auto; }
  .news-tab { white-space: nowrap; font-size: 13px; }
  .news-item time { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
}
