/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #393939;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.navbar-brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.navbar-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.navbar-link.active {
  color: #fff;
  background: rgba(94, 106, 210, 0.1);
}

.navbar-link.disabled {
  color: #4b5563;
  cursor: not-allowed;
}

.navbar-link.disabled:hover {
  background: transparent;
}

.navbar-link .badge-new {
  font-size: 9px;
  background: #5E6AD2;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #393939;
  color: #9ca3af;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.navbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 768px) {
  .navbar {
    height: 44px;
    padding: 0 16px;
  }

  .navbar-brand {
    font-size: 14px;
  }

  .navbar-brand-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .navbar-actions {
    display: none;
  }

  .navbar-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid #393939;
    padding: 8px 12px;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
  }

  .navbar-link {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  body {
    padding-top: 60px;
    padding-bottom: 64px;
  }
}


