:root {
  --cs-bg: #070506;
  --cs-panel: rgba(18, 7, 9, 0.9);
  --cs-panel-soft: rgba(255, 255, 255, 0.05);
  --cs-text: #fff7f8;
  --cs-muted: rgba(255, 232, 235, 0.72);
  --cs-stroke: rgba(255, 162, 176, 0.16);
  --cs-accent: #ff9cab;
  --cs-accent-strong: #d14a5f;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: rgba(18, 7, 9, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .title {
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.brand .sub {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.navbtns,
.nav,
.legalLinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

a.btn,
button.btn,
.btn,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--cs-stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cs-text);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a.btn:hover,
button.btn:hover,
.btn:hover,
.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

a.btn.primary,
button.btn.primary,
.btn.primary {
  background: linear-gradient(180deg, rgba(209, 74, 95, 0.24), rgba(122, 18, 33, 0.36));
  border-color: rgba(255, 162, 176, 0.26);
}

.profileLink {
  color: var(--cs-text);
  text-decoration: none;
}

.profileLink:hover {
  color: var(--cs-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
  }

  .navbtns,
  .nav {
    width: 100%;
  }
}