/* ==========================================================================
   自由猫 (FreeCat Network - freecatnet.cyou)
   【冷战密级档案风 (Classified Redacted Archive)】
   ========================================================================== */

:root {
  /* 机密档案色调 - 沉稳炭黑、冷灰纸本与防伪朱红 */
  --bg-dark: #0b0d10;
  --bg-surface: #12151b;
  --bg-card: #181c25;
  --bg-card-hover: #1f2430;
  --bg-code: #0a0c0f;

  --border-line: #2e3444;
  --border-active: #d93838;

  --stamp-red: #dc2626;
  --stamp-red-bg: rgba(220, 38, 38, 0.12);
  --stamp-gold: #d97706;
  
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-green: #4ade80;
  --accent-amber: #f59e0b;

  --font-mono: 'Share Tech Mono', 'Courier Prime', 'JetBrains Mono', 'Courier New', monospace;
  --font-sans: 'Noto Sans SC', sans-serif;

  --shadow-archive: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* 基础重置 - 绝对直角 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* 强制绝对直角 */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-mono);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: var(--bg-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 密级网格与扫描线背景 overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(
    rgba(18, 21, 27, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* 自定义尾翼 Canvas 光标 */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* 顶部机密紧急闪烁条 */
.top-directive-bar {
  background: #1e0808;
  border-bottom: 2px solid var(--stamp-red);
  color: var(--stamp-red);
  font-size: 0.82rem;
  letter-spacing: 1px;
  padding: 6px 0;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
}

.top-directive-bar span {
  display: inline-block;
  animation: blinkFast 1.8s infinite;
}

@keyframes blinkFast {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Header 导航 */
.site-header {
  background: rgba(18, 21, 27, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-line);
  position: sticky;
  top: 0;
  z-index: 90;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-badge {
  background: var(--stamp-red);
  color: #fff;
  font-weight: 900;
  padding: 2px 8px;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.logo-sub {
  color: var(--stamp-red);
  font-size: 0.75rem;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 4px 8px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--text-primary);
  border-bottom: 2px solid var(--stamp-red);
}

.btn-header-cta {
  background: var(--stamp-red);
  color: #fff;
  border: 1px solid #ff4d4d;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  background: #b91c1c;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
  transform: translateY(-1px);
}

/* 红色绝密印章通用组件 */
.stamp-mark {
  display: inline-block;
  border: 2px dashed var(--stamp-red);
  color: var(--stamp-red);
  background: var(--stamp-red-bg);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(-2deg);
  user-select: none;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.2);
}

.stamp-mark.declassified {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(74, 222, 128, 0.1);
  transform: rotate(2deg);
}

/* 可悬停刮开的涂黑遮罩 (Redacted Text) 效果 */
.redacted {
  background: #000;
  color: #000;
  padding: 1px 6px;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
  cursor: help;
  border: 1px solid #1a1a1a;
}

.redacted::after {
  content: "[密级遮蔽 · 鼠标悬停解密]";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #555;
  font-size: 0.72rem;
  pointer-events: none;
  white-space: nowrap;
}

.redacted:hover {
  background: #0a192f;
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.redacted:hover::after {
  display: none;
}

/* Hero 机密主档案区 */
.hero-section {
  padding: 80px 0 60px 0;
  border-bottom: 1px solid var(--border-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-dossier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-top: 4px solid var(--stamp-red);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-archive);
}

.dossier-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-line);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.file-number {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-title .highlight {
  color: var(--stamp-red);
  background: rgba(220, 38, 38, 0.1);
  padding: 2px 6px;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
  background: var(--bg-card);
  padding: 16px;
  border: 1px solid var(--border-line);
}

.metric-item {
  text-align: center;
}

.metric-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-green);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-lg {
  background: var(--stamp-red);
  color: #fff;
  border: 1px solid #ff4d4d;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.35);
}

.btn-primary-lg:hover {
  background: #b91c1c;
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.6);
  transform: translateY(-2px);
}

.btn-secondary-lg {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-line);
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary-lg:hover {
  background: var(--bg-card);
  border-color: var(--text-secondary);
}

/* 终端模拟面板 */
.terminal-panel {
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-archive);
}

.terminal-header {
  background: #14171e;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-line);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #333;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--accent-green);
}

.terminal-line {
  margin-bottom: 8px;
}

.terminal-line .cmd { color: var(--accent-cyan); }
.terminal-line .status-ok { color: var(--accent-green); }
.terminal-line .val { color: var(--text-primary); }

/* 通用 Section 标题 */
.section-wrapper {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-line);
}

.section-header-block {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-tag {
  color: var(--stamp-red);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 700;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* 核心优势 Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 30px;
  position: relative;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--stamp-red);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.feature-code {
  font-size: 0.8rem;
  color: var(--stamp-red);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 资费套餐 Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.price-card.featured {
  border: 2px solid var(--stamp-red);
  background: #1b1618;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.25);
}

.price-card-header {
  margin-bottom: 24px;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0;
}

.price-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-green);
}

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

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px dashed #282f3f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li::before {
  content: "✦";
  color: var(--stamp-red);
  font-size: 0.8rem;
}

.btn-price-act {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-line);
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.price-card.featured .btn-price-act {
  background: var(--stamp-red);
  color: #fff;
  border-color: #ff4d4d;
}

.btn-price-act:hover {
  background: var(--stamp-red);
  color: #fff;
  border-color: var(--stamp-red);
}

