.brand-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, #99ddff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 198, 255, 0.3);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, #ffffff 20%, #99ddff 80%, transparent 100%);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.brand-text:hover::after {
  width: 100%;
}

.navbar {
  z-index: 1050;
  background: transparent;
  border-bottom: 1px solid transparent;
  overflow: visible;
  isolation: isolate;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.navbar:has( + *:not(:first-child))::before {
  animation: navbar-fade-in 0.3s linear both;
  animation-timeline: scroll();
  animation-range: 0 250px;
}

@keyframes navbar-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.navbar .container, .navbar .navbar-brand, .navbar .nav-link, .navbar .navbar-toggler, .offcanvas {
  position: relative;
  z-index: 1;
}

.navbar .nav-link {
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 16px;
  border: 1px solid transparent;
  min-width: 100px;
  text-align: center;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar .nav-link:not(.dropdown-toggle) {
  position: relative;
  color: #fff;
  transition: color 0.3s ease;
}

.navbar .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.navbar .nav-link:not(.dropdown-toggle):hover::after, .navbar .nav-link:not(.dropdown-toggle).active::after {
  width: 100%;
}

.navbar .nav-link:hover {
  color: #ffffff;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active {
  border: none;
  outline: none;
  box-shadow: none;
}

.dropdown-menu {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  margin-top: 8px;
}

.dropdown-item {
  color: #dcdcdc;
  padding: 0.8rem 1.2rem;
  transition: all 0.25s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.btn {
  transition: all 0.1s ease-in-out;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: rgba(60, 180, 255, 0);
}

.btn:hover {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.9);
}

.navbar-brand {
  transition: all 0.3s ease-in-out;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.btn {
  border-radius: 15px;
}

