/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 1.4rem;
  background: rgba(7, 8, 15, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* ---- LOGO ---- */
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(130deg, #ffffff 25%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  z-index: 2;
  user-select: none;
}

/* ---- CENTER GROUP ---- */
.nav-links {
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

/* ---- COUNTRY FILTER ---- */
.filter-wrapper {
  position: relative;
  cursor: pointer;
}
.filter-content {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: 50px;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.filter-content:hover {
  background: var(--bg-hover);
  border-color: var(--border-md);
}
#current-flag {
  width: 18px;
  height: auto;
  border-radius: 3px;
  flex-shrink: 0;
}
.filter-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
}
.hidden-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* ---- ONLINE STATUS ---- */
.online-status {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  user-select: none;
}
.online-status strong {
  color: var(--text-1);
  font-weight: 600;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotGlow 2.2s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 4px var(--green);  opacity: 1; }
  50%       { box-shadow: 0 0 10px var(--green), 0 0 20px var(--green-glow); opacity: 0.8; }
}

/* ---- RIGHT BALANCE ---- */
.nav-right {
  width: 84px;
  flex-shrink: 0;
}