/* ==========================================================================
   选机场网 (xuanjichang.top) - 赛博暗夜极客科技媒体标准样式库
   Pure Native CSS - 0 External Heavy Dependencies - Optimized for Speed & SEO
   ========================================================================== */

:root {
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-light: rgba(59, 130, 246, 0.15);
  --primary-border: rgba(59, 130, 246, 0.35);
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --success-border: rgba(16, 185, 129, 0.35);
  
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --warning-border: rgba(245, 158, 11, 0.35);
  
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --danger-border: rgba(239, 68, 68, 0.35);
  
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --bg-page: #070614;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-subtle: rgba(30, 41, 59, 0.65);
  --bg-hover: rgba(30, 41, 59, 0.9);
  
  --border-light: rgba(255, 255, 255, 0.09);
  --border-card: rgba(255, 255, 255, 0.14);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 16px -1px rgba(0, 0, 0, 0.5), 0 2px 8px -2px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 14px 28px -4px rgba(0, 0, 0, 0.6), 0 6px 12px -4px rgba(0, 0, 0, 0.45);
  
  --container-max: 1200px;
  --article-max: 820px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 75% 25%, rgba(168, 85, 247, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 75%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 65%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* 全屏动态背景画布 */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 0.95;
}

/* 链接与排版 */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
}

