/* Shared Topbar Component */
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1300;
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-fluid {
  max-width: none;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.brand-logo img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-name-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  color: var(--text);
  background: var(--border);
}

#mobile-nav-toggle {
  display: none;
}

/* Mobile Adjustments for Topbar */
@media (max-width: 640px) {
  .topbar-inner {
    padding: 0.75rem 1rem;
    width: 100%;
  }
  
  .brand-name {
    font-size: 1.1rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }

  #mobile-nav-toggle {
    display: flex;
  }
}
