/* ============================================================
   HHPOKER - Dark Mode Luxury Style
   Color Palette: #0a0a0f (deepest), #1a1a2e (dark),
                  #d4af37 (gold), #f0c060 (light gold)
============================================================ */

/* === CSS Variables === */
:root {
  --bg-deep: #0a0a0f;
  --bg-dark: #111119;
  --bg-card: rgba(20, 20, 40, 0.6);
  --bg-glass: rgba(15, 15, 30, 0.75);
  --gold: #d4af37;
  --gold-light: #f0c060;
  --gold-pale: #f5deb3;
  --text-primary: #e8e6e3;
  --text-secondary: #b0ada8;
  --text-muted: #6b6770;
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-card: rgba(255, 255, 255, 0.06);
  --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
  --glow-gold-strong: 0 0 40px rgba(212, 175, 55, 0.5);
  --font-heading: 'Georgia', 'Noto Serif SC', serif;
  --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(240, 192, 96, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(26, 26, 46, 0.5) 0%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 0;
}

section {
  position: relative;
  z-index: 1;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f0c060 0%, #d4af37 30%, #e5c36b 60%, #b8942e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-accent {
  color: var(--gold);
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.7rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-logo:hover {
  color: var(--gold-light);
  text-shadow: var(--glow-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

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

.nav-download-btn {
  background: linear-gradient(135deg, #d4af37, #b8942e);
  color: #0a0a0f !important;
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: all 0.3s !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: none;
  cursor: pointer;
}

.nav-download-btn:hover {
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5) !important;
  transform: translateY(-2px);
  color: #0a0a0f !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.mobile-menu-btn:hover {
  background: var(--border-gold);
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(240, 192, 96, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-ornament {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ornament.left {
  top: 15%;
  left: -80px;
}

.hero-ornament.right {
  bottom: 10%;
  right: -60px;
  border-color: rgba(212, 175, 55, 0.08);
}

.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(212, 175, 55, 0.06);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #b8942e);
  color: #0a0a0f;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.55);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  border: 1.5px solid var(--border-gold);
  cursor: pointer;
  transition: all 0.35s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

/* === Features Section === */
.features {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.feature-card {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-gold);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === Stats Section === */
.stats {
  padding: 5rem 2rem;
  background: rgba(212, 175, 55, 0.02);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  font-family: var(--font-heading);
  background: linear-gradient(180deg, #f0c060, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.6rem;
  letter-spacing: 0.5px;
}

/* === Testimonials Section === */
.testimonials {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.testimonial-card {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
}

.testimonial-stars {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #8b7332);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0f;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* === FAQ Section === */
.faq {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.faq-question {
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.02rem;
  transition: color 0.3s;
  user-select: none;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question i {
  color: var(--gold);
  transition: transform 0.35s;
  font-size: 0.85rem;
}

.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 1.5rem 1.3rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* === CTA Section === */
.cta {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 4rem 3rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Footer === */
.footer {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-card);
  padding: 4rem 2rem 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  font-family: var(--font-body);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.7rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-card);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--glow-gold);
}

/* === Club Page Specific === */
.club-hero {
  min-height: 50vh;
  padding-top: 6rem;
}

.club-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.club-card {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s;
  position: relative;
}

.club-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--glow-gold);
}

.club-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #d4af37, #8b7332);
  color: #0a0a0f;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.club-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.club-card .club-id {
  color: var(--gold);
  font-family: monospace;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.club-card .club-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.club-info-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.club-info-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.club-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.club-tag {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
}

/* === Download Page Specific === */
.download-hero {
  min-height: 50vh;
  padding-top: 6rem;
}

.download-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.download-card {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s;
}

.download-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

.download-card-icon {
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.download-card h3 {
  margin-bottom: 0.6rem;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.install-steps {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #b8942e);
  color: #0a0a0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h4 {
  font-family: var(--font-body);
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* === Page Hero (inner pages) === */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1.8rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-gold);
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .hero {
    padding: 5rem 1.2rem 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .features, .testimonials, .faq, .cta {
    padding: 4rem 1.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .club-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

.animate-in {
  animation: fadeInUp 0.7s ease forwards;
}

.pulse-glow {
  animation: pulse-gold 2.5s ease-in-out infinite;
}
