/* ========== 玻璃拟态面板 ========== */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.glass-light {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

.glass-heavy {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.25);
}

/* ========== 呼吸发光 ========== */
.glow-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow-hover:hover {
  animation: breathe 2.2s ease-in-out infinite;
  border-color: rgba(168,85,247,0.5);
}

/* ========== 霓虹边框 ========== */
.neon-hover {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.neon-hover:hover {
  border-color: rgba(168,85,247,0.6);
  box-shadow: 0 0 20px rgba(168,85,247,0.2), 0 0 40px rgba(56,189,248,0.1);
  transform: translateY(-3px);
}

/* ========== fadeInUp 入场动画应用层 ========== */
.fade-in-up {
  animation: fadeInUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fade-in-up-d1 { animation-delay: 0.05s; }
.fade-in-up-d2 { animation-delay: 0.10s; }
.fade-in-up-d3 { animation-delay: 0.15s; }
.fade-in-up-d4 { animation-delay: 0.20s; }
.fade-in-up-d5 { animation-delay: 0.25s; }

/* ========== 滚动条隐藏 ========== */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ========== 卡片悬浮 ========== */
.card-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-lift:hover {
  transform: translateY(-6px);
}

/* ========== 渐变按钮 ========== */
.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 50%, #7dd3fc 100%);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(168,85,247,0.5);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 25px rgba(168,85,247,0.25);
  transform: translateY(-2px);
}

.btn-accent-sm {
  background: rgba(57,255,20,0.15);
  border: 1px solid rgba(57,255,20,0.3);
  color: #39ff14;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-accent-sm:hover {
  background: rgba(57,255,20,0.25);
  box-shadow: 0 0 15px rgba(57,255,20,0.3);
}

/* ========== 标签 ========== */
.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 4px;
  background: rgba(168,85,247,0.15);
  color: #c084fc;
  white-space: nowrap;
}

.tag-blue {
  background: rgba(56,189,248,0.15);
  color: #7dd3fc;
}

.tag-green {
  background: rgba(57,255,20,0.12);
  color: #39ff14;
}

/* ========== 分类标签按钮 ========== */
.tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #999999;
  transition: all 0.25s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  white-space: nowrap;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.tab-btn.active {
  color: #c084fc;
  background: rgba(168,85,247,0.12);
}

/* ========== 分段标题图标 ========== */
.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ========== 搜索框 ========== */
.search-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 16px 10px 40px;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.3s ease;
  width: 280px;
}

.search-input::placeholder { color: #666; }

.search-input:focus {
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 20px rgba(168,85,247,0.15);
  background: rgba(255,255,255,0.08);
}

/* ========== 侧边导航项 ========== */
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #999;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nav-item.active {
  color: #c084fc;
  background: rgba(168,85,247,0.12);
}

.nav-item i { width: 18px; text-align: center; }

/* ========== 顶部导航项 ========== */
.topnav-item {
  padding: 6px 14px;
  border-radius: 8px;
  color: #999;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.topnav-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.topnav-item.active {
  color: #c084fc;
  background: rgba(168,85,247,0.12);
}

/* ========== 水波纹光环 ========== */
.ripple-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 3px solid rgba(168,85,247,0.6);
  width: 1200px;
  height: 1200px;
  margin-left: -600px;
  margin-top: -600px;
  pointer-events: none;
  z-index: 5;
  animation: rippleOut 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
  opacity: 0;
}

.ripple-2 {
  border-color: rgba(56,189,248,0.5);
  animation-delay: 1.3s;
  border-width: 2px;
}

.ripple-3 {
  border-color: rgba(57,255,20,0.35);
  animation-delay: 2.6s;
  border-width: 2px;
}

/* ========== 数据卡片 ========== */
.stat-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  min-width: 150px;
  transition: all 0.35s ease;
}

.stat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(168,85,247,0.3);
  box-shadow: 0 0 30px rgba(168,85,247,0.12);
  transform: translateY(-3px);
}

/* ========== 视频背景 ========== */
.video-bg-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.35);
}

/* ========== Hero 渐隐遮罩 ========== */
.hero-fade {
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
