:root {
  --gold: #f5c842;
  --gold-dark: #c9a020;
  --gold-glow: rgba(245, 200, 66, 0.35);
  --green: #00e676;
  --green-dark: #00c853;
  --bg: #06060c;
  --bg-elevated: #0e0e18;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --border: rgba(245, 200, 66, 0.12);
  --border-strong: rgba(245, 200, 66, 0.35);
  --white: #ffffff;
  --text: #e8e8f0;
  --text-muted: #8888a8;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.gold {
  background: linear-gradient(135deg, var(--gold) 0%, #ffe566 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Confetti */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image:
    radial-gradient(circle, var(--gold) 1px, transparent 1px),
    radial-gradient(circle, var(--green) 1px, transparent 1px),
    radial-gradient(circle, #ff6b9d 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px, 100px 100px;
  background-position: 0 0, 40px 40px, 20px 60px;
  animation: confettiDrift 20s linear infinite;
  opacity: 0.06;
}

@keyframes confettiDrift {
  from { background-position: 0 0, 40px 40px, 20px 60px; }
  to { background-position: 0 800px, 40px 840px, 20px 860px; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(6, 6, 12, 0.6);
  backdrop-filter: blur(8px);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: rgba(6, 6, 12, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-x {
  font-size: 1.1rem !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-buy {
  background: linear-gradient(135deg, #a67c00 0%, #d4a017 45%, #f5c842 100%);
  color: #0a0a0f;
  border-color: rgba(245, 200, 66, 0.45);
  box-shadow:
    0 4px 24px rgba(245, 200, 66, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-buy:hover {
  background: linear-gradient(135deg, #c9a020 0%, #f5c842 50%, #ffe566 100%);
  border-color: rgba(255, 229, 102, 0.6);
  box-shadow:
    0 8px 32px rgba(245, 200, 66, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background: rgba(18, 18, 31, 0.75);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
  background: rgba(26, 26, 46, 0.9);
  border-color: var(--border-strong);
  color: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.btn-x {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-x:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 6, 12, 0.7) 0%, rgba(6, 6, 12, 0.85) 50%, rgba(6, 6, 12, 0.98) 100%),
    radial-gradient(ellipse at center top, rgba(245, 200, 66, 0.08) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 0 5rem;
}

.hero-logo {
  width: min(180px, 40vw);
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 60px var(--gold-glow), 0 0 120px rgba(245, 200, 66, 0.12);
  margin-bottom: 1.5rem;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 60px var(--gold-glow), 0 0 120px rgba(245, 200, 66, 0.12); }
  50% { box-shadow: 0 0 80px var(--gold-glow), 0 0 160px rgba(245, 200, 66, 0.22); }
}

.hero-tag {
  display: inline-block;
  background: rgba(245, 200, 66, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  color: var(--white);
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(18, 18, 31, 0.8);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  padding: 0.6rem 0.6rem 0.6rem 1.2rem;
  backdrop-filter: blur(8px);
}

.ca-label {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.ca-box code {
  color: var(--text);
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  background: rgba(245, 200, 66, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-copy:hover {
  background: rgba(245, 200, 66, 0.18);
  border-color: var(--gold);
  color: #ffe566;
}

.btn-copy.copied {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.45);
  color: var(--green);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  background: rgba(245, 200, 66, 0.06);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* About */
.about {
  background: var(--bg-elevated);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.about-card.featured {
  background: linear-gradient(145deg, #1a1a2e 0%, #0e0e18 100%);
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(245, 200, 66, 0.08);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.stat {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(245, 200, 66, 0.1);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  background: linear-gradient(135deg, var(--gold), #ffe566);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.stat-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* How to Buy */
.howtobuy {
  background: var(--bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.step p strong {
  color: var(--gold);
}

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

/* Chart */
.chart-section {
  background: var(--bg-elevated);
}

.chart-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: #080810;
}

.chart-wrap iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Gallery */
.gallery-section {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  border: 2px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  background: var(--bg-card);
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(245, 200, 66, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Join Us */
.joinus {
  position: relative;
  padding: 0;
  background: var(--bg);
  color: var(--white);
  overflow: hidden;
}

.joinus-banner {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.joinus-banner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.55) saturate(0.85);
}

.joinus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 12, 0.3) 0%, rgba(6, 6, 12, 0.9) 75%, var(--bg) 100%);
}

.joinus-content {
  position: relative;
  padding: 3rem 0 6rem;
  margin-top: -4rem;
  z-index: 2;
  text-align: center;
}

.joinus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--green);
}

/* Footer */
.footer {
  background: #030308;
  color: var(--text-muted);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.footer p {
  font-size: 0.9rem;
  max-width: 500px;
}

.footer-ca code {
  color: var(--gold);
  font-family: monospace;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.copyright {
  font-size: 0.8rem !important;
  opacity: 0.5;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  box-shadow: 0 0 80px var(--gold-glow);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 80vw);
    height: 100vh;
    background: rgba(6, 6, 12, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s;
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .about-grid,
  .steps,
  .gallery-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .chart-wrap iframe {
    height: 450px;
  }

  .joinus-banner img {
    height: 260px;
  }
}
