/* ============================================================
   HHpoker 线上德扑网 - 暗黑奢华风 Custom Styles
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --gold: #eab308;
  --gold-light: #fbbf24;
  --gold-dark: #b8860b;
  --felt-green: #1a5c2a;
  --felt-green-dark: #0f3d1a;
  --slate-deep: #020617;
  --slate-card: #111827;
  --slate-border: #1e293b;
  --text-muted: #94a3b8;
}

/* ---- Base & Typography ---- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #020617;
  color: #e2e8f0;
  font-family: 'Georgia', 'Times New Roman', serif;
  overflow-x: hidden;
}

/* Serif headings globally */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* ---- Gold Gradient Text ---- */
.text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #eab308 30%, #b8860b 70%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold-solid {
  color: #eab308;
}

/* ---- Subtle Gold Text Shadow ---- */
.gold-glow {
  text-shadow: 0 0 20px rgba(234, 179, 8, 0.3), 0 0 40px rgba(234, 179, 8, 0.1);
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #1a1a0a 0%, #020617 70%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1612404730960-5c0b1c4b8db2?w=1920') center/cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #eab308;
  border-radius: 50%;
  animation: floatUp 6s infinite ease-in;
  opacity: 0;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-delay: 0.8s; }
.particle:nth-child(3) { left: 40%; animation-delay: 1.6s; }
.particle:nth-child(4) { left: 55%; animation-delay: 2.4s; }
.particle:nth-child(5) { left: 70%; animation-delay: 3.2s; }
.particle:nth-child(6) { left: 85%; animation-delay: 4.0s; }
.particle:nth-child(7) { left: 15%; animation-delay: 1.2s; }
.particle:nth-child(8) { left: 50%; animation-delay: 2.8s; }
.particle:nth-child(9) { left: 75%; animation-delay: 4.5s; }
.particle:nth-child(10) { left: 30%; animation-delay: 5.0s; }

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

/* ---- Gold Border Card ---- */
.card-gold {
  position: relative;
  background: linear-gradient(145deg, #111827, #0f172a);
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card-gold::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.2), transparent);
}

.card-gold:hover {
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(234, 179, 8, 0.08), 0 0 0 1px rgba(234, 179, 8, 0.15);
}

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

/* ---- Felt Green Card ---- */
.card-felt {
  background: linear-gradient(160deg, #1a5c2a, #0f3d1a);
  border: 2px solid #2d7a3a;
  border-radius: 16px;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.5);
}

.card-felt-gold-border {
  background: linear-gradient(160deg, #1a5c2a, #0f3d1a);
  border: 2px solid rgba(234, 179, 8, 0.35);
  border-radius: 16px;
  box-shadow: inset 0 2px 20px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.5);
}

/* ---- Glass Card ---- */
.card-glass {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: 12px;
}

/* ---- Gold CTA Button ---- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #eab308, #b8860b);
  color: #020617;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 24px rgba(234, 179, 8, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(234, 179, 8, 0.45), 0 0 0 3px rgba(234, 179, 8, 0.15);
}

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

.btn-outline-gold:hover {
  background: rgba(234, 179, 8, 0.08);
  border-color: #eab308;
  box-shadow: 0 4px 24px rgba(234, 179, 8, 0.2);
}

/* ---- Section Title Ornament ---- */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.section-ornament .line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #eab308);
}

.section-ornament .line.right {
  background: linear-gradient(90deg, #eab308, transparent);
}

.section-ornament .diamond {
  width: 8px;
  height: 8px;
  background: #eab308;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
}

/* ---- Club Level Badge ---- */
.club-badge {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, #eab308, #b8860b);
  color: #020617;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* ---- Stat Counter ---- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Georgia', serif;
  background: linear-gradient(180deg, #fbbf24 0%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Divider ---- */
.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #eab308, transparent);
  margin: 20px auto;
  border-radius: 2px;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 179, 8, 0.1);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #eab308;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #eab308;
}

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

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 179, 8, 0.15);
  padding: 20px;
  gap: 16px;
}

/* ---- Step Number ---- */
.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eab308, #b8860b);
  color: #020617;
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 50%;
  font-family: 'Georgia', serif;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.3);
  flex-shrink: 0;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Pulse Ring ---- */
.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(234, 179, 8, 0.4);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

/* ---- Footer ---- */
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: #eab308;
}

/* ---- Icon Box ---- */
.icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
  border: 1px solid rgba(234, 179, 8, 0.2);
  color: #eab308;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ---- Table Grid Background ---- */
.felt-bg {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26, 92, 42, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(15, 61, 26, 0.4) 0%, transparent 50%);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .btn-gold, .btn-outline-gold {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
