:root {
  --primary: #c8960c;
  --primary-light: #e8bf4a;
  --bg-dark: #09080c;
  --surface: #13110a;
  --surface-sec: #1e1a0e;
  --text-main: #f5e9b0;
  --text-sec: #a8996a;
  --success: #4caf6e;
  --border: #3a2e10;
  --gradient: linear-gradient(90deg, #c8960c, #e8bf4a);

  --font-display: "Cinzel", serif;
  --font-body: "DM Sans", sans-serif;
  --font-accent: "Cinzel Decorative", serif;

  --radius-sm: 8px;
  --radius-pill: 999px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg-dark);
  font-weight: 700;
}
.btn-primary:hover {
  box-shadow: 0 0 15px rgba(200, 150, 12, 0.4);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--primary);
}
.btn-secondary:hover {
  background: rgba(200, 150, 12, 0.1);
  border-color: var(--primary-light);
}

/* Utilities */
.text-gold {
  color: var(--primary);
}
.text-sec {
  color: var(--text-sec);
}
.text-center {
  text-align: center;
}
.bg-dark {
  background-color: var(--bg-dark);
}
.bg-surface {
  background-color: var(--surface);
}

.font-cinzel {
  font-family: var(--font-display);
}

section {
  padding: 72px 5%;
}
@media (max-width: 767px) {
  section {
    padding: 48px 5%;
  }
}

.section-header {
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 32px;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  line-height: 1.2;
}
.section-header.center h2 {
  border-left: none;
  padding-left: 0;
  text-align: center;
}

/* Navbar - Default dark for inner pages */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5%;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 12px 5%;
} /* Shrink on scroll */

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: space-between;
  margin-left: 40px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-actions {
  display: flex;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
}

/* Hero (Bonus Page) */
.hero {
  position: relative;
  width: 100vw;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 180px 5% 80px;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-dark) 40%, transparent 100%);
  z-index: -1;
}
.hero-content {
  max-width: 680px;
  z-index: 1;
  text-align: center;
}
.hero h1 {
  font-size: 44px;
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero p {
  font-size: 18px;
  color: var(--text-sec);
  margin-bottom: 40px;
}

/* Standard Content */
.content-p {
  font-size: 16px;
  color: var(--text-sec);
  margin-bottom: 24px;
  line-height: 1.7;
}
.content-h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 32px 0 12px;
}

/* Bullet Lists */
.bullet-list {
  margin: 24px 0;
}
.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.9;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  transform: rotate(45deg);
}

/* Split Section */
.split-section {
  display: grid;
  align-items: center;
  gap: 48px;
}
.split-text-first {
  grid-template-columns: 6fr 4fr;
}
.split-img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* Promo Cards Grid */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 24px;
  min-height: 160px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.promo-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.promo-card h3 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 12px;
}
.promo-card p {
  font-size: 14px;
  color: var(--text-sec);
  flex-grow: 1;
}

/* Referral CSS Card */
.referral-demo-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
}
.referral-demo-card h4 {
  font-family: var(--font-body);
  font-size: 18px;
  margin-bottom: 24px;
}
.referral-input-group {
  display: flex;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  align-items: center;
}
.referral-input-group span {
  flex-grow: 1;
  padding: 0 16px;
  color: var(--text-sec);
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* VIP Section */
.vip-section {
  position: relative;
  background: var(--surface);
}
.vip-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.vip-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.vip-card {
  background: var(--surface-sec);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 24px;
  position: relative;
}
.vip-tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--bg-dark);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body);
  white-space: nowrap;
}
.vip-card h3 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-main);
}
.vip-card.top-tier {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(200, 150, 12, 0.15);
  transform: scale(1.03);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-bottom: 40px;
}
.step-item {
  position: relative;
  padding-right: 20px;
}
.step-num-bg {
  font-family: var(--font-accent);
  font-size: 64px;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: 0;
  line-height: 1;
  z-index: 0;
}
.step-content {
  position: relative;
  z-index: 1;
  padding-top: 10px;
}
.step-content h3 {
  font-family: var(--font-body);
  font-size: 20px;
  margin-bottom: 12px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-sec);
}
.steps-grid.desktop-divider .step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border);
}

/* Terms Note */
.terms-note {
  background: var(--surface-sec);
  border-radius: var(--radius-sm);
  border-left: 3px solid #4a3a10;
  padding: 24px;
  font-size: 13px;
  color: var(--text-sec);
  font-style: italic;
  margin-top: 40px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 18px;
  text-align: left;
}
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: var(--transition);
}
.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}
.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}
.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-sec);
  font-size: 15px;
  line-height: 1.7;
}
.faq-answer-inner {
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: -8px;
}

/* Footer */
footer {
  background: var(--surface);
  padding: 60px 5% 24px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary);
}
.footer-col p {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-sec);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-sec);
}
.license-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--border);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 1023px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid.desktop-divider .step-item::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-left: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 24px 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  }
  .navbar.menu-open .nav-menu {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 20px;
    margin-bottom: 24px;
  }
  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .nav-actions .btn {
    width: 100%;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero h1 {
    font-size: 28px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-text-first .split-img {
    order: -1;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .vip-grid {
    grid-template-columns: 1fr;
  }
  .vip-card.top-tier {
    order: -1;
    transform: none;
    margin-bottom: 16px;
  } /* Top tier first on mobile */

  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .floating-cta .btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }
  .floating-cta .btn::after {
    content: "↑";
    font-size: 20px;
    color: var(--bg-dark);
  }
}
