/* ============================================
   Data Flow Particles — 科技·数据流粒子翻页
   方案四十七：浮动数据面板 × 粒子网络 × 数据矩阵背景
   深空蓝渐变 × 毛玻璃质感 × 等宽字体科技风
   ============================================ */

/* ===== 全局重置与变量 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* 深空蓝基底 */
  --bg-deep: #0E1624;
  --bg-secondary: #1A1F2E;
  --bg-panel: rgba(20, 30, 50, 0.6);

  /* 毛玻璃层级 */
  --glass-heavy: rgba(255, 255, 255, 0.06);
  --glass-medium: rgba(255, 255, 255, 0.04);
  --glass-light: rgba(255, 255, 255, 0.02);

  /* 边框 */
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(138, 180, 248, 0.45);
  --glass-border-active: rgba(138, 180, 248, 0.8);

  /* 科技文字色 */
  --text-primary: #E0E8F0;
  --text-secondary: #8AB4F8;
  --text-muted: #5A6B85;
  --text-cool: #C5D3E8;

  /* 强调色 */
  --accent-cyan: #38bdf8;
  --accent-blue: #8AB4F8;
  --accent-glow: rgba(138, 180, 248, 0.4);
  --accent-pulse: rgba(56, 189, 248, 0.6);

  /* 标签 */
  --tag-bg: #2A3A5A;
  --tag-text: #8AB4F8;

  /* 字体 */
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* 圆角 */
  --radius-panel: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* 动画曲线 */
  --ease-data: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-pulse: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* 阴影 */
  --shadow-panel:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 12px 48px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-panel-active:
    0 8px 32px rgba(56, 189, 248, 0.25),
    0 24px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(138, 180, 248, 0.2);
}

/* ===== Body — 深空蓝渐变 + 数据矩阵网格 ===== */
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* 数据矩阵网格背景 — 缓慢平移 */
body::before {
  content: '';
  position: fixed;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(138, 180, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 180, 248, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: dfp-grid-pan 40s linear infinite;
  pointer-events: none;
}

/* 微弱径向光晕 */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(138, 180, 248, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

@keyframes dfp-grid-pan {
  0% { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}

/* ===== 导航栏 ===== */
.dfp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 22, 36, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-TOP: 1px solid var(--glass-border);
}
.dfp-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dfp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.dfp-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #8AB4F8, #38bdf8);
  color: #0E1624;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(138, 180, 248, 0.45);
}
.dfp-logo-text {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 16px;
}
.dfp-nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}
.dfp-nav-links a {
  color: var(--text-cool);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.dfp-nav-links a:hover { color: var(--text-secondary); }
.dfp-nav-links a::after {
  content: '';
  position: absolute;
  TOP: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent-blue);
  transition: width 0.3s var(--ease-data);
}
.dfp-nav-links a:hover::after { width: 100%; }
.dfp-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dfp-nav-right button {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-cool);
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.dfp-nav-right button:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent-blue);
  background: rgba(138, 180, 248, 0.06);
}
.dfp-nav-right button svg { width: 16px; height: 16px; }
.dfp-mobile-menu-btn { display: none; }

/* ===== Hero 数据面板区 (限高 221px) ===== */
.dfp-hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 32px 24px;
  z-index: 1;
}
.dfp-hero-header {
  margin-TOP: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dfp-hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-TOP: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dfp-hero-label::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-pulse);
  animation: dfp-blink 1.4s ease-in-out infinite;
}
@keyframes dfp-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}
.dfp-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
}
.dfp-hero-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ===== 浮动数据面板容器 ===== */
.dfp-panels-stage {
  position: relative;
  height: 221px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dfp-panels-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.dfp-panels-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  height: 100%;
}

/* 单个数据面板 */
.dfp-panel {
  position: relative;
  background: var(--bg-panel);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-panel);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-data), opacity 0.4s var(--ease-data), box-shadow 0.4s var(--ease-data);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}
.dfp-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(138, 180, 248, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}
.dfp-panel-img {
  position: relative;
  height: 110px;
  overflow: hidden;
  background: #0a1220;
}
.dfp-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.7) brightness(0.85);
  transition: transform 0.6s var(--ease-data), filter 0.4s;
}
/* 数据化滤镜 — 三角剖分色块感 */
.dfp-panel-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(138, 180, 248, 0.18) 50%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.15) 0 2px, transparent 2px 8px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.dfp-panel-body {
  padding: 10px 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 3;
}
.dfp-panel-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dfp-panel-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.dfp-panel-meta .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-pulse);
  animation: dfp-blink 1.6s ease-in-out infinite;
}

/* 面板悬停 */
.dfp-panel:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-panel);
}
.dfp-panel:hover .dfp-panel-img img {
  transform: scale(1.08);
  filter: contrast(1.15) saturate(1) brightness(0.95);
}

