.header-container {
  width: 100%;
  height: 90px;
  background: black;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  overflow: hidden;
}

.logo {
  width: 165px;
  height: 24px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 8px;
  border-radius: 9999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 0;
  margin-top: 5px;
}

.nav-menu li {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.nav-menu li:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu a {
  color: white;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a.active {
  font-weight: 700;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  color: white;
  opacity: 0.9;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-signin {
  color: white;
  border: 1px solid white;
  background: transparent;
  padding: 8px 20px;
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-signup {
  color: #1c1c1c;
  background: white;
  border: 1px solid white;
  padding: 8px 20px;
}

.btn-signup:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Styles */

@media (max-width: 1304px) {
  .nav-menu a {
    font-size: 14px;
  }
  .nav-menu li {
    padding: 8px 10px;
  }
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0 60px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-menu li {
    padding: 4px 8px;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .auth-buttons {
    gap: 12px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media (max-width: 999px) {
  .header-container {
    padding: 0 20px;
    position: relative;
  }

  .logo {
    width: 140px;
    height: 20px;
  }

  .nav-menu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: black;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 0;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
  }

  .nav-menu a {
    font-size: 16px;
    text-align: center;
    width: 100%;
  }

  .auth-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 70px;
    padding: 0 15px;
  }

  .logo {
    width: 120px;
    height: 18px;
  }

  .nav-menu {
    top: 70px;
    padding: 15px;
  }

  .nav-menu li {
    padding: 10px 15px;
  }
}
