:root {
  --monad-dark: #0a051e;
  --monad-purple: #2e1065;
  --monad-neon: #a855f7;
  --gold-primary: #FFD700;
  --gold-secondary: #FDB931;
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #C6930A 100%);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --font-display: 'Russo One', sans-serif;
  --font-body: 'Inter', sans-serif;
  --angle: 0deg; /* CSS variable for border spin animation */
}

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--monad-dark);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- DYNAMIC BACKGROUND (UPDATED FOR CLARITY) --- */
#dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20; 
    background-size: cover;
    background-position: center center;
    transition: background-image 0.5s ease-in-out, opacity 0.5s ease-in-out, filter 0.5s ease;
    
    /* MODIFIED: Full opacity and no darkening filter */
    opacity: 1; 
    filter: saturate(1.1); 
}

/* --- OVERLAYS --- */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -3;
  /* Optional: Lower canvas opacity if it interferes with the image */
  opacity: 0.5; 
}

.noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnIj48ZmVTdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNnKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
  z-index: -1;
  pointer-events: none;
  /* MODIFIED: Hidden to remove graininess */
  display: none; 
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle, transparent 40%, #000 120%);
  z-index: -1;
  pointer-events: none;
  /* MODIFIED: Hidden to remove dark corners */
  display: none; 
}

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  background: #0a051e; 
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.loader.loaded { opacity: 0; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo { font-family: var(--font-display); font-size: 3rem; color: var(--gold-primary); margin-bottom: 20px; animation: pulse 1s infinite; }
.loader-bar { width: 200px; height: 2px; background: #333; overflow: hidden; }
.loader-progress { width: 0%; height: 100%; background: var(--gold-primary); transition: width 0.1s; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 1.2rem 5%; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(10,5,30,0.8); 
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-mark { 
  width: 40px; height: 40px; 
  background: var(--gold-gradient); 
  color: #000;
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; border-radius: 8px;
}
.logo-text { font-family: var(--font-display); letter-spacing: 1px; }

.nav-center { display: flex; gap: 3rem; }

.nav-item { 
  position: relative; 
  text-decoration: none; 
  color: rgba(255,255,255,0.7); 
  font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
  overflow: hidden; height: 20px; display: block;
}
.nav-text, .nav-hover { display: block; transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1); }
.nav-hover { position: absolute; top: 100%; left: 0; color: var(--gold-primary); font-weight: 800; }
.nav-item:hover .nav-text { transform: translateY(-100%); }
.nav-item:hover .nav-hover { transform: translateY(-100%); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.icon-btn { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.8rem; opacity: 0.7; transition: 0.3s; }
.icon-btn:hover { opacity: 1; color: var(--gold-primary); }
.btn-primary-small { 
  padding: 0.6rem 1.2rem; background: var(--gold-primary); 
  color: #000; text-decoration: none; font-weight: 800; font-size: 0.8rem; 
  border-radius: 4px; transition: 0.3s;
}
.btn-primary-small:hover { box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); transform: scale(1.05); }

/* --- SECTIONS --- */

main section {
    padding: 120px 5%; 
    position: relative; 
    min-height: 100vh;
    z-index: 2; 
    /* MODIFIED: Removed dark background and blur for full clarity */
    background-color: transparent; 
    backdrop-filter: none;
}

.hero {
  padding: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-inner {
    width: 100%;
    max-width: 1200px;
    padding: 150px 0 50px;
    display: flex;
    justify-content: flex-start;
    z-index: 5;
}

.hero-content { 
    flex: 0 0 650px; 
    max-width: 650px; 
    padding-right: 50px;
}

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; color: var(--monad-neon);
  margin-bottom: 20px;
}
.dot { width: 6px; height: 6px; background: #0f0; border-radius: 50%; box-shadow: 0 0 10px #0f0; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.5rem); 
  line-height: 0.95; 
  margin-bottom: 25px;
}
.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-sub {
  font-size: 1.3rem; 
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 40px;
}

.ca-box {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 25px;
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 40px;
}
/* Content Boxes: Solid Dark Panels for Clarity */
.glass-panel {
  background: var(--monad-dark); 
  backdrop-filter: none; 
  border: 1px solid var(--gold-primary); 
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 0 15px rgba(255, 215, 0, 0.1); 
}
.ca-label { color: var(--gold-primary); font-weight: 800; }
#ca-text { font-family: monospace; color: #fff; letter-spacing: 0.5px; }
#copy-btn { background: none; border: none; color: #fff; cursor: pointer; transition: 0.3s; }
#copy-btn:hover { color: var(--gold-primary); transform: scale(1.1); }

/* Luxury Button */
.btn-luxury {
  position: relative;
  display: inline-block;
  padding: 1.2rem 3rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #000;
  text-decoration: none;
  background: var(--gold-gradient);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s;
  z-index: 1; 
}
.btn-luxury:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3); }

