.header {
  position: fixed; top: 0; left: 0; width: 100%; height: 50px;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-soft);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px; margin: 0 auto; height: 100%; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo + hamburger */
/* Logo + hamburger */
.left-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-wrapper img {
  height: 40px;
  width: auto;
  display: block;
}

/* Hamburger */
.hamburger { width: 20px; height: 15px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburger span { height: 3px; width: 100%; background: var(--text-main); border-radius: 3px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1){ transform: rotate(45deg) translate(5px,5px);}
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform: rotate(-45deg) translate(6px,-6px); }

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0; 
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: radial-gradient(circle at top, #111634, #060812);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 30px;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  transform: translateX(100%); /* start hidden */
  z-index: 999;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left; 
  align-items: flex-start !important;
}

/* Update your CSS to replace the previous ::before block */

.menu-content a {
  display: flex; /* Ensure the symbol and text align vertically */
  align-items: center; 
  font-size: 25px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap !important;
  text-align: left;
}


.menu-content a::before {
  content: '⬡';
  margin-right: 15px; /* Space from text */
  color: #4facfe; /* Web3 Blue color */
  font-size: 15px; /* Slightly larger than text to pop */
  line-height: 1; /* Stops it from pushing text down */
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(79, 172, 254, 0.7); /* Subtle Blue Glow */
  opacity: 0.8; /* Slightly faded when not selected */
}

/* THE HOVER EFFECT */
.menu-content a:hover {
  color: #fff; /* White text on hover */
  transform: translateX(8px); /* Moves title slightly right */
}

.menu-content a:hover::before {
  color: #fff; /* Turn the arrow white on hover */
  transform: scale(1.1); /* Pop the arrow * */
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8); /* Fills the arrow with a white glow */
}

/* Nav buttons */
.nav-btn-outline,.nav-btn-filled,.intro .nav-btn-buy { font-family:'Poppins', sans-serif; font-weight:600; border-radius:6px; cursor:pointer; transition:all 0.3s ease; text-decoration:none; }

/* HEADER ACTION BUTTONS (Desktop & Mobile) */
.header-actions {
  display: flex;
  gap: 8px;              /* Small gap between buttons */
  align-items: center;
}

/* OUTLINE BUTTON (Whitepaper) */
.header-actions .nav-btn-outline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;        /* Smaller than Buy */
  padding: 6px 16px;      /* Smaller padding */
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4ff, #4facfe);
  color: #fff;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 212, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.header-actions .nav-btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* FILLED BUTTON (Dashboard) */
.header-actions .nav-btn-filled {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;        /* Smaller than Buy */
  padding: 6px 16px;      /* Smaller padding */
  border-radius: 8px;
  background: linear-gradient(135deg, #00d4ff, #4facfe);
  color: #fff;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 212, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-actions .nav-btn-filled:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}


/* =========================
   LOGO BOTTOM HEADER MOBILE ADJUSTMENTS
========================= */
@media (max-width: 768px) {

   menu-overlay {
    width: 100%;
    padding: 50px 20px; /* smaller padding for mobile */
   }
  
  .left-group {
    gap: 4px;
    margin-left: 0;
    flex-shrink: 0;
  }

  .logo-wrapper img {
    height: 32px;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
    flex-direction: row;
  }

  .header-actions .nav-btn-outline,
  .header-actions .nav-btn-filled {
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* Small mobile */
@media (max-width: 480px) {

  .menu-overlay {
    width: 100%;
  }

  .left-group {
    gap: 15px;
  }

  .logo-wrapper img {
    height: 30px;
  }

  .header-actions {
    margin-left: auto;
    gap: 4px;
  }

  .header-actions .nav-btn-outline,
  .header-actions .nav-btn-filled {
    font-size: 9px;
    padding: 3px 8px;
  }
}

/* 1. The Wrapper becomes the fixed anchor */
.top-nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* 2. THE ANNOUNCEMENT BAR (Positioned 64px from the top) */
.announcement-bar {
  position: fixed;
  top: 50px;       /* Matches header height perfectly */
  left: 0;
  width: 100%;
  height: 30px;    /* Fixed height for the bar */
  background-color: #000;
  color: #fff;
  z-index: 999;    /* Just below the header */
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 3. THE MOVEMENT */
.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 4. PREVENT CONTENT OVERLAP */
/* Since Header (64px) + Bar (30px) = 94px, push your page content down */
body {
  padding-top: 85px !important;

}


/* Target only the BUY VRTC link */
.menu-content a[href="/buy.html"] {
  animation: web3-flash 2s infinite;
  text-shadow: 0 0 5px rgba(79, 172, 254, 0.5); /* Initial soft glow */
}

@keyframes web3-flash {
  0% {
    opacity: 1;
    text-shadow: 0 0 5px rgba(79, 172, 254, 0.6);
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    /* Intense glow at the peak of the flash */
    text-shadow: 0 0 20px rgba(79, 172, 254, 1), 0 0 30px rgba(79, 172, 254, 0.6);
    transform: scale(1.02); /* Very subtle pulse */
  }
  100% {
    opacity: 1;
    text-shadow: 0 0 5px rgba(79, 172, 254, 0.6);
    transform: scale(1);
  }

}
