/* ========== HHpoker 德州俱乐部 - 主样式表 ========== */

:root {
  --pri: #4f46e5;
  --pri2: #7c3aed;
  --pri3: #a78bfa;
  --gold: #f59e0b;
  --bg0: #0b0d17;
  --bg1: #111527;
  --bg2: #181c30;
  --bor: #232844;
  --tx1: #f1f5f9;
  --tx2: #94a3b8;
  --gr: linear-gradient(135deg, #4f46e5, #7c3aed);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: var(--bg0);
  color: var(--tx1);
  line-height: 1.6;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(11,13,23,0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(79,70,229,0.12);
  transition: border-color 0.3s;
}
.navbar.lit { border-bottom-color: rgba(79,70,229,0.3); }

.nav-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 800; font-size: 1.3rem; color: #fff;
}
.nav-logo i { color: var(--gold); font-size: 1.5rem; }
.nav-logo em { font-style: normal; background: var(--gr); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-list {
  display: flex; list-style: none; align-items: center; gap: 30px;
}
.nav-list a {
  text-decoration: none; color: var(--tx2); font-weight: 500;
  font-size: 0.93rem; transition: color 0.25s;
}
.nav-list a:hover { color: #fff; }
.nav-cta {
  background: var(--gr); color: #fff !important;
  padding: 10px 24px !important; border-radius: 50px !important;
  font-weight: 600 !important; font-size: 0.88rem !important;
  box-shadow: 0 4px 20px rgba(79,70,229,0.4);
  transition: all 0.3s !important;
}
.nav-cta:hover { box-shadow: 0 8px 28px rgba(79,70,229,0.55); transform: translateY(-1px); }

.nav-hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-list {
    position: fixed; top: 70px; left: 0; width: 100%;
    background: rgba(11,13,23,0.98); backdrop-filter: blur(18px);
    flex-direction: column; gap: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.4s, padding 0.4s;
  }
  .nav-list.expanded { max-height: 400px; padding: 12px 0; }
  .nav-list li { width: 100%; text-align: center; padding: 14px 0; }
}

/* ===== Hero ===== */
.hero {
  padding: 130px 24px 100px;
  background: radial-gradient(ellipse at 30% 0%, #1e1b4b 0%, #0b0d17 60%);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-row {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 56px; position: relative; z-index: 1;
}
.hero-copy { flex: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,158,11,0.12); color: var(--gold);
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.84rem; font-weight: 700; margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 22px;
}
.hero-copy h1 .hl { background: linear-gradient(135deg, #a78bfa, #c4b5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-copy p {
  font-size: 1.08rem; color: var(--tx2); margin-bottom: 32px;
  max-width: 530px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-glow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gr); color: #fff;
  padding: 14px 34px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  box-shadow: 0 6px 30px rgba(79,70,229,0.45);
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(79,70,229,0.6); }

.btn-ring {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  padding: 13px 30px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: all 0.3s; cursor: pointer;
}
.btn-ring:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

.hero-img { flex: 0 0 430px; }
.hero-img img {
  width: 100%; border-radius: 18px;
  box-shadow: 0 24px 70px rgba(79,70,229,0.3);
  border: 1px solid rgba(124,58,237,0.2);
}

@media (max-width: 968px) {
  .hero-row { flex-direction: column; gap: 36px; }
  .hero-copy h1 { font-size: 2rem; }
  .hero-img { flex: 0 0 auto; max-width: 430px; width: 100%; }
}

/* ===== Features ===== */
.features {
  padding: 100px 24px; background: var(--bg1);
}
.sec-top {
  text-align: center; margin-bottom: 60px;
}
.sec-chip {
  display: inline-block;
  background: rgba(124,58,237,0.12); color: #a78bfa;
  padding: 5px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 14px;
}
.sec-top h2 { font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.sec-top p { font-size: 1.05rem; color: var(--tx2); max-width: 560px; margin: 0 auto; }

.feat-row {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feat-tile {
  background: var(--bg2); border: 1px solid var(--bor);
  border-radius: 16px; padding: 34px 28px;
  transition: all 0.35s; position: relative; overflow: hidden;
}
.feat-tile:hover {
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 0 40px rgba(79,70,229,0.1);
  transform: translateY(-4px);
}
.feat-tile::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(124,58,237,0.06) 0%, transparent 70%);
  border-radius: 0 0 0 80px;
}
.feat-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px; position: relative; z-index: 1;
}
.feat-icon.v { background: rgba(79,70,229,0.18); color: #818cf8; }
.feat-icon.g { background: rgba(245,158,11,0.18); color: #fbbf24; }
.feat-icon.t { background: rgba(16,185,129,0.18); color: #34d399; }

.feat-tile h3 { font-size: 1.12rem; font-weight: 700; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; }
.feat-tile p { font-size: 0.9rem; color: var(--tx2); line-height: 1.7; position: relative; z-index: 1; }

@media (max-width: 768px) {
  .feat-row { grid-template-columns: 1fr; }
}

/* ===== Stats ===== */
.stats {
  padding: 90px 24px;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%);
}
.stat-boxes {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center;
}
.stat-unit {
  padding: 30px 14px; border: 1px solid var(--bor);
  border-radius: 14px; background: var(--bg2);
  transition: border-color 0.3s;
}
.stat-unit:hover { border-color: rgba(124,58,237,0.4); }
.stat-val {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block; line-height: 1.2;
}
.stat-desc { font-size: 0.88rem; color: var(--tx2); margin-top: 6px; font-weight: 500; }

@media (max-width: 768px) {
  .stat-boxes { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 24px; background: var(--bg0);
}
.testi-row {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.testi-panel {
  background: var(--bg2); border: 1px solid var(--bor);
  border-radius: 16px; padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testi-panel:hover {
  border-color: rgba(124,58,237,0.35);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.testi-rating { color: var(--gold); margin-bottom: 12px; font-size: 0.85rem; }
.testi-msg { color: var(--tx2); font-size: 0.93rem; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(124,58,237,0.3); }
.testi-person h4 { font-size: 0.93rem; font-weight: 700; color: #fff; }
.testi-person small { font-size: 0.78rem; color: var(--tx2); }

@media (max-width: 768px) { .testi-row { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq {
  padding: 100px 24px; background: var(--bg1);
}
.faq-stack {
  max-width: 780px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-entry {
  background: var(--bg2); border: 1px solid var(--bor);
  border-radius: 14px; overflow: hidden; transition: border-color 0.3s;
}
.faq-entry:hover { border-color: rgba(124,58,237,0.3); }
.faq-trigger {
  width: 100%; background: none; border: none;
  color: #fff; font-size: 1.02rem; font-weight: 600;
  padding: 20px 24px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-trigger i { color: var(--pri3); font-size: 0.8rem; transition: transform 0.3s; }
.faq-entry.active .faq-trigger i { transform: rotate(180deg); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s, padding 0.4s;
}
.faq-entry.active .faq-body { max-height: 200px; padding: 0 24px 20px; }
.faq-body p { color: var(--tx2); font-size: 0.93rem; line-height: 1.7; }

/* ===== CTA ===== */
.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 50%, #4c1d95 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-core { max-width: 660px; margin: 0 auto; position: relative; z-index: 1; }
.cta-core h2 { font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 18px; }
.cta-core p { font-size: 1.1rem; color: rgba(255,255,255,0.72); margin-bottom: 32px; line-height: 1.7; }
.cta-core .btn-glow { background: #fff; color: #4f46e5; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.cta-core .btn-glow:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

/* ===== Footer ===== */
.footer {
  background: #070911; padding: 56px 24px 28px; border-top: 1px solid var(--bor);
}
.foot-grid {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px;
}
.foot-col h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.foot-col p, .foot-col a {
  font-size: 0.87rem; color: var(--tx2); text-decoration: none;
  display: block; margin-bottom: 8px; line-height: 1.6; transition: color 0.2s;
}
.foot-col a:hover { color: #a78bfa; }
.foot-end {
  max-width: 1140px; margin: 36px auto 0; padding-top: 24px;
  border-top: 1px solid var(--bor); text-align: center;
  font-size: 0.82rem; color: var(--tx2);
}

@media (max-width: 768px) { .foot-grid { flex-direction: column; gap: 24px; } }

/* Animations */
.fade-on {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-on.in { opacity: 1; transform: translateY(0); }
