@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

/* Focus and Link Styles */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}

a {
  text-decoration: none;
}

/* Main Styles */
.element-light {
  display: flex;
  flex-direction: column;
  align-items: center; /* 将整个容器内容居中 */
  position: relative;
  background-color: #f7f9f8;
  width: 100%;
  min-width: 1002px; /* 设置最小宽度 */
}

.element-light .background {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 64px;
  background-color: #eeecff;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.element-light .heading {
  display: flex;
  width: 1002px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
}

.element-light .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 6px; /* logo和文字的间距 */
}

.element-light .logo1 {
  position: relative;
  width: 24px;
  height: 24px;
  background-image: url(./img/logo1.png);
  background-size: 100% 100%;
  flex-shrink: 0; /* 防止logo缩小 */
}

.element-light .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 700;
  color: #000000;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.element-light .navi {
  display: flex;
  align-items: center;
}

.element-light .div {
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color: #000000;
  font-size: 14px;
  text-align: right;
  line-height: 24px;
  white-space: nowrap;
  position: relative;
  width: fit-content;
  font-weight: 400;
  letter-spacing: 0;
}

.element-light .about-us {
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0; /* 防止文字换行 */
}

.element-light .about-us:hover {
  color: #6197FF;
}

.element-light .content-wrapper {
  align-items: center; /* 修改为居中对齐 */
  gap: 10px;
  padding: 54px 0px 0px; /* 移除左右内边距以便自适应居中 */
  background: linear-gradient(
    180deg,
    rgb(238.31, 235.53, 255) 0%,
    rgb(242.09, 241.36, 246.5) 77%
  );
  display: flex;
  flex-direction: column;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-light .content {
  display: flex;
  flex-direction: column;
  width: 1002px;
  align-items: center;
  gap: 22px;
  position: relative;
  flex: 0 0 auto;
  margin: 0 auto; /* 添加自动边距实现居中 */
}

.element-light .slogan {
  display: flex;
  flex-direction: column;
  width: 808px;
  align-items: center;
  gap: 42px;
  position: relative;
  flex: 0 0 auto;
}

.element-light .frame {
  display: flex;
  gap: 14px;
  align-self: stretch;
  width: 100%;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-light .heading-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-light .img {
  position: relative;
  width: 64px;
  height: 64px;
}

.element-light .text-wrapper-2 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 500;
  color: #000000;
  font-size: 48px;
  text-align: center;
  letter-spacing: 0;
  line-height: 72px;
  white-space: nowrap;
}

.element-light .main-title,
.element-light .title-colon,
.element-light .sub-title {
  display: inline;
}

.element-light .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  flex: 0 0 auto;
}

.element-light .iosdownload {
  display: flex;
  width: 160px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0px;
  position: relative;
  background-color: #000000;
  border-radius: 100px;
  overflow: visible;
  cursor: pointer;
}

/* 修改 .qrcode-card 的样式 */
.element-light .qrcode-card {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  padding: 16px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #FFF;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  cursor: pointer;
  pointer-events: auto;
}

.element-light .qrcode-img {
  width: 200px;
  height: 200px;
  aspect-ratio: 1/1;
}

.element-light .qrcode-text {
  color: #000;
  text-align: right;
  font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.element-light .iosdownload:hover .qrcode-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.element-light .img-2 {
  position: relative;
  width: 25px;
  height: 25px;
  margin-top: -0.50px;
  margin-bottom: -0.50px;
}

.element-light .text-wrapper-3 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 16px;
  text-align: right;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.element-light .android-link {
  text-decoration: none;
}

.element-light .androiddownload {
  display: flex;
  width: 160px;
  height: 48px; /* 确保高度为48px */
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0px;
  position: relative;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid;
  border-color: #00000033;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.element-light .androiddownload:hover {
  background-color: #ffffff; /* 修改为白色高亮 */
}

.element-light .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 600;
  color: #000000;
  font-size: 16px;
  text-align: right;
  letter-spacing: 0;
  line-height: 24px;
  white-space: nowrap;
}

.element-light .adward {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
}

