/* ============================================================
   AApoker 锦标赛 — 主题样式（blue-600 → amber-500 深色电竞风）
   ============================================================ */

:root {
  --brand-from: #2563eb;
  --brand-to: #f59e0b;
  --bg-dark: #020617;
  --surface: #0f172a;
  --line: #1e293b;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 渐变文字 */
.gradient-text {
  background-image: linear-gradient(135deg, var(--brand-from), var(--brand-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 网格背景 */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* 导航栏滚动毛玻璃（深色） */
.nav-blur {
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

/* 卡片 hover */
.card-hover {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 24px 50px -12px rgba(245, 158, 11, 0.25);
}

/* 发光按钮 */
.btn-glow {
  box-shadow: 0 10px 30px -6px rgba(245, 158, 11, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px -8px rgba(245, 158, 11, 0.7);
}

/* 滚动淡入 */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* FAQ 手风琴（深色） */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item.active {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 16px 40px -18px rgba(245, 158, 11, 0.3);
}
.faq-question { cursor: pointer; user-select: none; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 240px;
  padding: 0 1.5rem 1.5rem;
}
.faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* 轮播圆点 */
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #334155;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.carousel-dots .dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--brand-from), var(--brand-to));
}
