/* ===== HHPoker Landing Page 0028 - Custom Styles ===== */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Root Variables ---- */
:root {
  --primary-deep: #1e3a8a;
  --primary: #1d4ed8;
  --primary-mid: #2563eb;
  --primary-light: #60a5fa;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-glass: 0 8px 32px rgba(30, 58, 138, 0.12);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(30, 58, 138, 0.15);
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.navbar .logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  transition: var(--transition);
  letter-spacing: -0.5px;
}

.navbar.scrolled .logo-text {
  color: var(--primary-deep);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--gray-700);
}

.navbar .nav-link:hover {
  color: #fff;
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

.navbar .btn-nav {
  background: #fff;
  color: var(--primary-deep);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .btn-nav:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25);
}

.navbar.scrolled .btn-nav {
  background: var(--primary);
  color: #fff;
}

.navbar.scrolled .btn-nav:hover {
  background: var(--primary-deep);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--primary-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--primary-deep);
}

/* ---- Hero Section ---- */
.hero-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 30%, #2563eb 60%, #60a5fa 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  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.3); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: #fff;
  color: var(--primary-deep);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.btn-outline-hero {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero-image-wrapper .glow-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96,165,250,0.25) 0%, transparent 70%);
  z-index: 1;
  animation: float-glow 6s ease-in-out infinite;
}

@keyframes float-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

/* ---- Features Section ---- */
.features-section {
  background: var(--gray-50);
  padding: 100px 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Glassmorphism Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.9);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-mid));
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.6rem;
}

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

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Ring Indicator */
.ring-indicator {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}

.ring-indicator svg {
  transform: rotate(-90deg);
}

.ring-indicator .ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 6;
}

.ring-indicator .ring-fill {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}

.ring-indicator .ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.stat-card .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ---- Testimonials Section ---- */
.testimonials-section {
  padding: 100px 0;
  background: #fff;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px 30px 30px;
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

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

.testimonial-card .quote-mark {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-card .testimonial-text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.testimonial-card .testimonial-author .author-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.testimonial-card .testimonial-author .author-role {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ---- FAQ Section ---- */
.faq-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.faq-number.c1 { background: #1e3a8a; }
.faq-number.c2 { background: #1d4ed8; }
.faq-number.c3 { background: #2563eb; }
.faq-number.c4 { background: #3b82f6; }
.faq-number.c5 { background: #60a5fa; }
.faq-number.c6 { background: #1e40af; }

.faq-question-text {
  flex: 1;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1.02rem;
}

.faq-arrow {
  font-size: 1.2rem;
  color: var(--gray-600);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.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 80px;
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96,165,250,0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-cta {
  background: #fff;
  color: var(--primary-deep);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  background: var(--primary-light);
  color: #fff;
}

/* ---- Footer ---- */
.footer-section {
  background: var(--gray-900);
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-section .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  font-size: 0.9rem;
  line-height: 2.2;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
}

.footer-bottom {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Page Hero (download.html, club.html) ---- */
.page-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(96,165,250,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.page-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* ---- Download Cards ---- */
.download-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.download-card .platform-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.download-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn-download {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-download:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
}

/* ---- Club Cards ---- */
.club-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-glass);
}

.club-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.club-card .club-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.club-card .club-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.club-card h3 {
  font-weight: 700;
  color: var(--gray-900);
}

.club-card .club-features {
  list-style: none;
  padding: 0;
}

.club-card .club-features li {
  padding: 6px 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.club-card .club-features li i {
  color: #10b981;
  font-size: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .cta-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .navbar .nav-links-desktop {
    display: none;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-section {
    text-align: center;
    padding-top: 100px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .cta-title {
    font-size: 1.8rem;
  }
  .page-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .stats-section .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
