.pcNav {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
  background: #181818;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pcNav.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.navMain {
  width: 100%;
  max-width: 1380px;
  margin: auto;
}

.pcNav .navTop {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
  padding: 12px 50px;
}

.pcNav .logo {
  width: 136px;
  height: 36px;
  flex-shrink: 0;
}

.pcNav .searchBox {
  width: 600px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  margin-left: auto;
  border-radius: 0;
}

.pcNav .searchInput {
  border: none;
  flex: 1;
  outline: none;
  background: #98989833;
  color: #dcdcdc;
  font-size: 16px;
  height: 40px;
  border-radius: 36px 0px 0px 36px;
  padding: 0 32px;
  box-sizing: border-box;
}

.pcNav .searchInput::placeholder {
  color: #888;
}

.pcNav .searchBtn {
  width: 46px;
  height: 40px;
  border: none;
  border-radius: 0px 36px 36px 0px;
  background: #3E7DFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.pcNav .searchBtn:hover {
  opacity: 0.92;
}

.pcNav .searchIcon {
  width: 20px;
  height: 20px;
}

.pcNav .navBottom {
  height: 53px;
  display: flex;
  align-items: center;
  margin: 0 50px;
  z-index: 10;
}
.pcNav .navBottom-bg {
  height: 53px;
  width: calc(100%);
  z-index: 2;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #141414;
}

.pcNav .navLinks {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.pcNav a {
  text-decoration: none;
}

.pcNav .navLinks::-webkit-scrollbar {
  display: none;
}

.pcNav .navItem {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  color: #f5f5f5;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.pcNav .navBtn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
  color: inherit;
}

.pcNav .navBtn:hover {
  color: #3E7DFF;
}

.pcNav .arrowIcon {
  width: 16px;
  height: 16px;
  transition: all 0.25s linear;
}

.pcNav .dropdownBox {
  position: absolute;
  min-width: 160px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #292929;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.pcNav .dropdownItem {
  height: 32px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #f5f5f5;
}

.pcNav .dropdownItem:hover {
  color: #3E7DFF;
}

.showNav .dropdownBox {
  display: block !important;
}

.showNav .arrowIcon {
  transform: rotate(180deg);
}

.mobile-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 100px;
  z-index: 100;
  background-color: #000;
  transition: all 0.3s ease;
}

.mobile-nav.mobile-sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 824px) {
  .mobile-nav {
    display: none;
  }
}
@media screen and (max-width: 824px) {
  .pcNav {
    display: none;
  }
  .mobile-nav {
    padding: 12px 8px;
  }
}

/* 移动顶部搜索面板样式（小屏下显示） */
.mobile-search-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 48px;
  z-index: 101;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: top 0.3s ease;
}

.mobile-search-panel.search-panel-sticky {
  top: 48px;
}
.mobile-search-panel.show {
  display: block;
}
.mobile-search-panel .search-input-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-search-panel .searchInput {
  border: none;
  flex: 1;
  outline: none;
  background: #98989833;
  color: #dcdcdc;
  font-size: 16px;
  height: 40px;
  border-radius: 36px 0px 0px 36px;
  padding: 0 32px;
  box-sizing: border-box;
}
.mobile-search-panel .searchInput::placeholder {
  color: #888;
}

/* Use same search button style as pcNav */
.mobile-search-panel .mobile-search-submit,
.mobile-search-panel .searchBtn {
  width: 46px;
  height: 40px;
  border: none;
  border-radius: 0px 36px 36px 0px;
  background: #3E7DFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.mobile-search-panel .mobile-search-submit .searchIcon,
.mobile-search-panel .searchBtn .searchIcon {
  width: 20px;
  height: 20px;
}
.mobile-search-cancel {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 8px;
  font-size: 14px;
  cursor: pointer;
}

.mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-decoration: none;
}

.mobile-logo img {
  width: 133px;
  height: 26px;
  object-fit: contain;
}

.nav-edge {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-nav button {
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn {
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  transition: all 0.25s linear;
}

/* 背景遮罩 */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.mobile-drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* 左侧抽屉容器 */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  max-width: 320px;
  min-width: 240px;
  height: 100vh;
  background-color: #0c0c0c;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-radius: 0 12px 12px 0;
  overflow: hidden;
  box-shadow: none;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateX(0);
  box-shadow:
    6px 0 30px 5px rgba(0, 0, 0, 0.8),
    16px 0 24px 2px rgba(0, 0, 0, 0.8);
  visibility: visible;
  pointer-events: auto;
}

/* 关闭按钮 */
.mobile-drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 0;
  transition: opacity 0.2s ease;
}

.mobile-drawer-close:hover {
  opacity: 0.8;
}

.mobile-drawer-close svg {
  width: 24px;
  height: 24px;
}

/* 抽屉内容 */
.mobile-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding-top: 60px;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-content::-webkit-scrollbar {
  width: 4px;
}

.mobile-drawer-content::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-drawer-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* 菜单列表 */
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu-list > li {
  border-bottom: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu-list .menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
  width: 276px;
  height: 56px;
  box-sizing: border-box;
  background-color: #181818;
  margin: 0 auto;
  border-radius: 0;

  color: #ccc;
  font-family: 'PingFang SC';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 150% */
}

.mobile-menu-list .menu-item:hover,
.mobile-menu-list .menu-item:active {
  background-color: #181818;
}

.mobile-menu-list .menu-item-link {
  cursor: pointer;
}

.mobile-menu-list .menu-item img {
  width: 24px;
  height: 24px;
  transition: transform 0.25s linear;
  flex-shrink: 0;
}
.mobile-menu-list .menu-item-link img:first-child {
  margin-right: 16px;
}
.mobile-menu-list .menu-item-link {
  display: flex;
  justify-content: start;
  align-items: center;
}

/* 子菜单 */
.mobile-menu-subs {
  background-color: transparent;
  padding: 0;
  margin: 8px 0 0 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.mobile-menu-subs .submenu-item {
  padding-left: 40px;
  padding-right: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  border-top: none;
  width: 276px;
  height: 56px;
  background-color: #181818;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: left;
  justify-content: flex-start;
}

.mobile-menu-subs .submenu-item:hover,
.mobile-menu-subs .submenu-item:active {
  background-color: #181818;
  color: #fff;
}
