/* ============================================================
   德扑圈 / HHpoker — 共享样式表
   深色科技风：深蓝到黑渐变 + 霓虹蓝强调 + 毛玻璃 + 几何装饰
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --cyan: #22d3ee;
  --cyan-dim: #06b6d4;
  --cyan-glow: rgba(34, 211, 238, 0.25);
  --bg-deep: #0a0e1a;
  --bg-card: rgba(15, 23, 42, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-dim: #94a3b8;
  --text-muted: #64748b;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: #e2e8f0;
  margin: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- Animated Background Grid ---- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Floating orbs for ambient glow */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-orbs::before,
.bg-orbs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orbs::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: -200px; left: -150px;
}

.bg-orbs::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  bottom: -200px; right: -150px;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.08); }
  50% { transform: translate(-30px, 50px) scale(0.95); }
  75% { transform: translate(-50px, -30px) scale(1.05); }
}

/* ---- Glass Morphism ---- */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

.glass-nav {
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 40px var(--cyan-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}

/* ---- Geometric Accents ---- */
.geo-hex {
  position: absolute;
  width: 200px; height: 200px;
  border: 1px solid rgba(34, 211, 238, 0.08);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
}

.geo-diamond {
  position: absolute;
  width: 100px; height: 100px;
  border: 1px solid rgba(34, 211, 238, 0.06);
  transform: rotate(45deg);
  pointer-events: none;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  color: #0a0e1a;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 24px var(--cyan-glow);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.45), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #22d3ee;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: 2px solid rgba(34, 211, 238, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: #22d3ee;
  box-shadow: 0 0 24px var(--cyan-glow);
}

/* ---- Stat Counter ---- */
.stat-number {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid var(--border-glass);
}

.faq-question {
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
}

.faq-question:hover {
  color: #22d3ee;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* ---- Section Dividers ---- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #22d3ee;
  margin-bottom: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50px;
  background: rgba(34, 211, 238, 0.05);
}

/* ---- Testimonial Stars ---- */
.stars { color: #fbbf24; letter-spacing: 2px; }

/* ---- Pulse Ring for CTA ---- */
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(34, 211, 238, 0.6);
  animation: pulseRing 2s ease-out infinite;
  pointer-events: none;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, 0.5); }

/* ---- Glow Text ---- */
.glow-text {
  text-shadow: 0 0 40px var(--cyan-glow), 0 0 80px var(--cyan-glow);
}

/* ---- Responsive Adjustments ---- */
@media (max-width: 768px) {
  .bg-orbs::before { width: 300px; height: 300px; }
  .bg-orbs::after { width: 250px; height: 250px; }
  .glass-card { border-radius: 14px; }
}

/* ---- Page Hero (subpages) ---- */
.page-hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 60%);
  pointer-events: none;
}

/* ---- Feature Icon Container ---- */
.feature-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(6, 182, 212, 0.05));
  border: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 20px;
  font-size: 28px;
  color: #22d3ee;
  transition: all 0.3s ease;
}

.glass-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(6, 182, 212, 0.1));
  box-shadow: 0 0 24px var(--cyan-glow);
}

/* ---- Footer ---- */
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #22d3ee;
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(34, 211, 238, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

/* ---- Download Page Cards ---- */
.dl-platform-card {
  transition: all 0.35s ease;
  cursor: pointer;
}

.dl-platform-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 32px var(--cyan-glow);
  transform: translateY(-4px);
}

/* ---- Club Features ---- */
.club-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 0.85rem;
  color: #22d3ee;
  font-weight: 600;
}

/* ---- Active Nav Link ---- */
.nav-link {
  position: relative;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #22d3ee;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #22d3ee;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
