/* ============================================================
   HHPoker 俱乐部 - 金色沙漠风 自定义样式
   设计方向：迪拜/中东奢华酒店风格
   ============================================================ */

/* === 自定义字体 === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Playfair+Display:wght@400;600;700;900&display=swap');

:root {
  --gold-light: #fbbf24;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --sand: #fef3c7;
  --sand-dark: #fde68a;
  --earth: #92400e;
  --earth-dark: #78350f;
  --cream: #fffbeb;
  --luxury-black: #1c1917;
}

/* === 全局 === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #fffbeb;
  color: #44403c;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Noto Sans SC', serif;
  font-weight: 700;
}

/* === 沙金渐变背景 === */
.golden-sand-bg {
  background: linear-gradient(135deg, #ca8a04 0%, #f59e0b 25%, #fbbf24 50%, #f59e0b 75%, #d97706 100%);
  position: relative;
}

.golden-sand-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* === 金色沙粒纹理 === */
.sand-texture {
  position: relative;
}

.sand-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(217, 119, 6, 0.03) 2px,
      rgba(217, 119, 6, 0.03) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 2px,
      rgba(245, 158, 11, 0.03) 2px,
      rgba(245, 158, 11, 0.03) 4px
    );
  pointer-events: none;
}

/* === 温暖阳光照射效果 === */
.sun-glow {
  position: relative;
}

.sun-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(
    ellipse at center,
    rgba(251, 191, 36, 0.3) 0%,
    rgba(251, 191, 36, 0.15) 30%,
    rgba(251, 191, 36, 0.05) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.sun-glow > * {
  position: relative;
  z-index: 2;
}

/* === 豪华金色点缀卡片 === */
.luxury-card {
  background: linear-gradient(145deg, #ffffff 0%, #fffbeb 50%, #fef3c7 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(217, 119, 6, 0.1),
    0 1px 3px rgba(217, 119, 6, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.luxury-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, #f59e0b, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.luxury-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(217, 119, 6, 0.18),
    0 2px 8px rgba(217, 119, 6, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.luxury-card:hover::before {
  opacity: 1;
}

/* === 金色按钮 === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35), 0 1px 3px rgba(0,0,0,0.1);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.5), 0 2px 6px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-gold:hover::after {
  left: 100%;
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  color: #d97706;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  border: 2px solid #d97706;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.btn-gold-outline:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

/* === 数字计数器/统计 === */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #d97706, #92400e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* === 分隔线装饰 === */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f59e0b, #d97706, #f59e0b, transparent);
  margin: 0 auto;
  border-radius: 2px;
}

/* === 图标盒子 === */
.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
  color: #d97706;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* === 脉冲动画 === */
.pulse-ring {
  position: relative;
}

.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 3px solid rgba(245, 158, 11, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* === 浮动动画 === */
.float-anim {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* === 淡入上移动画 === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* === 导航栏 === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(28, 25, 23, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 0.6rem 0;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  transition: all 0.3s;
  position: relative;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s;
}

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

/* === Hero 区块 === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-title .gold-highlight {
  background: linear-gradient(135deg, #fef3c7, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(217, 119, 6, 0.3));
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.8;
}

/* === 区块标题 === */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #1c1917;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #78716c;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* === 下载卡片 === */
.download-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.download-card .platform-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === 俱乐部特性列表 === */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(217, 119, 6, 0.1);
}

.feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-list .check-icon {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* === 级别徽章 === */
.level-badge {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  color: #92400e;
  font-weight: 600;
  font-size: 0.9rem;
}

/* === FAQ === */
.faq-item {
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  padding: 1.2rem 0;
  cursor: pointer;
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1c1917;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question i {
  color: #d97706;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #78716c;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

/* === 页脚 === */
.site-footer {
  background: #1c1917;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, #d97706, transparent);
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fbbf24;
}

/* === 滚动条 === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fef3c7;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#d97706, #f59e0b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#b45309, #d97706);
}

/* === ============响应式============ === */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .luxury-card {
    border-radius: 12px;
  }

  .navbar {
    background: rgba(28, 25, 23, 0.95);
    backdrop-filter: blur(12px);
  }

  .navbar .nav-link {
    padding: 0.6rem 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .download-card {
    padding: 2rem 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .btn-gold,
  .btn-gold-outline {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}
