/* 红龙扑克 · 移动畅玩 全局样式 */
:root {
  --brand-a: #4f46e5;
  --brand-b: #f59e0b;
  --accent: #dc2626;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #292524;
  background: #fffdf8;
}

.gradient-text {
  background-image: linear-gradient(90deg, #4f46e5, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-grid {
  background-image: linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.nav-blur {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(120, 53, 15, 0.28);
  border-bottom: 1px solid rgba(120, 53, 15, 0.08);
}

.card-hover {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -24px rgba(245, 158, 11, 0.45);
  border-color: rgba(245, 158, 11, 0.45);
}

.btn-glow {
  box-shadow: 0 8px 24px -8px rgba(245, 158, 11, 0.6);
  transition: box-shadow .3s ease, transform .3s ease;
}
.btn-glow:hover {
  box-shadow: 0 12px 32px -8px rgba(220, 38, 38, 0.6);
  transform: translateY(-2px);
}

.fade-in {
  animation: fadeIn 1s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item {
  border: 1px solid #f1e6d2;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item.active {
  border-color: #fcd34d;
  box-shadow: 0 12px 32px -20px rgba(245, 158, 11, 0.4);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-weight: 600;
  color: #292524;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 1.4rem;
  color: #57534e;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 320px;
  padding-bottom: 1.4rem;
}
.faq-icon {
  color: #f59e0b;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