/* 选中状态 — 放大 1.2 倍，完全清晰 */
.dfp-panel.is-active {
  transform: scale(1.2);
  z-index: 5;
  border-color: var(--glass-border-active);
  box-shadow: var(--shadow-panel-active);
  animation: dfp-panel-pulse 0.6s var(--ease-pulse);
}
@keyframes dfp-panel-pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  100% { box-shadow: var(--shadow-panel-active); }
}
/* 其他面板缩小 0.8 倍，透明度 0.4 */
.dfp-panels-row.has-active .dfp-panel:not(.is-active) {
  transform: scale(0.8);
  opacity: 0.4;
  filter: blur(0.5px);
}

/* 按下反馈 — 略微下沉 */
.dfp-panel:active { transform: translateY(2px) scale(0.98); }
.dfp-panel.is-active:active { transform: scale(1.18) translateY(2px); }

/* ===== 顶部大新闻卡片 ===== */
.dfp-hero-card {
  position: relative;
  max-width: 1400px;
  margin: 32px auto 0;
  background: var(--bg-panel);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  transition: transform 0.5s var(--ease-data), border-color 0.3s, box-shadow 0.4s var(--ease-data);
  isolation: isolate;
}
.dfp-hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-panel-active);
}
.dfp-hero-card-img {
  position: relative;
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
  background: #0a1220;
}
.dfp-hero-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.8) brightness(0.9);
  transition: transform 0.7s var(--ease-data), filter 0.4s;
}
.dfp-hero-card:hover .dfp-hero-card-img img {
  transform: scale(1.05);
  filter: contrast(1.15) saturate(1) brightness(0.98);
}
.dfp-hero-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(138, 180, 248, 0.18) 50%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(14, 22, 36, 0.7) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.dfp-hero-card-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.dfp-hero-card-title {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.4px;
  line-height: 1.25;
}
.dfp-hero-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dfp-hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.dfp-hero-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-blue);
  text-transform: uppercase;
}
.dfp-hero-card-read svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .dfp-hero-card { grid-template-columns: 1fr; margin: 12px auto 0; }
  .dfp-hero-card-img { min-height: 160px; max-height: 180px; aspect-ratio: auto; }
  .dfp-hero-card-body { padding: 12px 16px; gap: 8px; }
  .dfp-hero-card-title { font-size: 16px; line-height: 1.3; }
  .dfp-hero-card-excerpt { font-size: 12px; line-height: 1.45; -webkit-line-clamp: 2; }
  .dfp-hero-card-meta { margin-top: 4px; gap: 8px; }
  .dfp-hero-card-read { font-size: 11px; }
}

/* ===== 标签 ===== */
.dfp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--tag-bg);
  color: var(--tag-text);
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.dfp-tag::before { content: '>>'; opacity: 0.7; }

/* ===== Section 通用 ===== */
.dfp-section {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 32px;
  z-index: 1;
}
.dfp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-TOP: 28px;
  padding-TOP: 14px;
  border-TOP: 1px solid var(--glass-border);
}
.dfp-section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-TOP: 6px;
}
.dfp-section-title {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.dfp-section-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.dfp-section-link:hover { color: var(--accent-cyan); }

/* ===== 数据流卡片网格 ===== */
.dfp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.dfp-card {
  position: relative;
  background: var(--bg-panel);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-data), border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.dfp-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-panel);
}
.dfp-card:active { transform: translateY(2px); }
.dfp-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1220;
}
.dfp-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.75) brightness(0.88);
  transition: transform 0.6s var(--ease-data), filter 0.4s;
}
.dfp-card:hover .dfp-card-img img {
  transform: scale(1.06);
  filter: contrast(1.15) saturate(1) brightness(0.95);
}
.dfp-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 22, 36, 0.85) 100%);
  pointer-events: none;
}
.dfp-card-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
}
.dfp-card-id {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-cyan);
  background: rgba(14, 22, 36, 0.7);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
  letter-spacing: 1px;
}
.dfp-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.dfp-card-title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dfp-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dfp-card-footer {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--glass-border);
}
.dfp-card-read {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dfp-card-read svg { width: 12px; height: 12px; transition: transform 0.3s; }
.dfp-card:hover .dfp-card-read svg { transform: translateX(4px); }
.dfp-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ===== 紧凑列表行 ===== */
.dfp-row-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.dfp-compact-card {
  position: relative;
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-data), border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.dfp-compact-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
}
.dfp-compact-card:active { transform: translateY(1px); }
.dfp-compact-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1220;
  position: relative;
}
.dfp-compact-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(0.7) brightness(0.85);
  transition: transform 0.5s, filter 0.3s;
}
.dfp-compact-card:hover .dfp-compact-img img {
  transform: scale(1.05);
  filter: contrast(1.15) saturate(0.95) brightness(0.95);
}
.dfp-compact-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dfp-compact-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dfp-compact-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== 数据流分割线 ===== */
.dfp-divider {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.dfp-divider::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border) 20%, var(--glass-border) 80%, transparent);
  position: relative;
}
.dfp-divider::after {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 5px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-pulse);
}

