/* 基本布局样式 */
.header {
  /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 100;
  background-color: #0c022a;
  color: #fff; */
  position: fixed;
  /* 固定在顶部 */
  top: 0;
  /* 初始位置为顶部 */
  left: 0;
  padding: 5px 0;
  width: 100%;
  /* 宽度占满 */
  background-color: #0c022a;
  /* 背景颜色 */
  z-index: 1000;
  /* 确保 header 在其他内容之上 */
  transition: top 0.3s;
  /* 平滑过渡效果 */
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  top: -100px;
  /* 隐藏状态（根据需要调整） */
}

.head_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  height: 40px;
}

img {
  height: 100%;
  object-fit: cover;
}

.logo_title {
  color: #fff;
  font-size: 18px;
  margin-left: 10px;
  line-height: 1;
}

.menu_pc {
  display: none;
}

.head_box ul > li > a {
  padding: 0px 12px;
  display: block;
  line-height: 80px;
  font-size: 16px;
  font-weight: 300;
}

.head_box ul > li {
  position: relative;
}

.connect-btn {
  border: 1px solid #17161a;
  background-color: #bd0e72;
  border-radius: 8px;
  color: #fff;
  line-height: 48px;
  font-weight: 600;
  font-size: 16px;
  padding: 0px 18px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.connect-btn:hover {
  cursor: pointer;
  filter: brightness(1.3);
}

.menu_pc a:hover {
  background: #3c0cd3;
  color: #fff;
}

.h5-menu-list .menu_active::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -30px;
  display: block;
  width: 100%;
  height: 4px;
  background-color: #fff;
}

#collapseOne .menu_active::before {
  display: none;
}

.menu_h5 {
  display: block;
  line-height: 60px;
}

.menu-button {
  cursor: pointer;
}

.menu-collapse {
  padding: 10px 20px 0;
}

.menu-collapse > ul > li {
  line-height: 48px;
  padding-left: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-collapse > ul > li:last-child {
  border-bottom: none;
}

.article {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

.footer {
  background-color: #232639;
  color: #fff;
}

.footer_contact {
  display: block;
  padding: 50px 0 20px;
}

.contact_left {
  /* display: none; */
}

.contact_left h2 {
  font-size: 20px;
  font-weight: 600;
}

.contact_right {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.contact_right_box svg {
  fill: #fff;
}

.contact_right_box svg:hover {
  fill: #bd0e72;
}

/* 优化悬停效果 */
.contact_right_box svg {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact_right_box svg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact_right_box svg:hover::before {
  left: 0;
}

.blogroll {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fixbar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
}

.operate-btn {
  width: 48px;
  height: 48px;
  background-color: #9f9f9f;
  text-align: center;
  color: #fff;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 95%;
  line-height: 48px;
  transition: all 0.3s ease;
}

.operate-btn:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.operate-btn img {
  transition: all 0.3s ease;
}

.operate-btn:hover img {
  transform: scale(1.2);
}

.qr-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}

.modal-main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.modal-content {
  width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  background-color: #fff;
}

.modal-content img {
  width: 100%;
  padding: 15px;
}

.grid-item a,
.product-img a,
.swiper-slide a,
.dropdown-item {
  color: inherit !important;
}

.dropdown {
  cursor: pointer;
}

.dropdown-menu {
  min-width: 100px;
  margin-top: 8px !important;
}

.dropdown-item {
  line-height: 22px !important;
  padding: 5px 12px !important;
  font-size: 14px !important;
}

@media (min-width: 1024px) {
  .menu_pc {
    display: flex;
  }

  .menu_h5 {
    display: none;
  }

  .logo {
    height: 60px;
  }

  .logo_title {
    font-size: 24px;
  }

  .dropdown {
    position: absolute;
    right: 30px;
  }

  .connect-btn {
    margin: 0;
  }
}

@media (min-width: 960px) {
  .footer_contact {
    display: flex;
    justify-content: space-between;
  }

  .contact_right {
    margin-top: 0;
  }

  .logo {
    height: 60px;
  }

  .logo_title {
    font-size: 24px;
  }
}

/* 参照 */

