html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

.home_page {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.home_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  padding: 0 20px;
  height: 8vh;
  z-index: 10;
  position: relative;
}

.home_header_left {
  width: 20vw;
}

.home_header_left img {
  width: 10vw;
  cursor: pointer;
}

.home_header_center {
  width: 30vw;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home_header_center_list {
  width: 6vw;
  height: 100%;
  line-height: 8vh;
  cursor: pointer;
}

.home_header_right {
  width: 20vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home_header_right img {
  width: 100px;
  height: 35px;
  cursor: pointer;
}

.home_content {
  width: 100vw;
  height: 92vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.home_content_cont {
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 3vh;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fluid-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 90vh;
  display: block;
  z-index: 1;
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(10, 15, 30, 0.9);
  z-index: 20;
  transition: opacity 0.5s;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(100, 150, 255, 0.3);
  border-top: 5px solid #5d9bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.hidden {
  display: none;
}

.home_content_cont_top,
.home_content_cont_bottom {
  position: relative;
  z-index: 2;
}

.home_content_cont_bottom {
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 3vh;
}

.home_content_cont_bottom_btnlist {
  width: 100%;
  height: 4vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5vw;
}

.home_content_cont_bottom_btnlist_item {
  padding: 2px 6px;
  min-height: 3vh;
  background-color: rgba(245, 247, 250, 0.8);
  font-size: 15px;
  line-height: 3vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5vw;
  border-radius: 3px;
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.home_content_cont_bottom_btnlist_item img {
  width: 15px;
  height: 15px;
}

.home_content_cont_bottom_content {
  width: 100%;
  height: 31vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.imgcontent .img-border {
  width: 600px;
  height: 100px;
  position: relative;
  border-radius: 10px;
  padding: 10px;
  background: #ffffff;
  backdrop-filter: blur(20px);
  box-sizing: border-box;
  box-shadow: 0 0 18px #009ca724;
}

.imgcontent .img-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home_content_cont_top {
  width: 100%;
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 4vh;
}

.home_content_cont_top_title {
  width: 40%;
  height: 11vh;
}

.home_content_cont_top_title img {
  width: 100%;
  height: 100%;
}

.home_content_cont_top_content {
  width: 40%;
  height: 15%;
  text-align: center;
  font-size: 22px;
  font-weight: 200;
  color: rgba(0, 0, 0, 0.603);
}

.contact_dialog {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.contact_dialog.is-open {
  display: flex;
}

.contact_dialog_mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.48);
  backdrop-filter: blur(4px);
}

.contact_dialog_panel {
  width: min(820px, calc(100vw - 40px));
  position: relative;
  z-index: 1;
  border-radius: 24px;
  padding: 32px 32px 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.contact_dialog_close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #333;
  font-size: 26px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.contact_dialog_title_tip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(93, 155, 255, 0.12);
  color: #3d6de0;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.contact_dialog_title {
  margin-top: 18px;
  font-size: 36px;
  font-weight: 600;
  color: #1f2937;
}

.contact_dialog_desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
}

.contact_dialog_entry {
  margin-top: 12px;
  font-size: 14px;
  color: #3d6de0;
}

.contact_dialog_qrlist {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact_dialog_qritem {
  border-radius: 18px;
  padding: 22px 18px;
  background: #f9fbff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: inset 0 0 0 1px rgba(61, 109, 224, 0.08);
}

.contact_dialog_qrtitle {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.contact_dialog_qritem img {
  width: min(220px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.contact_dialog_qrtext {
  font-size: 13px;
  color: #6b7280;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 960px) {
  .home_header {
    padding: 0 12px;
  }

  .home_header_center {
    width: 52vw;
  }

  .home_header_center_list {
    width: auto;
    padding: 0 4px;
    font-size: 14px;
  }

  .home_content_cont_top_title,
  .home_content_cont_top_content {
    width: 70%;
  }

  .imgcontent .img-border {
    width: min(600px, calc(100vw - 40px));
  }

  .contact_dialog_qrlist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home_page {
    overflow-y: auto;
  }

  .home_header {
    height: auto;
    padding: 16px 12px 8px;
    gap: 12px;
    flex-direction: column;
  }

  .home_header_left,
  .home_header_center,
  .home_header_right {
    width: 100%;
  }

  .home_header_center {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .home_header_center_list {
    height: auto;
    line-height: 1.6;
  }

  .home_content {
    height: auto;
    align-items: stretch;
  }

  .home_content_cont {
    min-height: 90vh;
    padding: 20px 0 28px;
  }

  .home_content_cont_top_title,
  .home_content_cont_top_content {
    width: 86%;
  }

  .home_content_cont_top_content {
    font-size: 18px;
  }

  .home_content_cont_bottom {
    height: auto;
    padding-bottom: 12px;
  }

  .home_content_cont_bottom_btnlist {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 12px;
  }

  .home_content_cont_bottom_btnlist_item {
    min-height: 32px;
    line-height: 1.5;
    padding: 6px 10px;
  }

  .home_content_cont_bottom_content {
    height: auto;
    padding: 0 12px;
  }

  .imgcontent {
    width: 100%;
  }

  .imgcontent .img-border {
    width: 100%;
    height: 120px;
  }

  .contact_dialog_panel {
    padding: 28px 18px 20px;
  }

  .contact_dialog_title {
    font-size: 30px;
  }
}
