/* 基础布局 */
.mobile-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 378px;
  height: 60px;
  z-index: 100;
}

/* 顶部栏 */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 0 0 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgb(24, 24, 27);
}
@supports (
  (-webkit-backdrop-filter: blur(60px)) or (backdrop-filter: blur(60px))
) {
  .mobile-nav-header {
    background: transparent;
    -webkit-backdrop-filter: blur(60px);
    backdrop-filter: blur(60px);
  }
}

.mobile-nav-logo-link {
  font-size: 0;
}
.mobile-nav-logo {
  height: 32px;
}

.mobile-nav-toggle {
  width: 24px;
  height: 24px;
  background: url("/v2/mobile/images/mobile_nav_menu.png") no-repeat center
    center;
  background-size: 100% 100%;
}

/* 遮罩层 */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 101;
  transition: opacity 0.3s;
}

/* 抽屉菜单 */
.mobile-nav-drawer {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: #18181b;
  transform: translateY(-100%);
  transition: transform 0.3s;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

/* 抽屉头部 */
.mobile-nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.mobile-nav-close {
  width: 24px;
  height: 24px;
  background: url("/v2/mobile/images/close_icon.png") no-repeat center center;
  background-size: 100% 100%;
}

/* 菜单列表 */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  padding: 20px 24px;
}

.mobile-nav-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  padding: 24px 0;
  font-size: 24px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-list li:last-child {
  border-bottom: none;
}

.mobile-nav-list li.active {
  color: #fff;
}

.mobile-nav-list-arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url("/v2/mobile/images/mobile_nav_arrow-right.png") no-repeat
    center center;
  background-size: 100% 100%;
  opacity: 0.4;
}
.mobile-nav-list li.active .mobile-nav-list-arrow {
  opacity: 1;
}

/* 底部按钮 */
.mobile-nav-contact {
  position: absolute;
  width: 100%;
  bottom: 20px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 36px;
  width: 354px;
  height: 48px;
  font-size: 16px;
  border: 1px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(
      to right,
      rgba(24, 24, 27, 0.92),
      rgba(24, 24, 27, 0.92)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
}
.icon-contact {
  width: 20px;
  height: 20px;
  background: url("/v2/mobile/images/nav_contact.png") no-repeat center center;
  background-size: 100% 100%;
  margin-right: 8px;
}
