/* WPK俱乐部排名 — 蓝橙渐变，榜单公开风 */
:root {
  --blue: #2563eb;
  --orange: #f97316;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
}

html { scroll-behavior: smooth; }
body {
  background: #ffffff;
  color: var(--muted);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
section[id], div[id] { scroll-margin-top: 88px; }

/* 渐变文字 */
.gradient-text {
  background-image: linear-gradient(120deg, #2563eb, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 网格背景 */
.bg-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* 滚动毛玻璃导航 */
.nav-blur {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 26px rgba(15, 23, 42, 0.08);
}

/* 卡片悬浮 */
.card-hover {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px -18px rgba(249, 115, 22, 0.4);
  border-color: rgba(249, 115, 22, 0.5);
}

/* 发光按钮 */
.btn-glow {
  box-shadow: 0 12px 30px -8px rgba(249, 115, 22, 0.6);
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -10px rgba(249, 115, 22, 0.8);
}

/* 入场动画 */
.fade-in {
  animation: fadeInUp .7s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 榜单行 */
.rank-row {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.rank-row:hover {
  transform: translateX(6px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 12px 30px -16px rgba(249, 115, 22, 0.45);
}
.rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.rank-badge.gold { background: linear-gradient(135deg, #f59e0b, #f97316); }
.rank-badge.silver { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rank-badge.bronze { background: linear-gradient(135deg, #d97706, #b45309); }
.rank-badge.normal { background: #e2e8f0; color: #475569; }

/* FAQ 手风琴 */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item.active {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 16px 36px -20px rgba(249, 115, 22, 0.5);
}
.faq-question {
  cursor: pointer;
  user-select: none;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 1.35rem;
}
.faq-item.active .faq-answer {
  max-height: 240px;
  padding: 0 1.35rem 1.25rem;
}
.faq-icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: #fff7ed;
  color: #f97316;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: #f97316;
  color: #fff;
}
