/* ========================================
   德扑圈APP官网丨HHpoker俱乐部 - Custom Styles
   ======================================== */

html {
  scroll-behavior: smooth;
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Feature card */
.feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
}
.feature-icon {
  transition: all 0.3s ease;
}

/* Testimonial card */
.testimonial-card {
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}
.faq-question {
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.faq-question:hover {
  color: #2563eb;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1rem;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  max-height: 400px;
}

/* Navbar scroll */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* CTA pulse */
.cta-pulse {
  animation: pulse 2s infinite;
}

/* Hero float */
.hero-float {
  animation: float 6s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button ripple */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* About page */
.about-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
}

.team-card {
  transition: all 0.3s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

/* Contact page */
.contact-input {
  transition: all 0.3s ease;
  border: 2px solid #e5e7eb;
}
.contact-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.contact-info-card {
  transition: all 0.3s ease;
}
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

/* Back to top */
.back-to-top {
  transition: all 0.3s ease;
}
.back-to-top:hover {
  transform: translateY(-3px);
}

/* Stats background */
.stats-section {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
  background-size: 200% 200%;
  animation: gradientBG 6s ease infinite;
}

/* Section divider */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
  border: none;
  width: 80px;
  margin: 0 auto;
  border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #2563eb, #3b82f6); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1d4ed8; }

/* Stats number */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Badge pulse */
.badge-pulse {
  animation: pulse 2s infinite;
}
