.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 205, 92, 0.14);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.member-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.member-text {
  min-width: 0;
}

.mini-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.member-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 205, 92, 0.35);
}

.member-name {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.member-status {
  color: #f4c76b;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.member-menu {
  position: relative;
  flex-shrink: 0;
}

.member-menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 205, 92, 0.24);
  border-radius: 15px;
  background:
    radial-gradient(circle at top, rgba(255, 205, 92, 0.14), transparent 45%),
    rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.member-menu-btn span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 99px;
}

.member-dropdown {
  position: absolute;
  top: 58px;
  right: 0;
  width: 270px;
  padding: 13px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 205, 92, 0.14), transparent 42%),
    #080808;
  border: 1px solid rgba(255, 205, 92, 0.22);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(255, 205, 92, 0.08);
  display: none;
  z-index: 999;
}

.member-dropdown.active {
  display: block;
}

.dropdown-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 900;
  color: rgba(255, 205, 92, 0.78);
}

.points-box {
  margin-bottom: 10px;
  padding: 16px;
  border-radius: 18px;
  text-align: center;
  color: #f4c76b;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(244, 199, 107, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(244, 199, 107, 0.22);
}

.points-box span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 800;
  transition: 0.25s ease;
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-item:hover {
  transform: translateX(4px);
  background: rgba(255, 205, 92, 0.11);
  border-color: rgba(255, 205, 92, 0.35);
  box-shadow: 0 8px 24px rgba(255, 205, 92, 0.1);
}

.menu-item.logout {
  color: #ff9b9b;
}

.menu-item.logout:hover {
  background: rgba(255, 80, 80, 0.12);
  border-color: rgba(255, 80, 80, 0.32);
  box-shadow: 0 8px 24px rgba(255, 80, 80, 0.12);
}

@media (max-width: 480px) {
  .nav-inner {
    gap: 8px;
  }

  .mini-logo {
    width: 32px;
    height: 32px;
  }

  .member-photo {
    width: 36px;
    height: 36px;
  }

  .member-name,
  .member-status {
    max-width: 135px;
  }

  .member-menu-btn {
    width: 42px;
    height: 42px;
  }

  .member-dropdown {
    right: 0;
    width: min(270px, 88vw);
  }
}

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

.notifications-menu {
  position: relative;
}

.notification-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 205, 92, 0.24);
  border-radius: 15px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fb7185;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.notifications-dropdown {
  position: absolute;
  top: 58px;
  right: 0;
  width: 310px;
  max-height: 420px;
  overflow-y: auto;
  padding: 13px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 205, 92, 0.14), transparent 42%),
    #080808;
  border: 1px solid rgba(255, 205, 92, 0.22);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(255, 205, 92, 0.08);
  display: none;
  z-index: 999;
}

.notifications-dropdown.active {
  display: block;
}

.notification-item {
  padding: 14px;
  margin-bottom: 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.notification-item.unread {
  background: rgba(244,199,107,.12);
  border-color: rgba(244,199,107,.32);
}

.notification-item strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 5px;
}

.notification-item p {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 7px;
}

.notification-item span {
  color: #f4c76b;
  font-size: 11px;
  font-weight: 800;
}

.notification-empty {
  padding: 18px;
  text-align: center;
  color: rgba(255,255,255,.65);
  font-weight: 800;
}

@media (max-width: 480px) {
  .notifications-dropdown {
    right: -54px;
    width: min(310px, 92vw);
  }
}