p {
  margin-bottom: 1rem;
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* 顶部导航 Header */
.site-header {
  background-color: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  text-decoration: none;
  color: var(--primary);
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.site-nav a:hover, .site-nav a.active {
  color: #60a5fa;
  background-color: var(--primary-light);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-trigger-btn {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
}

.search-trigger-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
  color: var(--text-main);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero Section */
.hero-section {
  background: transparent;
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 0 3rem 0;
  text-align: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: #60a5fa;
  border: 1px solid var(--primary-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.2);
}

.hero-title {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero-title .highlight {
  color: #60a5fa;
  text-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}

.hero-desc {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: rgba(30, 41, 59, 0.65);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* 徽章 Badge & 标签 Tag */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.badge-blue {
  background-color: var(--primary-light);
  color: #60a5fa;
  border: 1px solid var(--primary-border);
}

.badge-green {
  background-color: var(--success-bg);
  color: #34d399;
  border: 1px solid var(--success-border);
}

.badge-orange {
  background-color: var(--warning-bg);
  color: #fbbf24;
  border: 1px solid var(--warning-border);
}

.badge-gray {
  background-color: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid var(--border-light);
}

/* 快速答案 Section */
.quick-answer-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--primary-border);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.quick-answer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.quick-answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.quick-item {
  background: rgba(11, 15, 25, 0.65);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.quick-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #60a5fa;
}

.quick-item p {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* 通用板块与网格 */
.section-block {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.75rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.section-more-link {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 精选推荐卡片 (Cards) */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 1.5rem;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.airport-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.airport-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(59, 130, 246, 0.22);
  border-color: rgba(59, 130, 246, 0.5);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.airport-brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.airport-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.price-box {
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: #60a5fa;
}

.price-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1;
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.3);
}

.price-cycle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-features-list {
  list-style: none;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.875rem;
}

.card-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.card-features-list li .icon-check {
  color: var(--success);
  font-weight: bold;
}

.card-features-list li .icon-info {
  color: #60a5fa;
  font-weight: bold;
}

.card-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

.card-actions .btn {
  flex: 1;
}

/* 专题入口卡片 */
.category-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.category-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(59, 130, 246, 0.22);
  transform: translateY(-2px);
}

.cat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.cat-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.cat-footer {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* 表格与横向布局优化 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.data-table th, .data-table td {
  padding: 0.85rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table th {
  background-color: rgba(30, 41, 59, 0.85);
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.08);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* 文字并排与表格单元格优化 */
.table-nowrap, .nowrap {
  white-space: nowrap !important;
}

.table-brand-cell {
  white-space: nowrap !important;
  font-weight: 700;
}

.table-actions-cell {
  white-space: nowrap !important;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* 排行榜全宽专属容器与顶部横向切换导航 */
.ranking-container {
  padding: 2.5rem 0 4rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.ranking-nav-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.ranking-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ranking-tab:hover {
  border-color: var(--primary);
  color: #60a5fa;
  background: var(--primary-light);
}

.ranking-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.45);
}

.ranking-content-body {
  max-width: 960px;
  margin: 2.5rem auto 0 auto;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
}

.rank-1 { background-color: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.rank-2 { background-color: rgba(148, 163, 184, 0.2); color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.4); }
.rank-3 { background-color: rgba(234, 88, 12, 0.2); color: #fb923c; border: 1px solid rgba(234, 88, 12, 0.4); }
.rank-other { background-color: rgba(30, 41, 59, 0.6); color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.06); }

/* 排行榜专用卡片设计（替代横向滚动表格） */
.ranking-item-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ranking-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(59, 130, 246, 0.22);
  border-color: rgba(59, 130, 246, 0.5);
}

.ranking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.ranking-card-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ranking-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.ranking-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* 文章与正文布局 (Blog, Guide, Review) */
.article-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem 0;
}

.article-main {
  max-width: var(--article-max);
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 2.25rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.75rem 0;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--bg-subtle);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: var(--text-body);
}

.article-content code {
  background: var(--bg-subtle);
  color: #f87171;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* 文章上下篇与内链导航 (Post Navigation & Internal Linking) */
.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.pagination-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pagination-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(59, 130, 246, 0.2);
}

.pagination-item.next {
  text-align: right;
  align-items: flex-end;
}

.pagination-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pagination-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.pagination-item:hover .pagination-title {
  color: #93c5fd;
}

@media (max-width: 640px) {
  .article-pagination {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pagination-item.next {
    text-align: left;
    align-items: flex-start;
  }
}

/* 侧边栏 Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.sidebar-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.toc-list {
  list-style: none;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
}

.toc-list a:hover {
  color: #60a5fa;
}

/* 提示框 Callouts */
.callout {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  display: flex;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.callout-info {
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: #93c5fd;
}

.callout-warning {
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: #fde047;
}

.callout-success {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  color: #6ee7b7;
}

/* 面包屑 Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 1rem 0;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: var(--text-light);
}

/* FAQ 模块 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(15, 23, 42, 0.85);
  transition: background-color 0.15s ease;
}

.faq-question:hover {
  background-color: rgba(30, 41, 59, 0.9);
}

.faq-answer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
  color: var(--text-body);
  background-color: rgba(7, 10, 19, 0.7);
  line-height: 1.7;
}

/* 数据来源与核验规范盒子 */
.verified-notice {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0;
}

/* 页脚 Footer */
.site-footer {
  background-color: #04060b;
  color: #94a3b8;
  padding: 3.5rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 340px;
}

.footer-col h4 {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
}

.disclaimer-bar {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* 响应式断点适配 */
@media (max-width: 992px) {
  .article-container {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    order: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }
  
  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0b0f19;
    flex-direction: column;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.75rem;
  }
  
  .site-nav.open {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .cards-grid-3, .cards-grid-2 {
    grid-template-columns: 1fr;
  }

  .ranking-features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   联络我们按钮与专业模态弹窗组件
   ========================================================================== */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e879f9;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-contact:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: #e879f9;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(232, 121, 249, 0.35);
}

.contact-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 3, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-in-out;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-card {
  background: #0f172a;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(168, 85, 247, 0.2);
  max-width: 520px;
  width: 100%;
  padding: 1.85rem;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
}

.contact-modal-overlay.active .contact-modal-card {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.contact-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.contact-channel-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 0.9rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-channel-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-2px);
}

.badge-purple {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.contact-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid #38bdf8;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.contact-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
