/* 九侯行研 — 深蓝金调 · 简约大方 */

* { margin:0; padding:0; box-sizing:border-box; }

:root {
  --ink:       #1a2332;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --bg:        #f5f7fa;
  --accent:    #3b82f6;
  --accent-h:  #2563eb;
  --gold:      #c9a96e;
  --gold-light:#e8d5a3;
  --card:      #ffffff;
  --radius:   12px;
  --deep-bg:   #0d1520;
  --deep-mid:  #132238;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

/* ===== 顶部导航 ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0; z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 40px; width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform .25s ease;
}
.logo:hover .logo-img { transform: scale(1.04); }
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 2px;
  white-space: nowrap;
}
.site-nav { display: flex; gap: 6px; }
.nav-link {
  padding: 7px 18px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .22s;
}
.nav-link:hover, .nav-link.active {
  background: linear-gradient(135deg, var(--deep-bg), var(--deep-mid));
  color: #fff;
}

/* ===== 英雄区 —— 与logo深蓝金调一致 ===== */
.hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,169,110,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,.06) 0%, transparent 50%),
    linear-gradient(165deg, #0a1220 0%, #0f1f35 45%, #142a4a 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px 60px;
  position: relative;
  overflow: hidden;
}
/* 背景装饰纹理 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 80%, rgba(201,169,110,.05) 0%, transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(59,130,246,.05) 0%, transparent 25%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
}
/* 品牌横排：左logo + 右标题 */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
}
.hero-logo-img {
  width: 90px; height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.45));
  animation: heroLogoIn .8s ease-out;
  border-radius: 10px;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateX(-12px) scale(.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-title-block {
  text-align: left;
  animation: heroTitleIn .8s ease-out .1s both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero h1 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 8px;
  background: linear-gradient(to right, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 14.5px;
  opacity: .65;
  letter-spacing: 2px;
  margin: 0;
}
.search-wrap {
  max-width: 520px;
  margin: 32px auto 0;
  display: flex;
  background: rgba(255,255,255,.95);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.search-wrap input {
  flex: 1; border: none;
  padding: 14px 26px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
}
.search-wrap input::placeholder { color: #94a3b8; }
.search-wrap button {
  border: none;
  background: linear-gradient(135deg, var(--gold), #b8944f);
  color: #1a1209;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
  letter-spacing: 1px;
}
.search-wrap button:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 2px 12px rgba(201,169,110,.35);
}

/* ===== 内容区 ===== */
.container {
  max-width: 1100px; margin: 0 auto; padding: 48px 24px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}
.section-head h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--gold), var(--accent));
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
}

/* ===== 分类卡片 ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.cat-card {
  background: var(--card);
  border: none;
  border-radius: 14px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 6px 24px rgba(0,0,0,.05);
}
.cat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 48px rgba(13,21,32,.14);
}

.cat-card-top {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  position: relative;
  overflow: hidden;
}
.cat-card-top::after {
  content: '';
  position: absolute;
  top: -24px; right: -12px;
  width: 90px; height: 90px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.cat-card-icon {
  font-size: 30px;
  margin-right: 14px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.cat-card-top h3 {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .5px;
}

.cat-card-body {
  padding: 18px 22px 22px;
}
.cat-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.cat-tag {
  font-size: 12px;
  color: var(--muted);
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all .2s;
  white-space: nowrap;
}
.cat-tag:hover { background: #e2e8f0; }
.cat-tag .num { color: var(--accent); font-weight: 600; margin-left: 3px; }

.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.cat-total { font-size: 13px; color: var(--muted); }
.cat-total strong { color: var(--ink); font-weight: 600; }
.cat-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  transition: all .25s;
  flex-shrink: 0;
}
.cat-card:hover .cat-arrow {
  background: linear-gradient(135deg, var(--gold), #b8944f);
  color: #1a1209;
  box-shadow: 0 2px 8px rgba(201,169,110,.3);
}

/* ===== 分类详情页 ===== */
.cat-hero {
  background: linear-gradient(135deg, var(--deep-bg), var(--deep-mid));
  border-bottom: none;
  padding: 44px 0 36px;
  color: #fff;
}
.cat-hero-inner { max-width: 1100px; margin:0 auto; padding: 0 24px; }
.breadcrumb {
  font-size: 13px; opacity: .55; margin-bottom: 12px;
  letter-spacing: .5px;
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; opacity: .8; }
.cat-hero h1 {
  font-size: 28px; font-weight: 600;
  letter-spacing: 2px;
}
.cat-hero .cat-stats { opacity: .5; font-size: 14px; margin-top: 8px; }

.sub-section { margin-bottom: 36px; }
.sub-section h3 {
  font-size: 17px; font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 14px;
  color: var(--ink);
}

.report-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .22s;
  text-decoration: none;
  color: inherit;
}
.report-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,169,110,.12);
  transform: translateX(4px);
}
.report-card .r-name { font-size: 15px; font-weight: 500; color: var(--ink); }
.report-card .r-date { font-size: 13px; color: var(--muted); flex-shrink:0; margin-left:16px; }
.report-card .r-arrow { color: var(--gold); margin-left: 12px; font-size: 18px; flex-shrink:0; }

/* 空状态 */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .icon { font-size: 48px; margin-bottom: 12px; }
.empty p { font-size: 15px; }

/* ===== 搜索结果 ===== */
.result-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  display: flex; justify-content: space-between; align-items: center;
  transition: all .22s;
}
.result-item:hover { border-color: var(--gold); }
.result-info h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.result-info .result-meta { font-size: 13px; color: var(--muted); }
.result-info .result-meta span { margin-right: 12px; }
.btn-open {
  background: linear-gradient(135deg, var(--gold), #b8944f);
  color: #1a1209;
  border: none;
  padding: 7px 20px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: all .25s;
}
.btn-open:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 2px 10px rgba(201,169,110,.3);
}

.highlight { background: #fef08a; padding: 0 2px; border-radius: 2px; }

.btn-link {
  background: none; border: none;
  color: var(--gold); cursor: pointer;
  font-size: 14px; font-family: inherit;
  font-weight: 500;
}
.btn-link:hover { text-decoration: underline; }

.site-footer {
  text-align: center;
  padding: 36px 24px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  letter-spacing: 1px;
}

.footer-icp {
  margin-top: 8px;
  font-size: 12px;
}

.footer-icp a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-icp a:hover {
  color: var(--gold, #c8a25a);
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .hero { padding: 44px 16px 40px; }
  .hero-brand { gap: 18px; }
  .hero-logo-img { width: 68px; border-radius: 8px; }
  .hero h1 { font-size: 26px; letter-spacing: 4px; }
  .hero-desc { font-size: 13px; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .header-inner { height: 54px; }
  .logo-img { height: 34px; }
  .logo-text { font-size: 15px; letter-spacing: 1px; }
  .cat-card-top { height: 64px; padding: 0 16px; }
  .cat-card-icon { font-size: 24px; margin-right: 10px; }
  .cat-card-top h3 { font-size: 17px; }
  .cat-card-body { padding: 14px 16px 18px; }
  .nav-link { padding: 6px 12px; font-size: 13px; }
}
