/* ============================================
   Red Dragon Poker 官网 —— 深色奢华主题
   主色：blue-600 → red-500 渐变 · 黑金红点缀
   ============================================ */

:root {
  --rd-bg: #0a0a0b;
  --rd-bg-soft: #141416;
  --rd-card: #161618;
  --rd-card-border: #26262a;
  --rd-red: #ef4444;
  --rd-red-deep: #b91c1c;
  --rd-blue: #2563eb;
  --rd-gold: #f59e0b;
  --rd-gold-soft: #d4af37;
  --rd-text: #e5e7eb;
  --rd-muted: #9ca3af;
  --rd-line: #27272a;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* ---------- 渐变文字（蓝 → 红）---------- */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6 0%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 金色文字 ---------- */
.gold-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

/* ---------- 导航毛玻璃（深色） ---------- */
#navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav-blur {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(239, 68, 68, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

/* ---------- 卡片 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);
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 24px 48px -16px rgba(239, 68, 68, 0.35);
}

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

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(245, 158, 11, 0.55);
}

/* ---------- 入场动画 ---------- */
.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(--rd-line);
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--rd-card);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.open {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 12px 30px -14px rgba(239, 68, 68, 0.4);
}

.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: #f3f4f6;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--rd-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: rgba(239, 68, 68, 0.12);
  color: var(--rd-red);
  transition: transform 0.35s ease, background 0.35s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #0a0a0b;
}

/* ---------- 红龙图标徽章 ---------- */
.dragon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #ef4444);
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 10px 26px -8px rgba(239, 68, 68, 0.55);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* ---------- 深色区块标题描边 ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- 金色分隔线 ---------- */
.gold-divider {
  height: 2px;
  width: 72px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f59e0b, #ef4444, transparent);
}