.element-light .award-wrapper {
  display: flex;
  flex-direction: column;
  width: 246px;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.element-light .award {
  display: flex;
  width: 200px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0px;
  position: relative;
  flex: 0 0 auto;
}

.element-light .img-3 {
  position: relative;
  width: 26px;
  height: 43px;
}

.element-light .frame-2 {
  display: inline-flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.element-light .text-wrapper-5 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 700;
  color: #221847;
  font-size: 19px;
  text-align: center;
  letter-spacing: 0;
  line-height: normal;
}

.element-light .div-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  flex: 0 0 auto;
}

.element-light .text-wrapper-6 {
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 500;
  color: #22184780;
  font-size: 14px;
  text-align: center;
  line-height: normal;
  position: relative;
  width: fit-content;
  letter-spacing: 0;
}

.element-light .star {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  flex: 0 0 auto;
}

.element-light .rate {
  position: relative;
  flex: 0 0 auto;
}

.element-light .text-wrapper-7 {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 500;
  color: #22184780;
  font-size: 14px;
  text-align: center;
  line-height: normal;
  position: relative;
  width: fit-content;
  letter-spacing: 0;
}

.element-light .UI {
  position: relative;
  width: 1002px;
  height: 630px;
  object-fit: cover;
}

.element-light .foot-wrapper {
  align-items: center;
  justify-content: center;
  padding: 24px 0; /* 移除左右内边距 */
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.element-light .foot {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
  width: 1002px; /* 与内容区域宽度一致 */
  margin: 0 auto; /* 添加自动边距实现居中 */
}

.element-light .text-wrapper-8 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 400;
  color: #33333399;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: 21px;
  white-space: nowrap;
}

.element-light .text-wrapper-9 {
  position: relative;
  width: fit-content;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-weight: 400;
  color: #33333399;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0;
  line-height: 21px;
  white-space: nowrap;
}

.element-light .footer-link {
  text-decoration: none;
  color: #33333399;
  transition: color 0.3s ease;
  cursor: pointer;
}

.element-light .footer-link:hover {
  color: #6197FF;
}

.element-light .view {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  flex: 0 0 auto;
}

.element-light .text-wrapper-10 {
  margin-top: -1.00px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color: #33333399;
  font-size: 12px;
  text-align: center;
  line-height: 24px;
  white-space: nowrap;
  position: relative;
  width: fit-content;
  font-weight: 400;
  letter-spacing: 0;
}

/* 媒体查询，处理大屏幕 */
@media screen and (min-width: 1200px) {
  .element-light .heading {
    max-width: 1002px; /* 限制最大宽度 */
  }
}

/* 移动端媒体查询 */
@media screen and (max-width: 768px) {
  .element-light {
    min-width: auto;
  }

  .element-light .background {
    height: 50px;
  }

  .element-light .heading {
    width: 100%;
    min-width: auto;
    padding: 13px 16px;
  }

  .element-light .logo1 {
    width: 20px;
    height: 20px;
  }

  .element-light .text-wrapper {
    font-size: 14px;
  }

  .element-light .content {
    width: 100%;
    padding: 0 16px;
  }

  .element-light .slogan {
    width: 100%;
  }

  .element-light .heading-2 {
    flex-direction: column;
    gap: 16px;
  }

  .element-light .text-wrapper-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    white-space: normal;
  }

  .element-light .main-title {
    display: block;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
  }

  .element-light .title-colon {
    display: none;
  }

  .element-light .sub-title {
    display: block;
    font-size: 20px;
    line-height: 28px;
    color: #666;
    font-weight: 400;
  }

  .element-light .sub-title::before {
    content: none;
  }

  .element-light .link {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    align-items: center;
  }

  .element-light .iosdownload,
  .element-light .androiddownload {
    width: 280px;
    height: 48px;
  }

  .element-light .qrcode-card {
    display: none;
  }

  .element-light .adward {
    flex-direction: column;
    gap: 12px;
  }

  .element-light .award-wrapper {
    width: 100%;
  }

  .element-light .UI {
    width: 120%;
    height: auto;
    margin: 0 -10%;
  }

  .element-light .foot {
    width: 100%;
    padding: 0 16px;
  }

  .element-light .view {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
  }

  .element-light .view a {
    margin: 0 4px;
  }

  .element-light .text-wrapper-10 {
    display: none;
  }
}
