.containerBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* padding: 15px; */
  display: flex;
  justify-content: flex-end;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
  z-index: 1000;
}

/* 菜单按钮 */
.mobile-menu {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon {
  position: relative;
  width: 30px;
  height: 3px;
  background: #333;
  margin: 23px auto;
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background: #333;
  left: 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-icon::before {
  top: -10px;
}

.menu-icon::after {
  top: 10px;
}

.mobile-menu.active .menu-icon {
  background: transparent;
}

.mobile-menu.active .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu.active .menu-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* 菜单内容 */
.menu-items1 {
  position: fixed;
  top: 24%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: calc(100vw - 30px);
  max-width: 480px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-menu.active .menu-items1 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.menu-items1 a {
  display: block;
  padding: 16px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.menu-items1 a:last-child {
  border-bottom: none;
}

.menu-items1 a:hover {
  background: #f5f5f5;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.mobile-menu.active ~ .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 769px) {
  .containerBox {
    display: none;
  }
}
