/* ============================================
   扑克时间官网 —— 主题：随时开打 / 便捷
   主色：blue-600 → indigo-600
   ============================================ */

:root {
  --brand-blue: #2563eb;
  --brand-indigo: #4f46e5;
  --brand-dark: #0f172a;
  --brand-ink: #1e293b;
  --brand-muted: #64748b;
  --brand-line: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--brand-ink);
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- 渐变文字 ---------- */
.gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  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: 42px 42px;
}

/* ---------- 导航毛玻璃 ---------- */
#navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.nav-blur {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

/* ---------- 卡片 hover ---------- */
.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -16px rgba(37, 99, 235, 0.28);
  border-color: rgba(37, 99, 235, 0.35);
}

/* ---------- 发光按钮 ---------- */
.btn-glow {
  box-shadow: 0 10px 26px -8px rgba(37, 99, 235, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(79, 70, 229, 0.65);
}

/* ---------- 入场动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-item {
  border: 1px solid var(--brand-line);
  border-radius: 14px;
  margin-bottom: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 28px -14px rgba(37, 99, 235, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-dark);
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--brand-muted);
  font-size: 15px;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 420px;
  padding-bottom: 20px;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  color: var(--brand-blue);
  transition: transform 0.35s ease, background 0.35s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
}

/* ---------- 时钟图标动效 ---------- */
.clock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.5);
}

/* ---------- 页面子标题横幅 ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(160deg, #eff6ff 0%, #eef2ff 55%, #ffffff 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

/* ---------- 步骤编号 ---------- */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.5);
}

/* ---------- 下载平台卡 ---------- */
.platform-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -16px rgba(37, 99, 235, 0.28);
}

/* ---------- 响应式微调 ---------- */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
}