/* ===== 数据流横向滚动 ===== */
.dfp-stream {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) transparent;
}
.dfp-stream::-webkit-scrollbar { height: 6px; }
.dfp-stream::-webkit-scrollbar-track { background: transparent; }
.dfp-stream::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 3px;
}
.dfp-stream > .dfp-compact-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* ===== 揭示动画 ===== */
.dfp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-data), transform 0.7s var(--ease-data);
}
.dfp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 搜索覆盖层 ===== */
.dfp-search-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(14, 22, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.dfp-search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.dfp-search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 24px;
}
.dfp-search-close {
  position: absolute;
  top: 24px; right: 32px;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-cool);
  width: 40px; height: 40px;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s;
}
.dfp-search-close:hover {
  border-color: var(--glass-border-hover);
  color: var(--accent-blue);
}
.dfp-search-box {
  position: relative;
  margin-TOP: 24px;
}
.dfp-search-box svg {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
}
.dfp-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(20, 30, 50, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dfp-search-input:focus {
  border-color: var(--glass-border-active);
  box-shadow: 0 0 0 3px rgba(138, 180, 248, 0.15);
}
.dfp-search-results {
  max-height: 50vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dfp-search-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}
.dfp-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(20, 30, 50, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.dfp-search-result-item:hover {
  border-color: var(--glass-border-hover);
  background: rgba(20, 30, 50, 0.7);
}
.dfp-search-result-thumb {
  width: 56px; height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.dfp-search-result-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.85);
}
.dfp-search-result-info { flex: 1; min-width: 0; }
.dfp-search-result-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-TOP: 2px;
}
.dfp-search-result-title {
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 科技风格页脚 ===== */
.dfp-footer {
  position: relative;
  margin-top: 80px;
  padding: 60px 32px 32px;
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, transparent, rgba(14, 22, 36, 0.7));
  z-index: 1;
}
.dfp-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.dfp-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-TOP: 36px;
  border-TOP: 1px solid var(--glass-border);
  margin-TOP: 24px;
}
.dfp-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-TOP: 14px;
}
.dfp-footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #8AB4F8, #38bdf8);
  color: #0E1624;
  font-family: var(--font-mono);
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 0 18px rgba(138, 180, 248, 0.4);
}
.dfp-footer-brand-text {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.dfp-footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 360px;
}
.dfp-footer-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-TOP: 16px;
}
.dfp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dfp-footer-links a {
  color: var(--text-cool);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dfp-footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}
/* 数据刷新效果 */
.dfp-footer-links a.is-refreshing {
  animation: dfp-data-refresh 0.5s var(--ease-data);
}
@keyframes dfp-data-refresh {
  0% { opacity: 1; transform: translateX(0); }
  40% { opacity: 0; transform: translateX(-4px); filter: blur(2px); }
  60% { opacity: 0; transform: translateX(4px); filter: blur(2px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* 数据节点图标区 */
.dfp-footer-nodes {
  display: flex;
  align-items: center;
  gap: 28px;
}
.dfp-data-node {
  position: relative;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dfp-data-node-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-blue);
  background: rgba(20, 30, 50, 0.6);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dfp-data-node-led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-pulse);
  animation: dfp-led-blink 2s ease-in-out infinite;
}
.dfp-data-node:nth-child(1) .dfp-data-node-led { animation-delay: 0s; }
.dfp-data-node:nth-child(2) .dfp-data-node-led { animation-delay: 0.5s; }
.dfp-data-node:nth-child(3) .dfp-data-node-led { animation-delay: 1s; }
@keyframes dfp-led-blink {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  40%, 60% { opacity: 1; transform: scale(1.1); }
}
/* 节点连接线 */
.dfp-data-node::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-blue), transparent);
  transform: translateY(-50%);
}
.dfp-data-node:last-child::after { display: none; }
.dfp-footer-nodes-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
}

.dfp-footer-TOP {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.dfp-footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dfp-footer-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-pulse);
  animation: dfp-blink 1.4s ease-in-out infinite;
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .dfp-panels-row { grid-template-columns: repeat(2, 1fr); }
  .dfp-panels-stage { height: auto; min-height: 460px; }
  .dfp-panels-stage .dfp-panel { min-height: 200px; }
  .dfp-footer-top { grid-template-columns: 1fr 1fr; }
  .dfp-footer-nodes { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 640px) {
  .dfp-nav-inner { padding: 12px 16px; gap: 12px; }
  .dfp-nav-links { display: none; }
  .dfp-mobile-menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
  }
  .dfp-mobile-menu-btn span {
    display: block;
    width: 100%; height: 2px;
    background: var(--text-cool);
    border-radius: 1px;
  }
  .dfp-nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(14, 22, 36, 0.97);
    padding: 16px;
    gap: 14px;
    border-TOP: 1px solid var(--glass-border);
  }
  .dfp-hero { padding: 32px 16px 16px; }
  .dfp-section { padding: 36px 16px; }
  .dfp-divider { padding: 0 16px; }
  .dfp-grid { grid-template-columns: 1fr; }
  .dfp-row-scroll { grid-template-columns: 1fr 1fr; }
  .dfp-footer { padding: 48px 16px 24px; }
  .dfp-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .dfp-footer-TOP { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
  .dfp-panels-row { grid-template-columns: 1fr; }
  .dfp-row-scroll { grid-template-columns: 1fr; }
}
