.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(8, 16, 24, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: visible;
}

.topbar-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.topbar-brand-text {
  color: #e9c98f;
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 600;
}

.topbar-left img {
  height: 36px;
  width: auto;
  display: block;
}

.topbar-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}

.topbar-right a:link,
.topbar-right a:visited,
.topbar-right a:hover,
.topbar-right a:active {
  color: #f6ead4 !important;
  text-decoration: none !important;
}

.topbar-right a {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.topbar-right a:hover {
  opacity: 0.72;
}

@media (max-width: 700px) {
  .topbar {
    padding: 10px 14px;
  }

  .topbar-brand-text {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .topbar-left img {
    height: 32px;
  }

  .topbar-right {
    gap: 8px;
  }

  .topbar-right a {
    font-size: 13px;
  }
}