/* ============================================================
   0029 - HHPoker Landing Page - Custom Styles
   Primary: Deep Purple (#581c87, #7e22ce, #9333ea, #a855f7)
   ============================================================ */

/* ---------- Root Variables ---------- */
:root {
  --primary-900: #3b0764;
  --primary-800: #581c87;
  --primary-700: #7e22ce;
  --primary-600: #9333ea;
  --primary-500: #a855f7;
  --primary-400: #c084fc;
  --primary-300: #d8b4fe;
  --primary-200: #e9d5ff;
  --primary-100: #f3e8ff;
}

/* ---------- Smooth Scroll ---------- */
html {
  scroll-behavior: smooth;
}

/* ---------- Hexagonal Icon Containers ---------- */
.hex-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  position: relative;
  margin-bottom: 8px;
}

.hex-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9333ea, #581c87);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 0;
}

.hex-icon-wrapper i,
.hex-icon-wrapper .hex-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 28px;
}

/* ---------- Diagonal Ribbon on Testimonial Cards ---------- */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card .ribbon {
  position: absolute;
  top: 16px;
  right: -32px;
  width: 120px;
  background: linear-gradient(135deg, #7e22ce, #a855f7);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 0;
  transform: rotate(45deg);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(126, 34, 206, 0.3);
  letter-spacing: 1px;
}

.testimonial-card .quote-icon {
  font-size: 48px;
  color: #d8b4fe;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ---------- Gradient Text for Stats Numbers ---------- */
.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #581c87, #9333ea, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* ---------- Animated Pattern CTA Background ---------- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #3b0764 0%, #581c87 30%, #7e22ce 60%, #a855f7 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.2) 2px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(147, 51, 234, 0.2) 3px, transparent 3px),
    radial-gradient(circle at 80% 20%, rgba(216, 180, 254, 0.15) 4px, transparent 4px),
    radial-gradient(circle at 40% 80%, rgba(192, 132, 252, 0.2) 2px, transparent 2px);
  background-size: 80px 80px, 120px 120px, 100px 100px, 90px 90px;
  background-position: 0 0, 40px 20px, 20px 40px, 60px 10px;
  animation: patternFloat 20s linear infinite;
  z-index: 0;
}

@keyframes patternFloat {
  0% { transform: translate(0, 0); }
  25% { transform: translate(10px, -10px); }
  50% { transform: translate(-5px, -20px); }
  75% { transform: translate(-15px, -5px); }
  100% { transform: translate(0, 0); }
}

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

/* ---------- Pricing-Style Club Cards ---------- */
.club-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.club-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(88, 28, 135, 0.15);
  border-color: #a855f7;
}

.club-card.featured {
  border-color: #9333ea;
  box-shadow: 0 8px 32px rgba(147, 51, 234, 0.2);
}

.club-card .club-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #9333ea, #7e22ce);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.club-card .club-header {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  padding: 48px 24px 24px;
  text-align: center;
}

.club-card .club-price {
  font-size: 42px;
  font-weight: 800;
  color: #581c87;
}

.club-card .club-price span {
  font-size: 16px;
  font-weight: 500;
  color: #9333ea;
}

.club-card .club-features {
  padding: 24px;
}

.club-card .club-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f3e8ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.club-card .club-features li:last-child {
  border-bottom: none;
}

.club-card .club-features li i.fa-check {
  color: #9333ea;
}

/* ---------- Accordion (FAQ) ---------- */
.faq-accordion .faq-item {
  border-bottom: 1px solid #e9d5ff;
}

.faq-accordion .faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #3b0764;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-accordion .faq-question:hover {
  color: #9333ea;
}

.faq-accordion .faq-question i {
  transition: transform 0.3s ease;
  color: #a855f7;
  font-size: 14px;
}

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

.faq-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-accordion .faq-answer.open {
  max-height: 300px;
  padding-bottom: 18px;
}

.faq-accordion .faq-answer p {
  color: #6b21a8;
  line-height: 1.7;
}

/* ---------- Hero Section ---------- */
.hero-gradient {
  background: linear-gradient(135deg, #3b0764 0%, #581c87 30%, #7e22ce 60%, #a855f7 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-btn-primary {
  background: #fff;
  color: #581c87;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
}

.hero-btn-primary:hover {
  background: #e9d5ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
}

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

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper img {
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

/* ---------- Feature Card ---------- */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  border: 1px solid #f3e8ff;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(88, 28, 135, 0.1);
  border-color: #d8b4fe;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #9333ea, #a855f7, transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* ---------- Stats Section ---------- */
.stats-section {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #d8b4fe 100%);
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: #faf5ff;
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background: rgba(59, 7, 100, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.navbar-custom .nav-link {
  color: #d8b4fe;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

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

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a855f7;
  transition: width 0.3s;
}

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

/* ---------- Footer ---------- */
.footer-section {
  background: #1a0328;
  color: #d8b4fe;
}

.footer-section a {
  color: #c084fc;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(168, 85, 247, 0.15);
}

/* ---------- Download Page ---------- */
.download-steps {
  counter-reset: step;
}

.download-steps .step-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 32px;
}

.download-steps .step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #9333ea, #581c87);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Button Styles ---------- */
.btn-primary-custom {
  background: linear-gradient(135deg, #7e22ce, #a855f7);
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #581c87, #9333ea);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(126, 34, 206, 0.4);
  color: #fff;
}

.btn-outline-custom {
  border: 2px solid #a855f7;
  color: #a855f7;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  background: transparent;
}

.btn-outline-custom:hover {
  background: #a855f7;
  color: #fff;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 36px;
  }
}
