* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

nav {
    background: linear-gradient(to right, rgb(45, 65, 120) 60%, rgba(255,255,255,0));
  padding: 10px 5%;
  max-width: 1200px;
  margin: 10px auto;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.3s;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-right: 20px;
  margin-top: -5px;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex: 1;
  position: relative;
  margin-top: 5px;
}

.nav-links li {
  margin: 0 15px;
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 6px 0;
  font-weight: 400;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a span {
  font-size: 10px;
  margin-left: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background-color: rgb(160, 227, 44);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: rgb(164, 235, 42);
}


.auth-buttons {
  display: flex;
  align-items: center;
  margin-top: -4px;
}

.auth-btn {
  padding: 8px 20px;
  margin-left: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}

.host-btn {
  background: linear-gradient(#a0e32c);
  color: white;
  border: none;
  padding: 6px 25px;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(124, 181, 24, 0.4);
  transition: all 0.3s ease;
}

.host-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #a0e32c, #7cb518);
  box-shadow: 0 6px 15px rgba(124, 181, 24, 0.6);
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    
    
  }

  .logo {
    margin-right: 0;
  }

  .menu-toggle {
    display: block;
    font-size: 26px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 15px;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 20px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    background-color: rgb(38, 49, 80);
  }

  .dropdown-content a {
    padding-left: 40px;
  }

  .auth-buttons {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
    margin-left: 60px;
    display: none;
  }

  .auth-buttons.show {
    display: flex;
  }

  .auth-btn {
    margin: 5px 0;
  }
}
