/* ============================================
   HHpoker Club - Warm Orange Vitality Theme
   Custom Styles
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --warm-bg-start: #fffbeb;
  --warm-bg-end: #fff7ed;
  --card-bg: #ffffff;
  --text-dark: #1c1917;
  --text-muted: #78716c;
  --text-light: #fafaf9;
  --gradient-warm: linear-gradient(135deg, #f97316, #f59e0b);
  --gradient-hero: linear-gradient(135deg, #ffedd5 0%, #fed7aa 50%, #fdba74 100%);
  --shadow-card: 0 4px 24px rgba(249, 115, 22, 0.12);
  --shadow-hover: 0 12px 36px rgba(249, 115, 22, 0.22);
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 40%, #ffedd5 100%);
  color: #1c1917;
  overflow-x: hidden;
}

/* ---- Selection ---- */
::selection {
  background: #f97316;
  color: #fff;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #ffedd5;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f97316, #f59e0b);
  border-radius: 3px;
}

/* ---- Glass Card ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(249, 115, 22, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 115, 22, 0.28);
}

/* ---- Gradient Button ---- */
.btn-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gradient-warm);
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-warm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ea580c, #d97706);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn-warm:hover::after {
  opacity: 1;
}

.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.48);
}

.btn-outline-warm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #f97316;
  font-weight: 700;
  padding: 13px 35px;
  border-radius: 50px;
  border: 2px solid #f97316;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-warm:hover {
  background: #f97316;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

/* ---- Pulse Ring ---- */
.pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50px;
  border: 2px solid rgba(249, 115, 22, 0.5);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

/* ---- Floating Animation ---- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.float {
  animation: float 4s ease-in-out infinite;
}

.float-delay-1 {
  animation: float 4s ease-in-out 0.6s infinite;
}

.float-delay-2 {
  animation: float 4s ease-in-out 1.2s infinite;
}

/* ---- Shimmer ---- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg, #f97316, #f59e0b, #f97316);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ---- Section Title ---- */
.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}



/* ---- Hero Glow ---- */
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- Game Card ---- */
.game-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s ease;
}

.game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover img {
  transform: scale(1.08);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28, 25, 23, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

/* ---- Stat Counter ---- */
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ---- Nav Blur ---- */
.nav-blur {
  background: rgba(255, 251, 235, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}

/* ---- FAQ Accordion ---- */
.faq-item {
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #f97316;
}

/* ---- Contact Bubble ---- */
.contact-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.42);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-bubble:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(249, 115, 22, 0.55);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-glow {
    width: 280px;
    height: 280px;
  }

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

  .game-card img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .btn-warm,
  .btn-outline-warm {
    padding: 12px 28px;
    font-size: 0.875rem;
  }
}
