/* ====================================================
 * Clash Client Hub — 公共样式表
 * 所有页面共享的基础样式与组件
 * ==================================================== */

/* --- 基础 --- */
body {
  background-color: #fafafa;
}

/* --- 导航栏毛玻璃效果 --- */
.glass-nav {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- 内容卡片毛玻璃效果 --- */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 10px 15px -3px rgba(0, 0, 0, 0.03);
}

/* --- 品牌渐变文字 --- */
.text-gradient {
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 首屏光晕装饰 --- */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

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

/* --- FAQ 手风琴动画 --- */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}
.faq-content.open {
  grid-template-rows: 1fr;
}
.faq-inner {
  overflow: hidden;
}

/* --- 应用图标容器（用于替换 lucide 图标的 SVG/img） --- */
.app-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
