/* ============================================================
   HHpoker Club — Shared Stylesheet (0010)
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-primary: #4f46e5;
  --color-primary-dark: #4338ca;
  --color-primary-light: #6366f1;
  --color-accent: #f59e0b;
  --color-dark: #0f172a;
  --color-body: #64748b;
  --color-bg: #f8fafc;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -4px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 1rem 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}

/* --- Hero Decorative Blob --- */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--color-primary);
  top: -150px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: var(--color-accent);
  bottom: -100px; left: -80px;
}

/* --- Feature Card Hover --- */
.feature-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* --- Feature Icon Circle --- */
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover .icon-circle {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(79,70,229,0.3);
}

/* --- Stats Counter --- */
.counter-number {
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.stat-card:hover .counter-number {
  color: var(--color-primary);
}

/* --- Testimonial Card --- */
.testimonial-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}
.faq-question {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.faq-question:hover {
  background: #f1f5f9;
}
.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;
  padding: 0 1.5rem 1.25rem;
}
.faq-icon {
  transition: transform 0.3s;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* --- CTA Section Gradient --- */
.cta-gradient {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 50%, #6366f1 100%);
  position: relative;
  overflow: hidden;
}
.cta-gradient::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.cta-gradient::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}

/* --- Button Styles --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(79,70,229,0.35);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79,70,229,0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer-link {
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--color-primary-light);
}
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
  transition: all 0.3s;
}
.social-icon:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s;
}
.mobile-menu a:hover {
  color: var(--color-primary-light);
}

/* --- About Page Styles --- */
.about-hero {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%);
}
.about-timeline {
  position: relative;
  padding-left: 2rem;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
  border-radius: 3px;
}
.timeline-dot {
  position: absolute;
  left: -0.55rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px #c7d2fe;
}

/* --- Contact Page --- */
.contact-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all 0.3s;
  background: #fff;
}
.contact-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.1);
}
.contact-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeInUp 0.6s ease both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}
.float-animation {
  animation: float 5s ease-in-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(79,70,229,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(79,70,229,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,70,229,0); }
}
.pulse-ring {
  animation: pulse-ring 2s infinite;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* --- Page Header (About/Contact) --- */
.page-header {
  padding-top: 7rem;
  padding-bottom: 4rem;
  text-align: center;
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
  .hero-blob-1 { width: 300px; height: 300px; }
  .hero-blob-2 { width: 250px; height: 250px; }
  .icon-circle { width: 52px; height: 52px; font-size: 1.25rem; }
}
