/* ──────────────────────────────────────────────────────
   高级感增强样式 - Premium Design Enhancements
   UI设计师优化版本 v1.0
   ────────────────────────────────────────────────────── */

/* ═════════════════════════════════════════════════════
   1. 设计令牌扩展 - Design Tokens Extension
   ═════════════════════════════════════════════════════ */
:root {
  /* ── 高级色彩系统 ── */
  --gradient-premium: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(245,158,11,0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(139,92,246,0.06) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(6,182,212,0.05) 0px, transparent 50%);
  
  /* ── 高级阴影系统 ── */
  --shadow-elevation-1: 0 1px 2px rgba(0,0,0,0.2), 0 2px 4px rgba(0,0,0,0.15);
  --shadow-elevation-2: 0 2px 4px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.1);
  --shadow-elevation-3: 0 4px 8px rgba(0,0,0,0.2), 0 8px 16px rgba(0,0,0,0.15), 0 16px 32px rgba(0,0,0,0.1);
  --shadow-elevation-4: 0 8px 16px rgba(0,0,0,0.2), 0 16px 32px rgba(0,0,0,0.15), 0 32px 64px rgba(0,0,0,0.1);
  
  /* ── 玻璃拟态 ── */
  --glass-bg: rgba(28, 25, 23, 0.75);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: blur(12px);
  
  /* ── 微交互 ── */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ═════════════════════════════════════════════════════
   2. 背景层次系统 - Background Depth System
   ═════════════════════════════════════════════════════ */

/* 主背景增强 */
body {
  background-image: 
    /* 动态网格纹理 */
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    /* 渐变光晕 */
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245,158,11,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139,92,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 100%, rgba(6,182,212,0.06) 0%, transparent 50%),
    /* 基础色 */
    var(--bg-primary);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
}

/* ── 装饰性背景元素 ── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ═════════════════════════════════════════════════════
   3. 卡片高级样式 - Premium Card Design
   ═════════════════════════════════════════════════════ */

.card {
  background: linear-gradient(165deg, rgba(40,36,32,0.95) 0%, rgba(28,25,23,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-elevation-2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

/* 卡片顶部渐变光条 */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c, var(--gradient-premium));
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
  height: 3px;
}

/* 卡片内部光晕 */
.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after {
  opacity: 1;
}

/* 卡片悬浮效果增强 */
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-elevation-3);
  border-color: rgba(255,255,255,0.1);
}

/* 卡片标签高级样式 */
.card-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-label::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-amber);
  border-radius: 50%;
  opacity: 0.6;
}

/* 卡片数值发光效果 */
.card-value {
  text-shadow: 0 0 20px currentColor;
  transition: all 0.3s ease;
}

.card:hover .card-value {
  transform: scale(1.02);
  text-shadow: 0 0 30px currentColor;
}

/* 统计条 Premium 样式 */
.cards {
  background: linear-gradient(165deg, rgba(40,36,32,0.95) 0%, rgba(28,25,23,0.98) 100%);
  border-color: rgba(255,255,255,0.06);
  box-shadow: var(--shadow-elevation-2);
}
.stat-item {
  transition: background 0.25s ease;
}
.stat-item:hover {
  background: rgba(255,255,255,0.04);
}
.stat-value {
  text-shadow: 0 0 15px currentColor;
  transition: all 0.3s ease;
}
.stat-item:hover .stat-value {
  text-shadow: 0 0 25px currentColor;
}

/* ═════════════════════════════════════════════════════
   4. 按钮系统升级 - Button System Upgrade
   ═════════════════════════════════════════════════════ */

