/* ============================================
   0018 - HHPOKER 高端落地页 共享样式
   主色调: amber-600 (#D97706)
   ============================================ */

/* === CSS 变量 === */
:root {
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-300: #FCD34D;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --amber-800: #92400E;
  --amber-900: #78350F;
  --dark-900: #0F0F0F;
  --dark-800: #1A1A1A;
  --dark-700: #242424;
  --dark-600: #2D2D2D;
  --gradient-primary: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #B45309 100%);
  --gradient-dark: linear-gradient(180deg, #1A1A1A 0%, #0F0F0F 100%);
  --gradient-card: linear-gradient(145deg, #242424 0%, #1A1A1A 100%);
  --shadow-gold: 0 4px 24px rgba(217, 119, 6, 0.25);
  --shadow-gold-lg: 0 8px 48px rgba(217, 119, 6, 0.35);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* === 全局重置 & 基础 === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark-900);
  color: #E5E5E5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === 自定义滚动条 === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-900);
}
::-webkit-scrollbar-thumb {
  background: var(--amber-700);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--amber-600);
}

/* === 金色渐变文字 === */
.text-gradient-gold {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === 金色下划线 === */
.underline-gold {
  position: relative;
}
.underline-gold::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.underline-gold-center::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* === 渐变按钮 === */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--gradient-primary);
  color: #FFF;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #92400E 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  color: #FFF;
}
.btn-gold:hover::before {
  opacity: 1;
}
.btn-gold span {
  position: relative;
  z-index: 1;
}
.btn-gold i {
  position: relative;
  z-index: 1;
}

/* 轮廓按钮 */
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 35px;
  background: transparent;
  color: var(--amber-500);
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  border: 2px solid var(--amber-600);
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.btn-outline-gold:hover {
  background: var(--amber-600);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* === 区块通用样式 === */
.section-padding {
  padding: 80px 0;
}

.section-bg-dark {
  background-color: var(--dark-900);
}
.section-bg-darker {
  background-color: var(--dark-800);
}
.section-bg-darkest {
  background-color: #0A0A0A;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-header .subtitle {
  font-size: 16px;
  color: #999;
  margin-top: 8px;
}

/* === 玻璃卡片 === */
.glass-card {
  background: var(--gradient-card);
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  border-color: rgba(217, 119, 6, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* === 导航栏 === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(15, 15, 15, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.navbar .nav-link {
  color: #BBB;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  padding: 8px 16px;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--amber-500);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--amber-600);
  border-radius: 1px;
  transition: transform 0.3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* === Hero区域 === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(217, 119, 6, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(217, 119, 6, 0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 50%;
  animation: floatUp 6s linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1.5);
    opacity: 0;
  }
}

/* === 特性卡片图标 === */
.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(217,119,6,0.2) 0%, rgba(245,158,11,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--amber-500);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.glass-card:hover .feature-icon-wrap {
  background: var(--gradient-primary);
  color: #FFF;
  transform: rotateY(180deg);
}

/* === 统计数字 === */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: #999;
  margin-top: 8px;
}

/* === CTA区域 === */
.cta-section {
  background: linear-gradient(180deg, #0F0F0F 0%, #1A1A1A 50%, #0F0F0F 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(217,119,6,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* === 页脚 === */
.footer {
  background-color: #080808;
  border-top: 1px solid rgba(217, 119, 6, 0.15);
  padding: 48px 0 24px;
}
.footer a {
  color: #999;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: var(--amber-500);
}

/* === 手风琴/FAQ === */
.faq-item {
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--dark-800);
  transition: all 0.3s ease;
}
.faq-item.active {
  border-color: rgba(217, 119, 6, 0.5);
  box-shadow: var(--shadow-gold);
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #FFF;
  font-size: 16px;
  user-select: none;
}
.faq-question i {
  color: var(--amber-500);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: #BBB;
  line-height: 1.8;
  font-size: 15px;
}

/* === 下载卡片 === */
.download-card {
  background: var(--gradient-card);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(217,119,6,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.download-card:hover {
  border-color: rgba(217, 119, 6, 0.6);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold-lg);
}
.download-card:hover::before {
  opacity: 1;
}
.download-card .dl-icon {
  font-size: 56px;
  color: var(--amber-500);
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}
.download-card:hover .dl-icon {
  transform: scale(1.1);
}
.download-card .dl-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(217, 119, 6, 0.15);
  color: var(--amber-500);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}

/* === 步骤条 === */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #FFF;
}

/* === 赛事表格 === */
.event-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.event-table th {
  color: var(--amber-500);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-table td {
  padding: 16px;
  background: var(--dark-800);
  color: #CCC;
  font-size: 15px;
}
.event-table tr td:first-child {
  border-radius: 10px 0 0 10px;
}
.event-table tr td:last-child {
  border-radius: 0 10px 10px 0;
}
.event-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.event-tag.hot {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}
.event-tag.new {
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
}
.event-tag.popular {
  background: rgba(217, 119, 6, 0.2);
  color: var(--amber-500);
}

/* === 品牌Logo滚动 === */
.logo-marquee {
  overflow: hidden;
  padding: 32px 0;
  position: relative;
}
.logo-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  align-items: center;
}
.logo-track span {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === 响应式 === */
@media (max-width: 768px) {
  .section-padding {
    padding: 56px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .btn-gold {
    padding: 12px 28px;
    font-size: 14px;
  }
  .glass-card {
    padding: 24px 20px;
  }
  .stat-number {
    font-size: 36px;
  }
  .download-card {
    padding: 28px 20px;
  }
  .download-card .dl-icon {
    font-size: 44px;
  }
}

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

/* === pulse 光晕 === */
.pulse-glow {
  position: relative;
}
.pulse-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  animation: pulseGlow 2s ease-in-out infinite;
  z-index: -1;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.03); }
}

/* === 面包屑 === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--amber-500);
  text-decoration: none;
}
.breadcrumb span {
  color: #666;
}

/* === 标签云 === */
.tag-cloud .tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 50px;
  color: #BBB;
  font-size: 14px;
  margin: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.tag-cloud .tag:hover {
  background: var(--amber-600);
  border-color: var(--amber-600);
  color: #FFF;
}

/* === 奖励高亮 === */
.highlight-box {
  background: linear-gradient(135deg, rgba(217,119,6,0.15) 0%, rgba(245,158,11,0.05) 100%);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 16px;
  padding: 28px;
  position: relative;
}
.highlight-box::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: -16px;
  left: 24px;
  font-size: 32px;
  color: var(--amber-500);
}