/* Border Pulse Glow */
.btn-luxury::before {
  content: '';
  position: absolute;
  inset: -3px; 
  background: conic-gradient(from var(--angle), var(--gold-primary), transparent 50%, var(--gold-primary));
  border-radius: 6px;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s;
}

.btn-luxury:hover::before {
  opacity: 1;
}

/* Liquid effect remains */
.liquid {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
  opacity: 0; transform: scale(0.5); transition: 0.5s; pointer-events: none;
}
.btn-luxury:hover .liquid { opacity: 0.3; transform: scale(1); }

/* --- MARQUEE --- */
.marquee-strip {
  background: var(--gold-primary);
  color: #000;
  padding: 15px 0;
  overflow: hidden;
  transform: rotate(-2deg) scale(1.05);
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-top: 50px; 
}
.marquee-content {
  display: flex; width: fit-content;
  animation: scroll 20s linear infinite;
}
.marquee-content span {
  white-space: nowrap; font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; padding-right: 2rem;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.33%); } }

/* --- CONTENT SECTIONS (Solid Dark Panels for Clarity) --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.section-title { font-family: var(--font-display); font-size: 3.5rem; line-height: 1.1; margin-bottom: 30px; }
.gold-text { color: var(--gold-primary); }
.divider { width: 60px; height: 4px; background: var(--monad-neon); margin-bottom: 30px; }
.lead-text { font-size: 1.5rem; color: #fff; margin-bottom: 20px; font-weight: 500; }
.body-text { color: #9ca3af; font-size: 1.1rem; line-height: 1.7; }

/* ABOUT SECTION (Built for Warfare) - Content Box */
#about .grid-2 { 
    grid-template-columns: 1fr; 
    background: var(--monad-dark);
    backdrop-filter: none; 
    border: 1px solid var(--gold-primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
    padding: 30px;
    border-radius: 12px;
    max-width: 900px; 
    margin: 0 auto;
}

/* TOKENOMICS SECTION (The Vault) - Content Box */
.center-header { text-align: center; }
.token-showcase {
    background: var(--monad-dark); 
    backdrop-filter: none; 
    border: 1px solid var(--gold-primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    grid-template-columns: 1fr;
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 60px auto 0;
}
.token-img-center { display: none; } 

.stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem; margin-bottom: 15px; border-radius: 8px; transition: 0.3s;
}
.stat-row:hover { transform: translateX(15px); background: rgba(255,255,255,0.08); border-color: var(--gold-primary); }
.stat-label { font-family: var(--font-display); font-size: 1.2rem; color: #a1a1aa; }
.stat-value { font-family: var(--font-display); font-size: 2rem; color: #fff; }
.stat-value.counter { min-width: 150px; text-align: right; }

/* HOW TO BUY SECTION (Secure the Bag) - Content Box */
#howtobuy .grid-2 {
    background: var(--monad-dark); 
    backdrop-filter: none; 
    border: 1px solid var(--gold-primary); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    grid-template-columns: 1fr;
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

/* Hidden elements */
#about .visual-col, #howtobuy .visual-col {
    display: none;
}

/* --- STEPS --- */
.step-item { display: flex; gap: 20px; margin-bottom: 40px; }
.step-num { 
  font-family: var(--font-display); font-size: 3rem; color: transparent; 
  -webkit-text-stroke: 1px var(--monad-neon); opacity: 0.5;
}
.step-content h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.step-content p { color: #9ca3af; }

/* --- FOOTER --- */
footer { background: #000; padding: 80px 5%; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-container { text-align: center; max-width: 600px; margin: 0 auto; }
.footer-brand h1 { font-family: var(--font-display); font-size: 4rem; color: var(--gold-primary); margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 1px; transition: 0.3s; }
.footer-links a:hover { color: var(--gold-primary); }
.disclaimer { font-size: 0.8rem; color: #555; margin-bottom: 20px; }
.copyright { color: #333; font-size: 0.8rem; }

/* --- ANIMATIONS --- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
@keyframes pulseRing { 0% { width: 300px; height: 300px; opacity: 0.5; } 100% { width: 450px; height: 450px; opacity: 0; } }

/* Utility classes for Scroll Reveal */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Mobile */
@media (max-width: 768px) {
  .hero-inner { padding-left: 0; padding-right: 0; }
  .hero-content { flex: 1; padding: 0 5%; text-align: center; }
  .hero { flex-direction: column; padding-top: 120px; }
  .grid-2, .token-showcase { grid-template-columns: 1fr; gap: 3rem; }
  .reverse-mobile { display: flex; flex-direction: column-reverse; }
  .nav-center { display: none; } 
  .logo-mark { width: 30px; height: 30px; font-size: 1rem; }
  .hero-title { font-size: 3rem; }
  #dynamic-bg { display: none; } 
  
  /* Reset background styles for mobile text areas */
  #about .grid-2, .token-showcase, #howtobuy .grid-2 {
      background: none;
      padding: 0;
      backdrop-filter: none;
      border: none;
      box-shadow: none;
  }
}