/* ===== 91网网址导航 全局样式 ===== */

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

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #4ade80;
  --green-soft: #dcfce7;
  --green-bg: #f0fdf4;
  --gray: #f3f4f6;
  --gray-border: #e5e7eb;
  --text: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 12px rgba(34, 197, 94, 0.15);
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== 顶部 Logo + 搜索区 ===== */
.top-bar {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 22px 0 26px;
  color: var(--white);
}

.top-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.logo span {
  letter-spacing: 0.5px;
}

.search-wrap {
  flex: 1;
  min-width: 280px;
  max-width: 680px;
}

.search-engines {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.search-engines button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 14px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.search-engines button:hover,
.search-engines button.active {
  background: var(--white);
  color: var(--green);
}

.search-box {
  display: flex;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 20px;
  font-size: 15px;
  color: var(--text);
  background: transparent;
}

.search-box button {
  background: var(--white);
  border: none;
  color: var(--green);
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-left: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  align-items: center;
}

.top-links a {
  color: rgba(255, 255, 255, 0.9);
}

.top-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== 导航栏 ===== */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-list a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-list a:hover {
  color: var(--green);
  background: var(--green-bg);
}

.nav-list a.active {
  color: var(--green);
  font-weight: 600;
}

.nav-list a.active::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px 2px 0 0;
}

/* ===== 快捷入口圆形图标 ===== */
.quick-access {
  background: var(--white);
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-border);
}

.quick-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 84px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.quick-item:hover {
  transform: translateY(-3px);
}

.quick-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quick-item span {
  font-size: 12px;
  color: var(--text);
}

/* 圆形图标渐变变体 */
.grad-1 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.grad-2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.grad-3 { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.grad-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.grad-5 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.grad-6 { background: linear-gradient(135deg, #ec4899, #be185d); }
.grad-7 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.grad-8 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.grad-9 { background: linear-gradient(135deg, #f97316, #c2410c); }
.grad-10 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.grad-11 { background: linear-gradient(135deg, #84cc16, #4d7c0f); }
.grad-12 { background: linear-gradient(135deg, #e11d48, #9f1239); }

/* ===== 区块通用 ===== */
.section {
  padding: 28px 0;
}

.section-gray {
  background: var(--gray);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--green);
  border-radius: 2px;
}

.section-more {
  font-size: 13px;
  color: var(--text-light);
}

.section-more:hover {
  color: var(--green);
}

/* ===== 分类区块 ===== */
.category-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.category-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.category-block-title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

/* ===== 网站卡片网格 ===== */
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.site-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.2s;
  cursor: pointer;
}

.site-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.site-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.site-info {
  flex: 1;
  min-width: 0;
}

.site-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-desc {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 页面标题区 ===== */
.page-banner {
  background: linear-gradient(135deg, var(--green-bg) 0%, var(--white) 100%);
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-border);
}

.page-banner h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.page-banner p {
  color: var(--text-light);
  font-size: 14px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb span {
  margin: 0 6px;
  color: #d1d5db;
}

/* ===== 左侧分类树 ===== */
.directory-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: start;
}

.cat-tree {
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 70px;
}

.cat-tree-title {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 6px;
}

.cat-tree a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  border-left: 3px solid transparent;
}

.cat-tree a:hover,
.cat-tree a.active {
  background: var(--green-bg);
  color: var(--green);
  border-left-color: var(--green);
}

.cat-tree a .count {
  font-size: 12px;
  color: var(--text-light);
  background: var(--gray);
  padding: 1px 8px;
  border-radius: 10px;
}

.cat-tree a.active .count {
  background: var(--green);
  color: var(--white);
}

/* ===== 带访问按钮的网站卡片 ===== */
.site-card-full {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-card-full:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
}

.site-card-full-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-card-full .site-name {
  font-size: 15px;
}

.site-card-full .site-url {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.site-card-full .site-desc-full {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.visit-btn {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-soft);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
  transition: all 0.2s;
}

.visit-btn:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.site-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-tag {
  font-size: 11px;
  color: var(--text-light);
  background: var(--gray);
  padding: 1px 7px;
  border-radius: 3px;
}

/* ===== 排行榜 ===== */
.rank-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rank-row {
  display: grid;
  grid-template-columns: 50px 1fr 90px 100px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-border);
  gap: 12px;
  transition: background 0.2s;
}

.rank-row:last-child {
  border-bottom: none;
}

.rank-row:hover {
  background: var(--green-bg);
}

.rank-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-light);
  text-align: center;
}

.rank-num.top1 { color: #ef4444; }
.rank-num.top2 { color: #f97316; }
.rank-num.top3 { color: #f59e0b; }

.rank-site {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rank-site .site-name {
  font-size: 14px;
}

.rank-visits {
  font-size: 13px;
  color: var(--text-light);
  text-align: right;
}

.rank-cat {
  font-size: 12px;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 10px;
  border-radius: 10px;
  text-align: center;
  justify-self: end;
}

.rank-header {
  background: var(--gray);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
}

.rank-header:hover {
  background: var(--gray);
}

.rank-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--green);
}

.rank-trend.down {
  color: #ef4444;
}

/* ===== 分类大卡网格 ===== */
.cat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  opacity: 0;
  transition: opacity 0.2s;
}

.cat-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cat-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  flex-shrink: 0;
}

.cat-card-name {
  font-size: 18px;
  font-weight: 700;
}

.cat-card-count {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.cat-card-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.cat-card-sub {
  font-size: 12px;
  color: var(--text-light);
  background: var(--gray);
  padding: 3px 9px;
  border-radius: 4px;
}

.cat-card-sites {
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--gray-border);
  padding-top: 10px;
}

.cat-card-sites strong {
  color: var(--text);
}

.cat-card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  color: var(--green);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s;
}

.cat-card:hover .cat-card-arrow {
  opacity: 1;
}

/* ===== 表单 ===== */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-row label .required {
  color: #ef4444;
  margin-left: 3px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--white);
  color: var(--text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row .hint {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 5px;
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.btn-reset {
  background: var(--gray);
  color: var(--text-light);
  border: 1px solid var(--gray-border);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  margin-left: 10px;
}

.btn-reset:hover {
  background: var(--gray-border);
}

/* ===== 信息卡片 / 流程 ===== */
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card ul {
  padding-left: 0;
}

.info-card li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-border);
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-card li:last-child {
  border-bottom: none;
}

.info-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.info-card .reject-list li {
  color: #ef4444;
}

.info-card .reject-list li::before {
  content: "×";
  color: #ef4444;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.step-item {
  background: var(--green-bg);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 10px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.step-desc {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== 今日推荐 / 横向卡片 ===== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s;
  border-left: 4px solid var(--green);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
}

.feature-badge {
  display: inline-block;
  background: #fee2e2;
  color: #ef4444;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-badge.hot {
  background: #fef3c7;
  color: #d97706;
}

.feature-badge.new {
  background: var(--green-soft);
  color: var(--green-dark);
}

/* ===== 关于页 ===== */
.about-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.about-hero p {
  font-size: 16px;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}

.value-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-light);
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green-soft);
}

.timeline-item {
  position: relative;
  padding-bottom: 26px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-soft);
}

.timeline-year {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}

.timeline-content h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 13px;
  color: var(--text-light);
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 3px;
}

