@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Syne:wght@400;500;600;700&display=swap');

.navbar {
  width: 100%;
  height: 58px;
  background: rgb(10 37 10 / 96%);
  border-bottom: 0.5px solid rgba(74,180,74,0.15);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  justify-content: flex-start;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,180,74,0.3) 30%, rgba(74,180,74,0.3) 70%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 32px;
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(74,180,74,0.12);
  border: 0.5px solid rgba(74,180,74,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: rgba(210,240,210,0.95);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-name span {
  color: #4ab44a;
}

.nav-divider {
  width: 0.5px;
  height: 20px;
  background: rgba(74,180,74,0.15);
  margin-right: 24px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(160,200,160,0.5);
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 7px;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: rgba(210,240,210,0.85);
  background: rgba(74,180,74,0.06);
}

.nav-link.active {
  color: rgba(210,240,210,0.9);
  background: rgba(74,180,74,0.08);
  border: 0.5px solid rgba(74,180,74,0.15);
  padding-left: 18px;
}

.nav-link.active::before {
  content: '';
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #4ab44a;
  box-shadow: 0 0 4px #4ab44a;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .brand {
    margin-right: 0;
    flex: 1;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-divider,
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-hamburger span {
    display: block;
    width: 18px; height: 1.5px;
    background: rgba(160,200,160,0.6);
    border-radius: 2px;
  }
}

/* hide hamburger on desktop */
.nav-hamburger {
  display: none;
}