/* ============================================
   HHPOKER 联盟 - 高端竞技落地页
   Design System: Amber Gold Premium
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --gold-50:  #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #F59E0B;
  --gold-600: #d97706;
  --gold-700: #b45309;
  --gold-800: #92400e;
  --gold-900: #78350f;

  --dark-900: #0a0a0a;
  --dark-800: #111111;
  --dark-700: #1a1a1a;
  --dark-600: #222222;

  --font-heading: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark-900);
  color: #e5e5e5;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold-500);
  color: var(--dark-900);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-800); }
::-webkit-scrollbar-thumb { background: var(--gold-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* --- Typography --- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(245, 158, 11, 0.06);
  margin-bottom: 1.25rem;
}

.section-badge i { font-size: 0.7rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.08);
  padding: 0.65rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--dark-900);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--dark-900) !important;
  border-radius: 9999px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em;
  transition: all var(--transition-base) !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.45);
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  }
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.13;
  pointer-events: none;
}

.hero-bg-orb.orb-1 {
  width: 600px; height: 600px;
  background: var(--gold-500);
  top: -200px; right: -150px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero-bg-orb.orb-2 {
  width: 400px; height: 400px;
  background: var(--gold-600);
  bottom: -100px; left: -100px;
  animation: orbFloat2 10s ease-in-out infinite;
}

.hero-bg-orb.orb-3 {
  width: 250px; height: 250px;
  background: var(--gold-400);
  top: 50%; left: 50%;
  animation: orbFloat3 14s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -20px) scale(1.08); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  33% { transform: translate(-45%, -55%) scale(1.1); }
  66% { transform: translate(-55%, -48%) scale(0.9); }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #999;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--dark-900);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background: rgba(245, 158, 11, 0.06);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.15);
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover {
  transform: translateY(-8px);
}

.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image-glow {
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600), var(--gold-400));
  opacity: 0.4;
  filter: blur(30px);
  z-index: -1;
}

.hero-floating-badge {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: var(--dark-800);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 3;
}

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

.hero-floating-badge .badge-dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}

.hero-floating-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* --- Section Common --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark { background: var(--dark-900); }
.section-darker { background: var(--dark-800); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

/* Divider */
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  border-radius: 2px;
  margin: 1.5rem auto;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--dark-700);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(245, 158, 11, 0.08);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon.amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
  color: var(--gold-400);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.12);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: #999;
  line-height: 1.7;
}

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--gold-400);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.feature-card .feature-link:hover { gap: 0.6rem; }
.feature-card .feature-link i { font-size: 0.7rem; }

/* --- Strategy Detail Section --- */
.strategy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .strategy-row { grid-template-columns: 1fr; gap: 2.5rem; }
}

.strategy-visual {
  position: relative;
}

.strategy-card-stack {
  position: relative;
  height: 340px;
}

.strategy-card-stack .stack-card {
  position: absolute;
  background: var(--dark-700);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all var(--transition-base);
}

.stack-card.card-1 {
  top: 0; left: 0; right: 40px; z-index: 3;
}

.stack-card.card-2 {
  top: 40px; left: 30px; right: 10px; z-index: 2;
  opacity: 0.7;
}

.stack-card.card-3 {
  top: 80px; left: 60px; right: 0; z-index: 1;
  opacity: 0.4;
}

.stack-card:hover {
  transform: translateX(8px) translateY(-4px);
  border-color: var(--gold-500);
}

.stack-card .card-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-400);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.stack-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.stack-card p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

.strategy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.strategy-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(245, 158, 11, 0.03);
  border: 1px solid rgba(245, 158, 11, 0.08);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.strategy-list li:hover {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateX(5px);
}

.strategy-list .list-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-900);
  font-size: 0.9rem;
}

.strategy-list .list-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.strategy-list .list-content p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
}

/* --- Beginner Steps --- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 992px) {
  .steps-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .steps-container { grid-template-columns: 1fr; }
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-500), var(--gold-500), transparent);
  opacity: 0.2;
  z-index: 0;
}

@media (max-width: 992px) {
  .steps-container::before { display: none; }
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--dark-700);
  border: 2px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-400);
  margin: 0 auto 1.5rem;
  transition: all var(--transition-base);
  position: relative;
}

.step-item:hover .step-number {
  background: var(--dark-600);
  border-color: var(--gold-500);
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
  transform: scale(1.05);
}

.step-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-item p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.6;
}

/* --- Elite Club Section --- */
.club-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .club-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .club-cards { grid-template-columns: 1fr; }
}

.club-card {
  background: linear-gradient(180deg, var(--dark-700) 0%, var(--dark-800) 100%);
  border: 1px solid rgba(245, 158, 11, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.club-card.featured {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--dark-800) 100%);
  transform: scale(1.03);
}

.club-card.featured::after {
  content: '推荐';
  position: absolute;
  top: 16px; right: -30px;
  background: var(--gold-500);
  color: var(--dark-900);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
}

.club-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.club-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.club-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-400);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.club-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.club-card .club-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  margin: 1.25rem 0 0.25rem;
}

.club-card .club-stat-label {
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.club-features {
  list-style: none;
  text-align: left;
  margin: 1.75rem 0;
}

.club-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: #bbb;
}

.club-features li i { color: var(--gold-500); font-size: 0.75rem; }

.club-join-btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.club-join-btn.primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--dark-900);
}

.club-join-btn.primary:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.club-join-btn.secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.club-join-btn.secondary:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

/* --- Stats Section --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--dark-700);
  border: 1px solid rgba(245, 158, 11, 0.06);
  border-radius: 16px;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  background: var(--dark-600);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-400);
  font-family: var(--font-heading);
  margin-bottom: 0.35rem;
}

.stat-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-500);
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- CTA Download Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card {
  position: relative;
  background: var(--dark-700);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.cta-card h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-card p {
  font-size: 1.05rem;
  color: #999;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  background: var(--dark-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-dl:hover {
  border-color: var(--gold-500);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-dl i { font-size: 1.2rem; }

/* --- Footer --- */
.footer {
  background: var(--dark-800);
  border-top: 1px solid rgba(245, 158, 11, 0.08);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  color: #888;
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: #888;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Counter Animation --- */
.counter-animate {
  transition: all 0.3s ease;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--dark-900);
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}

/* --- Particle effect container --- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* --- Loading shimmer --- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Glow pulse for CTA buttons --- */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(245, 158, 11, 0.35); }
  50% { box-shadow: 0 6px 50px rgba(245, 158, 11, 0.55); }
}

.btn-primary { animation: glowPulse 3s ease-in-out infinite; }

/* --- Custom scroll offset for fixed nav --- */
html { scroll-padding-top: 100px; }

/* ============================================
   END OF STYLESHEET
   ============================================ */
