/* ===== 0004 - HHpoker官网首页 自定义样式 ===== */

html { scroll-behavior: smooth; }

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(79, 70, 229, 0); }
}

.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.btn-glow { animation: pulse-glow 2s infinite; }

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.feature-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
}

.feature-icon { transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }

.stat-item { transition: all 0.3s ease; }
.stat-item:hover { transform: translateY(-5px); }

.testimonial-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.faq-item:hover { border-color: rgba(79, 70, 229, 0.2); }

.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; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.35s ease; }

.mobile-menu { transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }

.hero-gradient {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 30%, #c7d2fe 60%, #ddd6fe 100%);
}

.cta-gradient {
  background: linear-gradient(135deg, #312e81 0%, #4338ca 30%, #4f46e5 60%, #6366f1 100%);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.hero-image-container { position: relative; }

.hero-image-container::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4f46e5, #818cf8, #6366f1);
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
}

.btn-download { position: relative; overflow: hidden; }

.btn-download::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-download:hover::before { width: 300px; height: 300px; }

.breadcrumb { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); }
.page-header { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%); }
