.public-topbar {
  position: relative;
  z-index: 5;

  width: 100%;
  margin: 0 0 14px;
  padding: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  box-sizing: border-box;
  border: 1px solid rgba(0, 200, 255, 0.24);
  border-radius: 18px;
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.05);
}

.public-topbar__brand {
  display: none;
}

.public-topbar__links,
.public-topbar__auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-topbar a {
  min-height: 34px;
  padding: 0 11px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);

  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

.public-topbar a:hover,
.public-topbar a.active {
  color: #ffffff;
  border-color: rgba(0,200,255,.42);
  background: rgba(0,200,255,.14);
  box-shadow: 0 0 18px rgba(0,200,255,.14);
  transform: translateY(-1px);
}

.public-topbar__register {
  color: #00131a !important;
  border-color: rgba(0,200,255,.55) !important;
  background: linear-gradient(180deg, rgba(0,220,255,.95), rgba(0,160,255,.92)) !important;
  box-shadow: 0 10px 24px rgba(0,200,255,.18);
}

.public-topbar__register:hover {
  color: #00131a !important;
  filter: brightness(1.06);
}

@media (max-width: 520px) {
  .public-topbar {
    justify-content: center;
    flex-wrap: wrap;
  }

  .public-topbar__links,
  .public-topbar__auth {
    justify-content: center;
    flex-wrap: wrap;
  }

  .public-topbar a {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn {
  height: 34px;
  min-width: 42px;
  padding: 0 10px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);

  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.86);

  cursor: pointer;

  font-size: 12px;
  font-weight: 700;

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
}

.lang-btn:hover {
  color: #ffffff;
  border-color: rgba(0,200,255,.42);
  background: rgba(0,200,255,.14);
  box-shadow: 0 0 18px rgba(0,200,255,.14);
  transform: translateY(-1px);
}

.lang-btn.is-active {
  color: #ffffff;
  border-color: rgba(0,200,255,.55);
  background: rgba(0,200,255,.18);
}