/* ============================================================
   0042 — Dark Knight Aesthetic
   HHpoker Club | 德扑圈 ACE Official
   Pure black + silver metallic + geometric angular cuts
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --black-void: #000000;
  --black-deep: #0a0a0a;
  --black-carbon: #111111;
  --silver-dark: #1a1a1a;
  --silver-mid: #2a2a2a;
  --silver-bright: #4a4a4a;
  --silver-light: #9ca3af;
  --silver-glow: #c0c0c0;
  --accent-cool: #94a3b8;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-metallic: #374151;
  --glow-argent: 0 0 30px rgba(148,163,184,0.15);
  --glow-argent-strong: 0 0 60px rgba(148,163,184,0.25);
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #000000;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #000000;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Selection --- */
::selection {
  background: rgba(148,163,184,0.3);
  color: #ffffff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #374151; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* --- Metallic Brushed Border Effect --- */
.metallic-border {
  position: relative;
  border: 1px solid #374151;
  background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
}
.metallic-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.008) 2px,
    rgba(255,255,255,0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* --- Angular Cut Corners --- */
.angle-cut {
  clip-path: polygon(
    20px 0, 100% 0,
    100% calc(100% - 20px), calc(100% - 0px) 100%,
    0 100%, 0 20px
  );
}
.angle-cut-tl {
  clip-path: polygon(
    30px 0, 100% 0,
    100% 100%, 0 100%,
    0 30px
  );
}
.angle-cut-tr {
  clip-path: polygon(
    0 0, calc(100% - 30px) 0,
    100% 30px, 100% 100%,
    0 100%, 0 0
  );
}

/* --- Silver Glow Line --- */
.glow-line {
  position: relative;
}
.glow-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #64748b, #94a3b8, #64748b, transparent);
  opacity: 0.6;
}

/* --- Diagonal Accent --- */
.diagonal-accent {
  position: absolute;
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, #94a3b8, transparent);
  transform: rotate(-30deg);
  opacity: 0.3;
}

/* --- Card Hover Lift --- */
.card-lift {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--glow-argent);
  border-color: #6b7280;
}

/* --- Shimmer Button --- */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%);
  border: 1px solid #4b5563;
  color: #e2e8f0;
  transition: all 0.4s ease;
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.6s ease;
}
.btn-shimmer:hover::before { left: 100%; }
.btn-shimmer:hover {
  border-color: #9ca3af;
  box-shadow: var(--glow-argent);
  color: #ffffff;
}

/* --- Primary CTA Button --- */
.btn-argent {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 50%, #94a3b8 100%);
  border: 1px solid #9ca3af;
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.4s ease;
  text-shadow: none;
}
.btn-argent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}
.btn-argent:hover::before { left: 100%; }
.btn-argent:hover {
  box-shadow: var(--glow-argent-strong);
  transform: translateY(-2px);
}

/* --- Section Title --- */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e2e8f0;
  position: relative;
  display: inline-block;
}
.section-title .accent {
  color: #94a3b8;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #94a3b8, transparent);
}

/* --- Gradient Divider --- */
.divider-argent {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #374151 20%, #64748b 50%, #374151 80%, transparent);
}

/* --- Number Counter (Stat) --- */
.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* --- Geometric Background Pattern --- */
.geo-bg {
  position: relative;
}
.geo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, #111111 12%, transparent 12.5%),
    linear-gradient(-30deg, #111111 12%, transparent 12.5%);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

/* --- Nav Link --- */
.nav-link {
  position: relative;
  color: #94a3b8;
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #94a3b8;
  transition: width 0.3s ease;
}
.nav-link:hover { color: #e2e8f0; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #e2e8f0; }
.nav-link.active::after { width: 100%; }

/* --- Pulse Dot --- */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #94a3b8;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- Float Animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* --- Fade In Up --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* --- Stagger delays --- */
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* --- Geometric Frame (for hero) --- */
.geo-frame {
  position: relative;
}
.geo-frame::before,
.geo-frame::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: #4b5563;
  border-style: solid;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}
.geo-frame::before {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
}
.geo-frame::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 2px 2px 0;
}

/* --- Badge --- */
.badge-argent {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(148,163,184,0.1);
  border: 1px solid #374151;
  color: #94a3b8;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* --- Price / Chip Visual --- */
.chip-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #4b5563;
  background: radial-gradient(circle at 30% 30%, #1f2937, #0a0a0a);
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.75rem;
}

/* --- Mobile Menu --- */
@media (max-width: 768px) {
  .section-title { font-size: 1.75rem; }
  .stat-number { font-size: 2.5rem; }
  .mobile-menu-open { display: block !important; }
}

/* --- Step Number --- */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #4b5563;
  background: #0a0a0a;
  color: #94a3b8;
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
}
.step-number::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #374151;
  opacity: 0.5;
}

/* --- Platform Icon wrapper --- */
.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111111, #1a1a1a);
  border: 1px solid #374151;
  transition: all 0.4s ease;
}
.platform-icon:hover {
  border-color: #6b7280;
  box-shadow: var(--glow-argent);
}
.platform-icon i {
  font-size: 2rem;
  color: #94a3b8;
}

/* --- FAQ Accordion style --- */
.faq-item {
  border-bottom: 1px solid #1f2937;
  cursor: pointer;
}
.faq-item .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-bottom: 1rem;
}

/* --- Table metallic --- */
.table-metallic th {
  background: #111111;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border-bottom: 2px solid #374151;
}
.table-metallic td {
  border-bottom: 1px solid #1f2937;
  color: #cbd5e1;
}

/* --- VIP tier glow --- */
.vip-titanium {
  border-color: #64748b !important;
  box-shadow: 0 0 40px rgba(100,116,139,0.2);
}
.vip-platinum {
  border-color: #94a3b8 !important;
  box-shadow: 0 0 50px rgba(148,163,184,0.25);
}
.vip-diamond {
  border-color: #bae6fd !important;
  box-shadow: 0 0 60px rgba(186,230,253,0.3);
}