/* 机场价格在线检索对比器 (Price & Benchmark Matrix) */
.benchmark-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 30px;
  margin-top: 30px;
}

.benchmark-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input {
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  color: var(--text-primary);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.filter-select {
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  color: var(--text-primary);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.benchmark-table-responsive {
  overflow-x: auto;
}

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

.benchmark-table th,
.benchmark-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-line);
}

.benchmark-table th {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 700;
}

.benchmark-table tr.highlight-freecat {
  background: rgba(220, 38, 38, 0.08);
}

.benchmark-table tr:hover {
  background: var(--bg-card-hover);
}

/* SEO 深度解密文章库 Section */
.articles-wrapper {
  background: #0f1217;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
}

.article-card:hover {
  border-color: var(--stamp-red);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tag-badge {
  background: var(--bg-card);
  border: 1px solid #2a3142;
  color: var(--accent-cyan);
  font-size: 0.72rem;
  padding: 2px 8px;
}

.btn-read-article {
  background: transparent;
  color: var(--stamp-red);
  border: 1px solid var(--stamp-red);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn-read-article:hover {
  background: var(--stamp-red);
  color: #fff;
}

/* 全屏文章 Modal 弹窗 */
.article-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  overflow-y: auto;
  padding: 40px 20px;
}

.article-modal.active {
  display: block;
}

.modal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-top: 4px solid var(--stamp-red);
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-card);
  color: var(--stamp-red);
  border: 1px solid var(--stamp-red);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  background: var(--stamp-red);
  color: #fff;
}

.article-full-body {
  margin-top: 30px;
  font-family: var(--font-sans);
  color: #cbd5e1;
  line-height: 1.85;
  font-size: 1.02rem;
}

.article-full-body h2 {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 1.4rem;
  margin: 32px 0 16px 0;
  border-left: 4px solid var(--stamp-red);
  padding-left: 12px;
}

.article-full-body h3 {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 1.15rem;
  margin: 24px 0 12px 0;
}

.article-full-body p {
  margin-bottom: 18px;
}

.article-full-body ul, .article-full-body ol {
  margin: 0 0 20px 24px;
}

.article-full-body li {
  margin-bottom: 8px;
}

.article-full-body a {
  color: var(--stamp-red);
  text-decoration: underline;
}

.article-full-body a:hover {
  color: #ff6b6b;
}

/* 用户评价 (Field Agent Reviews) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  padding: 24px;
  position: relative;
}

.review-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.agent-codename {
  font-weight: 700;
  color: var(--accent-cyan);
}

.review-stars {
  color: var(--stamp-gold);
  letter-spacing: 2px;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.review-tag {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-line);
  padding-top: 8px;
}

/* FAQ 常见问题折叠面板 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--stamp-red);
}

.faq-icon {
  color: var(--stamp-red);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  border-top: 1px dashed #262c3a;
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 页脚 Footer & PBN 权重输血管道 */
.site-footer {
  background: #07090c;
  border-top: 2px solid var(--border-line);
  padding: 60px 0 40px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

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

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

.footer-col a:hover {
  color: var(--stamp-red);
}

/* 页脚 PBN 友情链接输血管道区 */
.pbn-link-pipe {
  border-top: 1px solid #1a1e28;
  padding-top: 28px;
  margin-top: 28px;
  text-align: center;
}

.pbn-pipe-header {
  font-size: 0.75rem;
  color: #475569;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pbn-links-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  list-style: none;
}

.pbn-links-flex a {
  color: #64748b;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px dotted #334155;
}

.pbn-links-flex a:hover {
  color: var(--stamp-red);
  border-bottom-color: var(--stamp-red);
}

.footer-copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.78rem;
  color: #475569;
}

/* 响应式适配 Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 24px 16px;
  }
  .dl-modal-card {
    padding: 24px 18px;
  }
  .dl-modal-title {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   客户端下载弹窗 (Universal Client Download Modal)
   遵循冷战密级档案风 (Classified Archive) 品牌规范：绝对直角、工业边框、醒目指示
   ========================================================================== */
.dl-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dl-modal.active {
  display: flex;
}

.dl-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.dl-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-top: 4px solid var(--stamp-red);
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  animation: dlModalFadeIn 0.22s ease-out;
}

@keyframes dlModalFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.dl-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-card);
  color: var(--stamp-red);
  border: 1px solid var(--stamp-red);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
}

.dl-modal-close:hover {
  background: var(--stamp-red);
  color: #fff;
}

.dl-modal-header {
  margin-bottom: 22px;
}

.dl-modal-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--stamp-red);
  background: var(--stamp-red-bg);
  border: 1px solid rgba(220, 38, 38, 0.3);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.dl-modal-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
}

.dl-modal-subtitle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.dl-platform-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.dl-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--stamp-red);
  transform: translateX(4px);
}

.dl-btn-icon {
  flex-shrink: 0;
  color: var(--stamp-red);
}

.dl-btn-info {
  flex-grow: 1;
}

.dl-btn-title {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.dl-btn-desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.dl-btn-arrow {
  color: var(--stamp-red);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
}

.dl-modal-tips {
  background: var(--bg-code);
  border: 1px solid var(--border-line);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.dl-tip-item {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.dl-tip-item + .dl-tip-item {
  margin-top: 6px;
}

.dl-modal-footer {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px dashed var(--border-line);
}

.dl-footer-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
  margin-left: 6px;
}

.dl-footer-link:hover {
  text-decoration: underline;
  color: #fff;
}

