/* ============================================
   HHPoker Landing Page - Dark Neon Cyan Theme
   Set 0031 - External Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --cyan-700: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-300: #22d3ee;
  --dark-bg: #0f172a;
  --dark-bg-secondary: #1e293b;
  --dark-bg-card: rgba(30, 41, 59, 0.6);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --neon-glow: 0 0 10px rgba(6, 182, 212, 0.5), 0 0 30px rgba(6, 182, 212, 0.2);
  --neon-glow-strong: 0 0 15px rgba(6, 182, 212, 0.7), 0 0 50px rgba(6, 182, 212, 0.3), 0 0 80px rgba(6, 182, 212, 0.15);
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(6, 182, 212, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(8, 145, 178, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(34, 211, 238, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: var(--cyan-300);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--cyan-500);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Glowing Text Shadow for Headings --- */
.glowing-heading {
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5), 0 0 30px rgba(6, 182, 212, 0.2), 0 0 60px rgba(6, 182, 212, 0.1);
}

.neon-text {
  color: var(--cyan-300);
  text-shadow: 0 0 7px rgba(34, 211, 238, 0.6), 0 0 20px rgba(34, 211, 238, 0.3);
}

/* --- Cyan Glow Borders --- */
.glow-border {
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1), inset 0 0 10px rgba(6, 182, 212, 0.05);
}

.glow-border-strong {
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2), 0 0 30px rgba(6, 182, 212, 0.1);
}

/* --- Glassmorphism Cards --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 25px rgba(6, 182, 212, 0.2);
  transform: translateY(-4px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  border-bottom-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.navbar .logo i {
  color: var(--cyan-300);
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-300);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
}

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

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

.nav-cta-btn {
  background: linear-gradient(135deg, var(--cyan-700), var(--cyan-500));
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
  transition: var(--transition-base);
}

.nav-cta-btn:hover {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.5) !important;
  transform: translateY(-2px);
}

.nav-cta-btn::after {
  display: none !important;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .nav-cta-btn {
    display: inline-block;
    margin: 8px 0;
  }
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #0a1d2f 40%, #062a3a 70%, #06b6d4 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.15);
}

.hero-text h1 .highlight {
  color: var(--cyan-300);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.6), 0 0 30px rgba(34, 211, 238, 0.3);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-700), var(--cyan-500));
  color: #fff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.55);
  transform: translateY(-3px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--cyan-300);
  border: 2px solid var(--cyan-500);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
  transform: translateY(-3px);
  color: var(--cyan-300);
}

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

.hero-image img {
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(6, 182, 212, 0.25);
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 280px;
  }
}

/* --- Section Common --- */
.section {
  padding: 100px 24px;
  position: relative;
}

.section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.4), 0 0 35px rgba(6, 182, 212, 0.15);
}

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

/* --- Features Section --- */
.features-section {
  background: linear-gradient(180deg, #0f172a 0%, #111d33 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-base);
  box-shadow: var(--glass-shadow);
}

.feature-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.2);
  transform: translateY(-6px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 16px;
  font-size: 1.5rem;
  color: var(--cyan-300);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
  background: rgba(6, 182, 212, 0.18);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Stats Section --- */
.stats-section {
  background: #0f172a;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cyan-300);
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.5), 0 0 40px rgba(34, 211, 238, 0.2), 0 0 70px rgba(34, 211, 238, 0.1);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--cyan-300);
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

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

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 1.8rem;
  }
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: linear-gradient(180deg, #111d33 0%, #0f172a 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.testimonial-info .role {
  font-size: 0.85rem;
  color: var(--cyan-300);
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

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

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

/* --- FAQ Section --- */
.faq-section {
  background: #0f172a;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition-base);
}

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

.faq-question i {
  font-size: 0.9rem;
  color: var(--cyan-300);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: var(--cyan-300);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
}

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

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #062a3a 50%, #0891b2 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.4), 0 0 40px rgba(6, 182, 212, 0.15);
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: #0a1220;
  border-top: 1px solid rgba(6, 182, 212, 0.15);
  padding: 60px 24px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-base);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* --- Download Page Specific --- */
.download-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #0f172a 0%, #062a3a 70%, #06b6d4 100%);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-card {
  padding: 40px 24px;
  text-align: center;
}

.download-card .dl-icon {
  font-size: 2.5rem;
  color: var(--cyan-300);
  margin-bottom: 16px;
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
  display: block;
}

.download-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.download-card .btn {
  width: 100%;
  justify-content: center;
}

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

/* --- Club Page Specific --- */
.club-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #0f172a 0%, #062a3a 70%, #06b6d4 100%);
}

.club-features-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.club-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.club-feature-item i {
  font-size: 1.5rem;
  color: var(--cyan-300);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
  margin-top: 2px;
  flex-shrink: 0;
}

.club-feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

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

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6), 0 0 50px rgba(6, 182, 212, 0.2);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-700);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-500);
}
