/* =========================
   GLOBAL
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'DM Sans',sans-serif;
  overflow-x:hidden;
  background:#070b16;
  color:white;
}
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 40px; /* decreased height */
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  
  /* Subtle glass effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* straight bottom line */
  border-radius: 0; /* remove round edges */
}

/* Background when scrolled */
.navbar.scrolled {
  background: rgba(40, 40, 40, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px; /* exact height of navbar */
}

/* Logo */
.nav-logo img {
  height: 60px; /* slightly smaller logo to fit reduced navbar */
  width: 70px;
  
}

/* Nav Links */
.nav-links {
  font-family: 'Koulen', sans-serif;
  list-style: none;
  display: flex;
  gap: 30px;
  flex: 1; /* take remaining space opposite logo */
  justify-content: center; /* center links horizontally */
  align-items: center; /* center links vertically */
  margin: 0;
  padding: 0;
  margin-left:350px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #a08be0;
}


/* Dropdown parent */
.dropdown {
  position: relative;
}

/* White dropdown box */
.dropdown-menu {
  font-family: 'Koulen', sans-serif;
  position: absolute;
  top: 110%;
  right: 0; /* aligns nicely under Earn Whitelist */
  background: #ffffff;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 220px;
  display: none;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

/* Dropdown links */
.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  color: #100853;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Hover effect */
.dropdown-menu li a:hover {
  background: #f2f4f7;
  color: #6c5ce7; /* subtle purple highlight */
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}
/* Hamburger */

/* Hamburger default hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 10000; /* on top of everything */
  margin-top:-20px;

 
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 3px;
  transition: all 0.3s ease;
  
}

/* Hamburger active animation */
.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(5px, -5px);
}


/* =========================
   COMING SOON SECTION
========================= */

.coming-soon{
  position:relative;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;

  background:
    radial-gradient(circle at top left, rgba(124,58,237,0.35), transparent 35%),
    radial-gradient(circle at bottom right, rgba(108,92,231,0.25), transparent 35%),
    linear-gradient(135deg,#070b16,#0b1023,#050816);

  padding:120px 20px;
}

/* grid overlay */
.coming-soon::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size:22px 22px;
  opacity:0.5;
}

/* glowing blobs */
.glow{
  position:absolute;
  width:450px;
  height:450px;
  border-radius:50%;
  filter:blur(120px);
  opacity:0.5;
}

.glow1{
  background:#7c3aed;
  top:-120px;
  left:-120px;
}

.glow2{
  background:#6c5ce7;
  bottom:-120px;
  right:-120px;
}

/* content */
.coming-content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:900px;
}

/* tag */
.mini-tag{
  display:inline-block;
  padding:14px 26px;
  margin-bottom:40px;

  background:linear-gradient(135deg,#7c3aed,#6c5ce7);
  color:#fff;

  border-radius:18px;
  font-family:'Koulen',sans-serif;
  font-size:1.2rem;
  letter-spacing:2px;

  box-shadow:
    0 8px 0 #000,
    0 0 25px rgba(124,58,237,0.6);

  transform:rotate(-2deg);
}

/* main title */
.coming-content h1{
  font-family:'Luckiest Guy',cursive;
  font-size:7rem;
  color:#fff;
  text-shadow:0 6px 0 #000, 0 15px 30px rgba(0,0,0,0.5);
  animation:float 4s ease-in-out infinite;
}

/* subtitle */
.coming-content h2{
  font-family:'Koulen',sans-serif;
  font-size:3rem;
  letter-spacing:5px;
  color:#a08be0;
  margin:20px 0;
}

/* text */
.coming-content p{
  font-size:1.2rem;
  color:#cbd5e1;
  opacity:0.9;
}

/* animations */
@keyframes float{
  0%{transform:translateY(0);}
  50%{transform:translateY(-15px);}
  100%{transform:translateY(0);}
}

/* responsive */
@media(max-width:768px){
  .coming-content h1{
    font-size:3.5rem;
  }

  .coming-content h2{
    font-size:1.5rem;
  }

  .mini-tag{
    font-size:1rem;
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #431871; /* full purple */
    gap: 40px;
    padding: 0;
    margin: 0;
    display: none; /* hidden by default */
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: #a08be0; /* highlight on hover */
  }

  .hamburger {
    display: flex;
    margin-left: auto; /* right side */
  }
}

/* Mobile nav links */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between; /* ensures logo left, hamburger right */
    align-items: center;
  }

}


/* Medium Devices (Tablet) */
@media (max-width: 1024px) {
  .navbar {
    padding: 8px 30px;
  }

  .nav-container {
    height: 45px;
  }

  .nav-logo img {
    height: 50px;
    width: auto;

  }

  .nav-links {
    gap: 30px;
    margin-left: 0; /* remove fixed margin for better centering */
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}

/* Small Devices (Mobile) */
@media (max-width: 768px) {
  .navbar {
    padding: 6px 20px;
  }

  .nav-container {
    flex-direction: column; /* stack logo and links */
    height: auto;
    gap: 8px;
  }

  .nav-logo img {
    height: 45px;
    width: auto;
    margin-left:-300px;
    align-items: center;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap; /* wrap links if they exceed screen width */
    justify-content: center;
    margin-left: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {
  .navbar {
    padding: 5px 15px;
  }

  .nav-logo img {
    height: 40px;
    width: auto;
    margin-left:-150px;
    margin-top:10px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.9rem;
  }
}