/* ============================================================
   逸宝网 / HHpoker Landing Page - Style v5
   热情活力橙蓝风 — Warm Orange + Blue
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
.text-gradient {
  background: linear-gradient(135deg, #f97316, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-blue-grad {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 9999px;
  font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
}
.btn-primary:hover { background: linear-gradient(135deg, #ea580c, #c2410c); }
.btn-secondary {
  background: #fff; color: #f97316;
  border: 2px solid #f97316;
}
.btn-secondary:hover { background: #fff7ed; }
.btn-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}
.btn-blue:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.btn-lg { padding: 18px 40px; font-size: 1.15rem; }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(249,115,22,0.12);
  transition: all 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(249,115,22,0.12); }
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800;
}
.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-weight: 600; font-size: 0.95rem;
  color: #475569; transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #f97316; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #f97316, #ef4444);
  border-radius: 3px;
}
.nav-cta { display: flex; gap: 10px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 26px; height: 3px; background: #f97316; border-radius: 3px; transition: 0.3s; }

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 30%, #fed7aa 60%, #f97316 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -10%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 9999px;
  background: rgba(255,255,255,0.85);
  font-weight: 700; font-size: 0.85rem;
  color: #f97316;
  margin-bottom: 20px;
  border: 1px solid rgba(249,115,22,0.2);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.2;
  margin-bottom: 20px;
  color: #1e293b;
}
.hero h1 .hl { color: #f97316; }
.hero-desc {
  font-size: 1.15rem; color: #64748b;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  background: #fff; border-radius: 24px;
  padding: 40px; box-shadow: 0 30px 60px rgba(249,115,22,0.2);
  width: 100%; max-width: 420px;
  text-align: center;
}
.hero-card .card-emoji { font-size: 4rem; margin-bottom: 12px; }
.hero-card h3 { font-size: 1.4rem; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.hero-card .stars { color: #f59e0b; font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 12px; }
.hero-stats-row { display: flex; justify-content: center; gap: 28px; margin-top: 16px; }
.hero-stats-row .hs { text-align: center; }
.hero-stats-row .hs .num { font-size: 1.5rem; font-weight: 900; color: #f97316; }
.hero-stats-row .hs .lbl { font-size: 0.8rem; color: #94a3b8; }

/* --- Section Common --- */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  padding: 6px 18px; border-radius: 9999px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fff7ed; color: #f97316;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.5rem; font-weight: 900; color: #1e293b;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 1.1rem; color: #64748b; max-width: 600px;
  margin: 0 auto;
}

/* --- Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  border-radius: 24px; padding: 36px 28px;
  color: #fff; position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.18); }
.feature-card:nth-child(1) { background: linear-gradient(145deg, #f97316, #ea580c); }
.feature-card:nth-child(2) { background: linear-gradient(145deg, #ef4444, #dc2626); }
.feature-card:nth-child(3) { background: linear-gradient(145deg, #f59e0b, #d97706); }
.feature-card:nth-child(4) { background: linear-gradient(145deg, #fb923c, #f97316); }
.feature-card:nth-child(5) { background: linear-gradient(145deg, #f43f5e, #e11d48); }
.feature-card:nth-child(6) { background: linear-gradient(145deg, #d946ef, #c026d3); }
.feature-card .fc-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; opacity: 0.9; line-height: 1.7; }

/* --- Stats Progress Bars --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 900px; margin: 0 auto;
}
.stat-item { }
.stat-item .stat-label {
  display: flex; justify-content: space-between;
  font-weight: 700; font-size: 0.95rem;
  margin-bottom: 10px;
  color: #334155;
}
.stat-item .stat-label span:last-child {
  color: #f97316;
}
.stat-bar {
  height: 14px; background: #e2e8f0;
  border-radius: 9999px; overflow: hidden;
}
.stat-bar-fill {
  height: 100%; border-radius: 9999px;
  background: linear-gradient(90deg, #f97316, #ea580c, #ef4444);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.stat-bar-fill::after {
  content: '';
  position: absolute; right: 2px; top: 2px; bottom: 2px;
  width: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff; border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.testimonial-card .t-quote {
  font-size: 5rem; line-height: 1;
  color: #f97316; opacity: 0.25;
  position: absolute; top: 16px; left: 20px;
  font-family: Georgia, serif;
}
.testimonial-card p {
  font-size: 0.95rem; color: #475569;
  line-height: 1.7; margin-bottom: 20px;
  position: relative; z-index: 1;
  padding-top: 20px;
}
.testimonial-card .t-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}
.testimonial-card .t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #fb923c);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.testimonial-card .t-name { font-weight: 700; color: #1e293b; }
.testimonial-card .t-role { font-size: 0.8rem; color: #94a3b8; }

/* --- CTA --- */
.cta-section {
  padding: 100px 0;
  position: relative;
}
.cta-inner {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 40%, #c2410c 100%);
  border-radius: 32px;
  padding: 70px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}
