.navbar {
  background-color: rgba(5, 5, 8, 0.95) !important;
  border-bottom: 1px solid rgba(0, 255, 252, 0.2) !important;
  padding: 1rem 0 !important;
}

.navbar-brand {
  font-size: 1.8rem !important;
  font-family: "Orbitron", sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  background: linear-gradient(
    to right,
    #00ffff,
    #000000,
    #00ff00,
    #000000,
    #00ffff
  );
  background-size: 200% auto !important;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: neon-hustle 6s linear infinite;
  pointer-events: none !important;
  user-select: none !important;
}

#desktopNav .navbar-nav {
  perspective: none;
}

#desktopNav .nav-link {
  color: #a0a0c0 !important;
  margin: 0 0.5rem;
  font-weight: 500;
  font-family: "Orbitron", sans-serif !important;
  position: relative;
  border-bottom: none !important;
  padding: 10px 22px !important;
  background: rgba(15, 240, 252, 0.05);
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: none;
}

#desktopNav .nav-link:hover,
#desktopNav .nav-link.active {
  color: #0ff0fc !important;
  background: rgba(15, 240, 252, 0.2);
  text-shadow: 0 0 10px #0ff0fc;
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -5px rgba(15, 240, 252, 0.3);
}

#desktopNav .nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(90deg, transparent, #0ff0fc, transparent);
  clip-path: polygon(12% 0%, 88% 0%, 100% 50%, 88% 100%, 12% 100%, 0% 50%);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

#desktopNav .nav-link:hover::before {
  opacity: 1;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: #0ff0fc;
  box-shadow: 0 0 10px #0ff0fc;
  animation: underline-grow 0.4s ease-out;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.menu-btn-text {
  color: #0ff0fc;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 10px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.4s !important;
  background: rgba(0, 5, 10, 0.95) !important;
  backdrop-filter: blur(15px);
  visibility: hidden !important;
}

.offcanvas.show {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear !important;
  visibility: visible !important;
  transform: translateX(0) !important;
}

.offcanvas-backdrop.show {
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.8);
}

.offcanvas-body .nav-link {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 1rem 0;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(15, 240, 252, 0.1) !important;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  font-family: "Orbitron", sans-serif;
  color: #a0a0c0 !important;
  clip-path: none !important;
  background: transparent !important;
}

.offcanvas-body .nav-link.active {
  color: #0ff0fc !important;
  border-bottom: 1px solid #0ff0fc !important;
  background: rgba(15, 240, 252, 0.05) !important;
}

.offcanvas.show .nav-link {
  opacity: 1;
  transform: translateX(0);
}

.offcanvas.show .nav-item:nth-child(1) .nav-link {
  transition-delay: 0.1s;
}

.offcanvas.show .nav-item:nth-child(2) .nav-link {
  transition-delay: 0.15s;
}

.offcanvas.show .nav-item:nth-child(3) .nav-link {
  transition-delay: 0.2s;
}

.offcanvas.show .nav-item:nth-child(4) .nav-link {
  transition-delay: 0.25s;
}

.offcanvas.show .nav-item:nth-child(5) .nav-link {
  transition-delay: 0.3s;
}

.offcanvas.show .nav-item:nth-child(6) .nav-link {
  transition-delay: 0.35s;
}

.offcanvas.show .nav-item:nth-child(7) .nav-link {
  transition-delay: 0.4s;
}

.dropdown-menu.custom-glow-menu {
  background: rgba(0, 5, 10, 0.9) !important;
  border: none !important;
  border-left: 2px solid #0ff0fc !important;
  border-radius: 0 !important;
  margin-top: 20px !important;
  padding: 0;
  min-width: 240px;
  transform-origin: top left;
  transform: perspective(1000px) rotateY(-30deg) scaleX(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block !important;
  visibility: hidden;
  opacity: 0;
  box-shadow: -10px 0 30px rgba(15, 240, 252, 0.1);
}

.dropdown-menu.custom-glow-menu.show {
  transform: perspective(1000px) rotateY(0deg) scaleX(1);
  visibility: visible;
  opacity: 1;
}

.dropdown-menu.custom-glow-menu::before {
  content: "DIRECTORY_SUB_LOADED";
  display: block;
  padding: 8px 15px;
  font-size: 0.6rem;
  color: #0ff0fc;
  background: rgba(15, 240, 252, 0.1);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(15, 240, 252, 0.2);
}

.dropdown-item {
  color: #a0a0c0 !important;
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(15, 240, 252, 0.05);
  position: relative;
  transition: all 0.2s ease;
  background: transparent !important;
}

.dropdown-item::before {
  content: ">";
  margin-right: 10px;
  color: #0ff0fc;
  opacity: 0;
  transition: all 0.2s ease;
}

.dropdown-item::after {
  content: "STATUS: OK";
  position: absolute;
  right: 15px;
  font-size: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
}

.dropdown-item:hover {
  color: #0ff0fc !important;
  background: rgba(15, 240, 252, 0.05) !important;
  padding-left: 30px;
}

.dropdown-item:hover::before {
  opacity: 1;
}

@media (min-width: 1200px) {
  #desktopNav {
    display: flex !important;
  }

  .navbar-toggler {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  #desktopNav {
    display: none !important;
  }

  .navbar-toggler {
    display: block !important;
  }
}
