/* ============================================================
   NAVBAR — Netflix-Style Fixed Top Navigation
   ============================================================ */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-navbar);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 4%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, rgba(0,0,0,0));
  transition: background-color 0.4s ease;
}

.navbar.scrolled {
  background: var(--black);
}

.navbar-logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
  cursor: pointer;
  user-select: none;
}

.navbar-logo span {
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.navbar-link {
  color: #e5e5e5;
  font-size: 15px;
  margin-left: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
  font-weight: 400;
}

.navbar-link:hover { color: var(--muted); }

.navbar-link.active {
  color: var(--white);
  font-weight: 500;
  cursor: default;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navbar-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s;
  position: relative;
}

.navbar-icon:hover { opacity: 0.7; }

.navbar-icon svg {
  width: 20px;
  height: 20px;
}

.navbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(135deg, #c94b4b, #4b134f);
  cursor: pointer;
}

/* Notification dot */
.navbar-notif-dot {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

/* Sound toggle button */
.navbar-sound-btn {
  width: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e5e5e5;
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  transition: opacity .2s;
}
.navbar-sound-btn:hover { opacity: .8; }
.navbar-sound-btn .navbar-sound-off { display: none; }
.navbar-sound-btn.off { color: var(--red); border-color: rgba(229,9,20,.4); }
.navbar-sound-btn.off .navbar-sound-on { display: none; }
.navbar-sound-btn.off .navbar-sound-off { display: block; }

/* Mobile responsive */
@media (max-width: 768px) {
  .navbar { height: 56px; padding: 0 3%; }
  .navbar-links { display: flex; gap: 12px; }
  .navbar-link { margin-left: 0; font-size: 14px; }
  .navbar-logo { margin-right: 12px; }
  .navbar-logo span { font-size: 1.05rem; }
  .navbar-right { gap: 10px; }
  .navbar-icon svg { width: 17px; height: 17px; }
  .navbar-sound-btn { padding: 4px 6px; }
  .navbar-sound-label { display: none; }
  .navbar-avatar { display: none; }
  .brand-last { display: none; }
  .navbar-logo span { font-size: 1.2rem; }
  .navbar-sound-btn { padding: 4px 6px; }
  .navbar-sound-btn svg { width: 16px; height: 16px; }
}