.cta-inner::before {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner h2 {
  font-size: 2.5rem; font-weight: 900; margin-bottom: 16px;
  position: relative;
}
.cta-inner p {
  font-size: 1.1rem; opacity: 0.9;
  margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-inner .btn {
  background: #fff; color: #f97316;
  position: relative;
}
.cta-inner .btn:hover { background: #fff7ed; }

/* --- Footer --- */
.footer-wave svg { display: block; width: 100%; margin-bottom: -2px; }
.footer-wave svg path { fill: #f97316; }
.footer {
  background: #1e293b; color: #cbd5e1;
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { font-size: 1.4rem; color: #fff; margin-bottom: 12px; font-weight: 800; }
.footer-brand h3 span { color: #f97316; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; opacity: 0.8; }
.footer-col h4 { font-size: 0.95rem; color: #fff; margin-bottom: 18px; font-weight: 700; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: #94a3b8; transition: color 0.2s; }
.footer-col ul li a:hover { color: #f97316; }
.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.15);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: #64748b;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(148,163,184,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: all 0.2s;
  font-size: 0.9rem;
}
.footer-social a:hover { background: #f97316; color: #fff; transform: translateY(-3px); }

/* --- Page-specific: Download --- */
.download-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 40%, #bfdbfe 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-hero::before {
  content: '';
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.download-hero h1 { font-size: 2.8rem; font-weight: 900; color: #1e293b; position: relative; margin-bottom: 14px; }
.download-hero p { color: #64748b; font-size: 1.1rem; position: relative; max-width: 600px; margin: 0 auto 40px; }
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px; margin: 0 auto;
}
.dl-card {
  background: #fff; border-radius: 24px;
  padding: 40px 28px; text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}
.dl-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.14); border-color: #f97316; }
.dl-card .dl-icon { font-size: 3.5rem; margin-bottom: 16px; }
.dl-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: #1e293b; }
.dl-card p { font-size: 0.9rem; color: #64748b; margin-bottom: 20px; }
.dl-card .dl-info { font-size: 0.85rem; color: #94a3b8; margin-bottom: 20px; }
.dl-card .dl-info span { color: #f97316; font-weight: 600; }

.dl-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  text-align: center;
}
.dl-step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.dl-step h4 { font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.dl-step p { font-size: 0.85rem; color: #64748b; }

.dl-warning {
  background: #fef3c7; border: 1px solid #fcd34d;
  border-radius: 16px; padding: 20px 28px;
  margin-top: 40px; max-width: 800px; margin-left: auto; margin-right: auto;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: #92400e;
}
.dl-warning .warn-icon { font-size: 1.5rem; flex-shrink: 0; }

/* --- Page-specific: Club --- */
.club-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, #fdf2f8 0%, #fce7f3 30%, #fbcfe8 60%, #f9a8d4 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.club-hero h1 { font-size: 2.8rem; font-weight: 900; color: #1e293b; position: relative; margin-bottom: 14px; }
.club-hero p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; position: relative; }

.club-id-box {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 20px;
  padding: 18px 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  position: relative;
  font-size: 1.5rem; font-weight: 800;
  color: #e11d48; letter-spacing: 0.05em;
  cursor: pointer; transition: transform 0.2s;
}
.club-id-box:hover { transform: scale(1.05); }
.club-id-box .copy-btn {
  font-size: 0.85rem; padding: 8px 18px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff; border: none; border-radius: 9999px;
  cursor: pointer; font-weight: 600;
  transition: all 0.2s;
}
.club-id-box .copy-btn:hover { opacity: 0.9; }

.club-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.club-benefit-card {
  background: #fff; border-radius: 24px;
  padding: 32px 24px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid #f97316;
  transition: transform 0.3s, box-shadow 0.3s;
}
.club-benefit-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.club-benefit-card .bc-icon { font-size: 2.8rem; margin-bottom: 14px; }
.club-benefit-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; color: #1e293b; }
.club-benefit-card p { font-size: 0.9rem; color: #64748b; line-height: 1.7; }

.club-tables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.club-table-card {
  background: linear-gradient(145deg, #1e293b, #334155);
  border-radius: 20px; padding: 28px 20px; text-align: center; color: #fff;
  transition: transform 0.3s;
}
.club-table-card:hover { transform: translateY(-6px); }
.club-table-card .table-type { font-size: 1.6rem; margin-bottom: 8px; }
.club-table-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.club-table-card .table-count { font-size: 0.85rem; color: #f97316; font-weight: 600; }

/* --- Service / FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: box-shadow 0.2s;
  border-left: 4px solid transparent;
}
.faq-item:hover, .faq-item.open { box-shadow: 0 6px 24px rgba(0,0,0,0.1); border-left-color: #f97316; }
.faq-item .faq-q { font-weight: 700; color: #1e293b; display: flex; justify-content: space-between; align-items: center; }
.faq-item .faq-q::after { content: '+'; font-size: 1.3rem; color: #f97316; font-weight: 400; transition: transform 0.3s; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-item .faq-a { font-size: 0.9rem; color: #64748b; margin-top: 10px; display: none; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 6px 20px rgba(249,115,22,0.35);
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* --- Customer Service Float --- */
.cs-float {
  position: fixed; bottom: 90px; right: 30px; z-index: 998;
  display: flex; flex-direction: column; gap: 10px;
}
.cs-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s;
  font-size: 1.2rem;
}
.cs-btn:hover { transform: scale(1.12); }
.cs-btn-wechat { background: #22c55e; color: #fff; }
.cs-btn-qq { background: #2563eb; color: #fff; }
.cs-btn-message { background: #f97316; color: #fff; }

.cs-tooltip {
  display: none; position: absolute; right: 58px; top: 50%;
  transform: translateY(-50%);
  background: #1e293b; color: #fff;
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.8rem; white-space: nowrap;
}
.cs-btn:hover .cs-tooltip { display: block; }

/* --- Copy Toast --- */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  background: #22c55e; color: #fff;
  padding: 12px 28px; border-radius: 9999px;
  font-weight: 600; z-index: 9999;
  opacity: 0; transition: opacity 0.4s;
}
.toast.show { opacity: 1; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero h1 { font-size: 2.3rem; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%); padding: 50px 28px; }
  .cta-inner h2 { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }
  .dl-steps { grid-template-columns: repeat(2, 1fr); }
  .download-cards { grid-template-columns: 1fr; }
  .club-benefits { grid-template-columns: 1fr; }
  .club-tables { grid-template-columns: 1fr; }

  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 20px;
    border-bottom: 2px solid #f97316;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  }
  .nav-cta.mobile-open { display: flex; flex-direction: column; padding: 0 20px 20px; background: #fff; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dl-steps { grid-template-columns: 1fr; }
}
