/* ================================================================
 *  navbar.css — Shared site navigation bar (all pages)
 *  Height: 48px · Sticky · Flex layout
 * ================================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--bg, #050607);
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.08));
}

/* ── Left: brand + links ─────────────────────────────────────── */

.site-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text, #eef2f7);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-nav-brand:hover { opacity: 0.85; }

.site-nav-brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.site-nav-brand-sub {
  font-weight: 400;
  color: var(--muted, #97a0ad);
  margin-left: -2px;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
  white-space: nowrap;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  color: var(--muted, #97a0ad);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.12s, background 0.12s;
}
.site-nav-link:hover {
  color: var(--text, #eef2f7);
  background: rgba(255, 255, 255, 0.05);
}
.site-nav-link.active {
  color: var(--text, #eef2f7);
  font-weight: 600;
}

/* ── Right: langs + actions ──────────────────────────────────── */

.site-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-nav-langs {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav-lang {
  font-size: 12px;
  color: var(--muted, #97a0ad);
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: color 0.12s;
}
.site-nav-lang:hover { color: var(--text, #eef2f7); }
.site-nav-lang.active {
  color: var(--text, #eef2f7);
  font-weight: 600;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── CTA button (used on landing page) ───────────────────────── */

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #050607;
  background: var(--accent, #f0b90b);
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.12s;
}
.site-nav-cta:hover { opacity: 0.88; }

/* ── Notification bell ──────────────────────────────────────── */

.notif-bell {
  position: relative;
  background: none;
  border: none;
  color: var(--muted, #97a0ad);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.notif-bell:hover { color: var(--text, #eef2f7); }
.notif-bell.consented { color: var(--text, #eef2f7); }

.notif-dot {
  display: none;
  position: absolute;
  top: 2px;
  right: 1px;
  width: 8px;
  height: 8px;
  background: var(--red, #ef4444);
  border-radius: 50%;
  border: 1.5px solid var(--bg, #050607);
}
.notif-dot.active {
  display: block;
  animation: notif-pulse 2s infinite;
}
@keyframes notif-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Notification consent banner ────────────────────────────── */

.notif-consent {
  position: fixed;
  top: 56px;
  right: 16px;
  z-index: 200;
  background: var(--bg2, #111318);
  border: 1px solid var(--line, rgba(255,255,255,0.08));
  border-radius: 8px;
  padding: 14px 18px;
  max-width: 320px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  font-size: 12px;
  color: var(--text, #eef2f7);
  line-height: 1.5;
}
.notif-consent-title {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}
.notif-consent-body {
  color: var(--muted, #97a0ad);
  margin-bottom: 12px;
}
.notif-consent-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.notif-consent-actions button {
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
}
.notif-consent-actions .notif-accept {
  background: var(--green, #22c55e);
  color: #000;
  border-color: var(--green, #22c55e);
  font-weight: 600;
}
.notif-consent-actions .notif-decline {
  background: transparent;
  color: var(--muted);
}
