/* ==========================================
   Project 0086 - HHpoker Dark Green + Gold Theme
   Color: #14532d (暗夜绿) + #ca8a04 (香槟金)
   ========================================== */

/* --- CSS Variables --- */
:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --gold-600: #ca8a04;
  --gold-500: #eab308;
  --gold-400: #facc15;
  --gold-300: #fde047;
  --gold-200: #fef08a;
  --gold-100: #fef9c3;
  --dark-900: #0a0a0a;
  --dark-800: #1a1a1a;
  --dark-700: #2a2a2a;
  --light: #f8fafc;
  --white: #ffffff;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
}

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

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--dark-800);
  color: var(--light);
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  background: rgba(20, 83, 45, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-600);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(202, 138, 4, 0.2);
}

.navbar .nav-link {
  color: var(--gold-100);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold-400);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}

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

.navbar .brand-logo {
  color: var(--gold-400);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.navbar .brand-logo i {
  color: var(--gold-500);
}

/* Mobile menu */
.mobile-menu {
  background: rgba(20, 83, 45, 0.99);
  border-top: 1px solid var(--gold-600);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #0a1f0a 0%, #14532d 40%, #0d3318 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #facc15 0%, #ca8a04 50%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  color: var(--gold-200);
  font-size: 1.5rem;
  font-weight: 500;
}

.hero-desc {
  color: #a7f3d0;
  font-size: 1.1rem;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #ca8a04 0%, #eab308 100%);
  color: #0a1f0a;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(202, 138, 4, 0.4);
  display: inline-block;
  text-decoration: none;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(202, 138, 4, 0.6);
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--gold-400);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 50px;
  border: 2px solid var(--gold-600);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.hero-btn-secondary:hover {
  background: rgba(202, 138, 4, 0.1);
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-3px);
}

/* Trophy / Trust display */
.trophy-display {
  background: linear-gradient(145deg, rgba(20, 83, 45, 0.8), rgba(10, 31, 10, 0.9));
  border: 2px solid rgba(202, 138, 4, 0.3);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(202, 138, 4, 0.1);
}

.trophy-icon {
  font-size: 5rem;
  color: var(--gold-500);
  filter: drop-shadow(0 0 20px rgba(202, 138, 4, 0.5));
}

.trust-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #0a1f0a;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 4px;
}

/* --- Section common --- */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-400);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-300);
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.section-padding {
  padding: 80px 0;
}

/* --- Features Cards --- */
.feature-card {
  background: linear-gradient(145deg, #1a2a1a, #0f1f0f);
  border: 1px solid rgba(202, 138, 4, 0.2);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-600));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(202, 138, 4, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(202, 138, 4, 0.1);
}

.feature-card .icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.5), rgba(202, 138, 4, 0.15));
  border: 2px solid rgba(202, 138, 4, 0.3);
  color: var(--gold-400);
}

.feature-card h3 {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 12px;
}

.feature-card p {
  color: #9ca3af;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* certification card accent */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(202, 138, 4, 0.1);
  border: 1px solid rgba(202, 138, 4, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  color: var(--gold-400);
  font-weight: 600;
  font-size: 0.85rem;
}

/* --- Stats --- */
.stats-section {
  background: linear-gradient(135deg, #0d1f0d 0%, #14532d 50%, #0d3318 100%);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ca8a04' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.stat-badge {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--gold-100);
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 8px;
}

.stat-icon {
  font-size: 2rem;
  color: var(--gold-500);
  margin-bottom: 10px;
  opacity: 0.7;
}

/* --- Testimonials --- */
.testimonial-card {
  background: linear-gradient(145deg, #1a2a1a, #122012);
  border: 1px solid rgba(202, 138, 4, 0.15);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  position: absolute;
  top: 10px;
  left: 20px;
  color: rgba(202, 138, 4, 0.15);
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(202, 138, 4, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
  color: #d1d5db;
  font-style: italic;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  color: var(--gold-400);
  font-weight: 700;
}

.testimonial-stars {
  color: var(--gold-500);
}

/* --- FAQ Accordion --- */
.faq-item {
  background: linear-gradient(145deg, #1a2a1a, #122012);
  border: 1px solid rgba(202, 138, 4, 0.15);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(202, 138, 4, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(202, 138, 4, 0.05);
}

.faq-question {
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--gold-200);
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--gold-400);
}

.faq-question .faq-icon {
  color: var(--gold-500);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(180deg);
}

.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 24px 20px;
}

.faq-answer p {
  color: #9ca3af;
  line-height: 1.8;
  margin: 0;
}

/* Certificate-style accent */
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green-600), var(--gold-600));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px 0 0 4px;
}

