
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(8, 8, 17, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  border-bottom: 1px solid rgba(139, 92, 246, 0.25);

  box-shadow:
    0 5px 25px rgba(0, 0, 0, 0.25);
}

.nav-container {
  width: 100%;
  max-width: 1100px;

  margin: 0 auto;

  padding: 14px 25px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  color: white;

  font-size: 1.25rem;
  font-weight: 900;

  text-decoration: none;

  transition: 0.2s ease;
}

.nav-logo:hover {
  color: #a855f7;

  text-shadow:
    0 0 15px rgba(168, 85, 247, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 8px;
}

.nav-links a {
  position: relative;

  padding: 9px 14px;

  color: #c4c4d4;

  font-size: 0.95rem;
  font-weight: 700;

  text-decoration: none;

  border-radius: 8px;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-links a:hover {
  color: white;

  background: rgba(139, 92, 246, 0.15);
}

.nav-links a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 4px;

  width: 0;
  height: 2px;

  background: #a855f7;

  transform: translateX(-50%);

  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 60%;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 600px) {

  .nav-container {
    padding: 12px 15px;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px 7px;
    font-size: 0.75rem;
  }

}