.team-role {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== 联系页 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-method {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 15px;
  margin-bottom: 3px;
}

.contact-method p {
  font-size: 13px;
  color: var(--text-light);
}

.contact-method .detail {
  font-size: 15px;
  color: var(--green);
  font-weight: 600;
  margin-top: 2px;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-q::before {
  content: "Q";
  background: var(--green);
  color: var(--white);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.faq-a {
  font-size: 13px;
  color: var(--text-light);
  padding-left: 30px;
  line-height: 1.7;
}

/* ===== 统计数字 ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== 页脚 ===== */
.footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 40px 0 0;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #374151;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  color: #9ca3af;
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: var(--green-light);
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

.footer-bottom a {
  color: #9ca3af;
  margin: 0 6px;
}

.footer-bottom a:hover {
  color: var(--green-light);
}

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

/* ===== 工具栏 / 筛选 ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}

.filter-bar .label {
  font-size: 13px;
  color: var(--text-light);
  margin-right: 4px;
}

.filter-chip {
  padding: 5px 14px;
  border-radius: 16px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ===== 提示横幅 ===== */
.notice-banner {
  background: var(--green-bg);
  border: 1px solid var(--green-soft);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--green-dark);
}

.notice-icon {
  width: 26px;
  height: 26px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .directory-layout {
    grid-template-columns: 1fr;
  }

  .cat-tree {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .popular-two-col {
    grid-template-columns: 1fr !important;
  }

  .submit-layout {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .top-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .top-links {
    justify-content: center;
  }

  .search-wrap {
    max-width: 100%;
  }

  .nav-list {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .nav-list a {
    padding: 12px 14px;
    white-space: nowrap;
  }

  .quick-item {
    width: 68px;
  }

  .quick-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .site-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 40px 1fr 80px;
    padding: 12px 14px;
  }

  .rank-cat {
    display: none;
  }

  .form-row-inline {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-banner h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 17px;
  }

  .cat-card-grid {
    grid-template-columns: 1fr;
  }
}