/* 主按钮高级样式 */
.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  box-shadow: 
    0 2px 8px rgba(245,158,11,0.3),
    0 4px 16px rgba(245,158,11,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

/* 按钮光泽效果 */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 4px 12px rgba(245,158,11,0.4),
    0 8px 24px rgba(245,158,11,0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* 次要按钮高级样式 */
.btn-secondary {
  background: linear-gradient(165deg, rgba(39,39,42,0.8) 0%, rgba(24,24,27,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 按钮组间距优化 */
.header-right {
  gap: 10px;
}

/* ═════════════════════════════════════════════════════
   5. 表格高级样式 - Premium Table Design
   ═════════════════════════════════════════════════════ */

.table-wrap {
  background: linear-gradient(180deg, rgba(28,25,23,0.98) 0%, rgba(24,24,27,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-elevation-3);
  backdrop-filter: blur(12px);
}

/* 表头高级样式 */
thead th {
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.25) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

thead th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
  opacity: 0.3;
}

/* 表格行悬浮效果 */
.fund-row {
  transition: all 0.25s var(--transition-smooth);
}

.fund-row:hover {
  background: linear-gradient(90deg, rgba(245,158,11,0.04) 0%, transparent 100%);
  box-shadow: inset 3px 0 0 var(--accent-amber);
}

/* 数值高亮效果 */
.fund-row:hover .num,
.fund-row:hover .trend-val {
  text-shadow: 0 0 10px currentColor;
}

/* 涨跌颜色增强 */
td.up {
  color: #f87171;
  text-shadow: 0 0 8px rgba(248,113,113,0.3);
}

td.down {
  color: #34d399;
  text-shadow: 0 0 8px rgba(52,211,153,0.3);
}

/* ═════════════════════════════════════════════════════
   6. 弹窗高级样式 - Premium Modal Design
   ═════════════════════════════════════════════════════ */

.modal-content,
.compare-modal-content,
.strategy-modal-content,
.calculator-modal-content {
  background: linear-gradient(165deg, rgba(40,36,32,0.98) 0%, rgba(28,25,23,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-elevation-4);
  backdrop-filter: blur(16px);
  position: relative;
}

/* 弹窗顶部装饰线 */
.modal-content::before,
.compare-modal-content::before,
.strategy-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
  opacity: 0.5;
}

/* 弹窗标题高级样式 */
.modal-title,
.compare-modal-title,
.strategy-modal-title {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 关闭按钮高级样式 */
.modal-close-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s var(--transition-bounce);
}

.modal-close-btn:hover {
  background: rgba(244,63,94,0.15);
  border-color: rgba(244,63,94,0.4);
  transform: rotate(90deg) scale(1.1);
}

/* 弹窗区块高级样式 */
.modal-section {
  background: linear-gradient(165deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.modal-section:hover {
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ═════════════════════════════════════════════════════
   7. 数据指标高级样式 - Premium Metrics Design
   ═════════════════════════════════════════════════════ */

.stat-item {
  background: linear-gradient(165deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.15) 100%);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-amber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateX(4px);
  border-color: rgba(255,255,255,0.08);
}

.stat-value {
  transition: all 0.3s ease;
}

.stat-item:hover .stat-value {
  transform: scale(1.05);
  text-shadow: 0 0 15px currentColor;
}

/* ═════════════════════════════════════════════════════
   8. 贡献度面板高级样式 - Premium Contribution Panel
   ═════════════════════════════════════════════════════ */

.contribution-panel {
  background: linear-gradient(165deg, rgba(40,36,32,0.95) 0%, rgba(28,25,23,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-elevation-2);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.contribution-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-amber), var(--accent-cyan));
}

.contribution-item {
  background: linear-gradient(165deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.contribution-item:hover {
  background: linear-gradient(165deg, rgba(245,158,11,0.08) 0%, rgba(245,158,11,0.04) 100%);
  border-color: rgba(245,158,11,0.2);
  transform: translateX(8px);
}

.contribution-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 60%;
  background: var(--accent-amber);
  border-radius: 0 2px 2px 0;
  transition: width 0.3s ease;
}

.contribution-item:hover::before {
  width: 3px;
}

/* ═════════════════════════════════════════════════════
   9. 图表区域高级样式 - Premium Chart Area
   ═════════════════════════════════════════════════════ */

.chart-container {
  background: linear-gradient(165deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.08) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  padding: 16px;
}

.chart-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

/* 时间选择器高级样式 */
.period-radio {
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.period-radio:hover {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.3);
}

.period-radio input[type="radio"]:checked + label {
  color: var(--accent-amber);
  text-shadow: 0 0 10px rgba(245,158,11,0.5);
}

/* ═════════════════════════════════════════════════════
   10. 徽章和标签高级样式 - Premium Badge Design
   ═════════════════════════════════════════════════════ */

.fund-type-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.fund-type-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px currentColor;
}

.stop-profit-badge {
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.stop-profit-badge.warning {
  animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(244,63,94,0); }
}

/* ═════════════════════════════════════════════════════
   11. 搜索和筛选高级样式 - Premium Search & Filter
   ═════════════════════════════════════════════════════ */

.search-filter-bar {
  background: linear-gradient(165deg, rgba(40,36,32,0.95) 0%, rgba(28,25,23,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-elevation-2);
  backdrop-filter: blur(12px);
}

.search-filter-bar input,
.search-filter-bar select {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.25s ease;
}

.search-filter-bar input:focus,
.search-filter-bar select:focus {
  background: rgba(0,0,0,0.3);
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15), 0 0 20px rgba(245,158,11,0.1);
}

/* ═════════════════════════════════════════════════════
   12. 头部高级样式 - Premium Header
   ═════════════════════════════════════════════════════ */

.header {
  background: linear-gradient(180deg, rgba(9,9,11,0.8) 0%, transparent 100%);
  position: relative;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Logo高级效果 */
.logo {
  position: relative;
  overflow: hidden;
}

.logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.logo:hover {
  animation: logo-float 0.6s ease;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(-2deg); }
  75% { transform: translateY(-3px) rotate(2deg); }
}

/* 标题高级效果 */
.title {
  letter-spacing: -0.5px;
  position: relative;
}

/* 更新时间徽章 */
.update-badge {
  background: linear-gradient(165deg, rgba(39,39,42,0.9) 0%, rgba(24,24,27,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.update-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.1), transparent);
  animation: badge-scan 3s linear infinite;
}

@keyframes badge-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ═════════════════════════════════════════════════════
   13. 底部高级样式 - Premium Footer
   ═════════════════════════════════════════════════════ */

.footer {
  position: relative;
  padding-top: 32px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* ═════════════════════════════════════════════════════
   14. 滚动条高级样式 - Premium Scrollbar
   ═════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 100%);
  background-clip: content-box;
}

/* ═════════════════════════════════════════════════════
   15. 微动效和过渡 - Micro-interactions
   ═════════════════════════════════════════════════════ */

/* 全局平滑过渡 */
* {
  transition-property: color, background-color, border-color, opacity, transform, box-shadow;
  transition-duration: 0.15s;
  transition-timing-function: var(--transition-smooth);
}

/* 加载状态高级样式 */
.loading {
  position: relative;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent-amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 12px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 骨架屏高级样式 */
.skeleton-line,
.skeleton-avatar {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ═════════════════════════════════════════════════════
   16. 响应式高级调整 - Responsive Adjustments
   ═════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* 移动端背景简化 */
  body {
    background-image: 
      radial-gradient(ellipse 80% 50% at 50% -20%, rgba(245,158,11,0.1) 0%, transparent 50%),
      var(--bg-primary);
  }
  
  /* 移动端卡片简化动效 */
  .card:hover {
    transform: translateY(-3px);
  }
  
  .card:hover::after {
    opacity: 0;
  }
}

/* ═════════════════════════════════════════════════════
   17. 打印样式优化 - Print Optimization
   ═════════════════════════════════════════════════════ */

@media print {
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .table-wrap,
  .modal-content {
    background: white !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
  
  .btn,
  .compare-bar {
    display: none !important;
  }
}

/* ═════════════════════════════════════════════════════
   18. 无障碍优化 - Accessibility Enhancements
   ═════════════════════════════════════════════════════ */

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  :root {
    --border-subtle: #52525b;
    --border-soft: #71717a;
    --text-muted: #a1a1aa;
  }
  
  .card,
  .table-wrap,
  .modal-content {
    border-width: 2px;
  }
}

/* 焦点可见性增强 */
*:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.2);
}

/* ═════════════════════════════════════════════════════
   19. 暗色主题变量（备用） - Dark Theme Variables
   ═════════════════════════════════════════════════════ */

[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f4f4f5;
  --bg-card: #ffffff;
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --border-subtle: #e4e4e7;
  --border-soft: #d4d4d8;
}

/* ═════════════════════════════════════════════════════
   20. 特殊装饰元素 - Decorative Elements
   ═════════════════════════════════════════════════════ */

/* 表格装饰圆点 */
.table-header-bar .header-dot {
  box-shadow: 0 0 8px currentColor;
  animation: dot-pulse 2s ease-in-out infinite;
}

.table-header-bar .header-dot:nth-child(1) { animation-delay: 0s; }
.table-header-bar .header-dot:nth-child(2) { animation-delay: 0.3s; }
.table-header-bar .header-dot:nth-child(3) { animation-delay: 0.6s; }

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* 链接悬浮效果 */
a:hover {
  text-shadow: 0 0 8px currentColor;
}

/* 数字等宽优化 */
.num,
.card-value,
.stat-value,
.contribution-amount-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
