.navbar-custom {
  background: linear-gradient(137deg, rgba(17, 18, 20, .75) 4.87%, rgba(12, 13, 15, .9) 75.88%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  padding: 1rem 1rem;
  max-width: 1200px;
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 1000;

  transform: translate(-50%, 0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-hidden {
  transform: translate(-50%, -150%);
  opacity: 0;
}


.navbar-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.navbar-brand {
  color: #fff !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .container-fluid {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand i {
  margin-right: 0 !important;
  white-space: nowrap;
  color: #a200ff;
  font-size: 1.2rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  border-radius: 25px;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none !important;
  padding: 0.25rem 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
}

.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='1.6' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
    background: rgba(15, 15, 17, 0.95);
    border-radius: 10px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
  }
}