.faq-item.active::before {
  opacity: 1;
}

/* --- CTA Banner --- */
.cta-section {
  background: linear-gradient(135deg, #14532d 0%, #0a1f0a 50%, #166534 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -30px;
  left: -30px;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-300);
}

.cta-btn {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #0a1f0a;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(202, 138, 4, 0.4);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(202, 138, 4, 0.6);
}

.cta-btn-outline {
  background: transparent;
  color: var(--gold-400);
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 50px;
  border: 2px solid var(--gold-600);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-btn-outline:hover {
  background: rgba(202, 138, 4, 0.1);
  border-color: var(--gold-400);
  color: var(--gold-300);
}

/* --- Footer --- */
.footer {
  background: #0a0f0a;
  border-top: 2px solid var(--gold-600);
  padding: 60px 0 30px;
}

.footer h5 {
  color: var(--gold-400);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--gold-400);
}

.footer .footer-contact p {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer .footer-contact i {
  color: var(--gold-500);
  width: 20px;
  text-align: center;
  margin-right: 8px;
}

.footer-divider {
  border-color: rgba(202, 138, 4, 0.2);
  margin: 30px 0;
}

.footer-bottom {
  color: #6b7280;
  font-size: 0.9rem;
  text-align: center;
}

/* --- Download Page --- */
.download-card {
  background: linear-gradient(145deg, #1a2a1a, #122012);
  border: 2px solid rgba(202, 138, 4, 0.2);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  border-color: rgba(202, 138, 4, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.download-card.featured {
  border-color: var(--gold-500);
  box-shadow: 0 0 30px rgba(202, 138, 4, 0.2);
}

.download-card .device-icon {
  font-size: 3rem;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.download-card h3 {
  color: var(--gold-300);
  font-weight: 700;
  font-size: 1.3rem;
}

.download-card .version {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 8px 0;
}

.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #0a1f0a;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3);
  margin-top: 16px;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(202, 138, 4, 0.5);
}

/* Safety badge */
.safety-check {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.safety-check i {
  color: var(--green-400);
  font-size: 2rem;
  margin-bottom: 10px;
}

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, #0a1f0a 0%, #14532d 50%, #0d3318 100%);
}

.value-card {
  background: linear-gradient(145deg, #1a2a1a, #122012);
  border: 1px solid rgba(202, 138, 4, 0.2);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: rgba(202, 138, 4, 0.5);
  transform: translateY(-5px);
}

.value-card .value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 83, 45, 0.5), rgba(202, 138, 4, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--gold-400);
}

.club-card {
  background: linear-gradient(145deg, #1a2a1a, #122012);
  border: 1px solid rgba(202, 138, 4, 0.2);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.club-card:hover {
  border-color: rgba(202, 138, 4, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.club-card .club-icon {
  font-size: 2.5rem;
  color: var(--gold-500);
  margin-bottom: 12px;
}

/* --- Contact Page --- */
.contact-info-card {
  background: linear-gradient(145deg, #1a2a1a, #122012);
  border: 1px solid rgba(202, 138, 4, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(202, 138, 4, 0.4);
}

.contact-info-card .contact-icon {
  color: var(--gold-500);
  font-size: 1.4rem;
}

.contact-info-card h4 {
  color: var(--gold-300);
  font-weight: 600;
  margin: 0;
}

.contact-info-card p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-group label {
  color: var(--gold-200);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  background: #1a2a1a;
  border: 1px solid rgba(202, 138, 4, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--light);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.1);
}

.contact-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #0a1f0a;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(202, 138, 4, 0.3);
  font-size: 1rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(202, 138, 4, 0.5);
}

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

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(202, 138, 4, 0.3); }
  50% { box-shadow: 0 0 40px rgba(202, 138, 4, 0.6); }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

.animate-glow {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0f0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #14532d, #ca8a04);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #15803d, #eab308);
}

/* --- Toast notification --- */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #14532d, #166534);
  border: 1px solid var(--gold-500);
  color: var(--gold-200);
  padding: 16px 24px;
  border-radius: 12px;
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.4s ease;
  font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .trophy-display {
    padding: 24px;
    margin-top: 30px;
  }
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .stat-badge {
    font-size: 2.2rem;
  }
  .cta-title {
    font-size: 1.4rem;
  }
}
