:root {
  --nav-bg: #f5f5f7;
  --nav-text: #1d1d1f;
}

/* Top Navigation Bar Styling */
.navbar {
  background-color: var(--nav-bg);
  height: 44px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1024px;
  width: 100%;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
}

.nav-container li {
  display: inline-block;
}

.nav-container a {
  color: var(--nav-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-container a:hover {
  opacity: 1;
}

.nav-icon {
  display: flex;
  align-items: center;
  color: var(--nav-text);
  opacity: 0.8;
  cursor: pointer;
  text-decoration: none;
}

.nav-icon:hover {
  opacity: 1;
}

.nav-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .nav-container {
    overflow-x: auto;
    gap: 16px;
    justify-content: flex-start;
    padding: 0 12px;
  }
  .nav-container::-webkit-scrollbar {
    display: none;
  }
}