/* ============ 德扑之星 - 经典/老牌 主题 ============ */
:root {
  --brand-from: #2563eb;
  --brand-to: #4f46e5;
  --ink: #0f172a;
  --muted: #64748b;
}

html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--ink); }

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

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

/* 顶部导航透明 -> 滚动毛玻璃 */
#navbar { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
#navbar.nav-blur {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

/* 卡片 hover */
.card-hover {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(37, 99, 235, 0.28);
  border-color: rgba(79, 70, 229, 0.35);
}

/* 发光按钮 */
.btn-glow {
  box-shadow: 0 10px 28px -8px rgba(79, 70, 229, 0.55);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(79, 70, 229, 0.65); filter: brightness(1.05); }

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

/* Hero 悬浮装饰卡 */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(15, 23, 42, 0.25);
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Stats 精简横条 */
.stat-divider { border-left: 1px solid rgba(15, 23, 42, 0.08); }

/* FAQ 手风琴 */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item:hover { border-color: rgba(79, 70, 229, 0.35); }
.faq-question {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-icon {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #4f46e5;
  background: rgba(79, 70, 229, 0.1);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(135deg); background: #4f46e5; color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 360px; padding: 0 22px 20px; }

/* 评分星 */
.stars { color: #f59e0b; letter-spacing: 2px; }

/* 页脚链接 */
.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #fff; }

/* 多页内部 hero */
.inner-hero { position: relative; overflow: hidden; }
