input {
  outline: none;
}

::-webkit-scrollbar {
  display: none;
  /*隐藏滚动条*/
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
ul,
li,
dl,
dt,
dd,
p,
a,
img,
strong,
small,
time,
span,
i,
sub,
sup,
label,
input,
canvas,
textarea {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: content-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-text-size-adjust: none;
  margin: 0;
  padding: 0;
  float: left;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  /*隐藏滚动条*/
  scrollbar-width: none;
  /*隐藏滚动条*/
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  height: 100%;
  overflow-y: scroll;
  color: #fff;
}

body,
div,
li,
img,
h2,
h3,
h4,
h5,
ul,
dl,
dt,
dd,
p {
  padding: 0;
  margin: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none
}

body {
  font-family: "微软雅黑";
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  display: block;
  position: relative;
  width: 100%;
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: bold
}

ul {
  list-style: none
}

a {
  text-decoration: none;
  color: #333
}

img {
  display: block
}

input {
  border: 0;
}

html,
body {
  position: fixed;
  top: 0;
  left: 0;
  background: #0B173D;
}

ol,
ul {
  list-style: none
}

.wrap {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.page-container {
  width: 100%;
  height: 100%; /* 通过 JS 动态设置实际可用高度 */
  background: url('./../img/bg.png') no-repeat center center;
  background-size: 100% 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* 第一个区域：标题和文字 */
.header-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0; /* 防止被压缩 */
}

.title-wrapper {
  margin-top: 0.4rem;
  width: 5.37rem;
}

.title-img {
  width: 100%;
  height: auto;
}

.text-wrapper {
  width: 3.23rem;
  height: 0.53rem;
}

.text-img {
  width: 100%;
  height: auto;
}

/* 第二个区域：内容和按钮 */
.content-section {
  flex: 1; /* 占据剩余空间 */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0; /* 允许 flex 子元素缩小 */
  padding-bottom: 2.5rem; /* 为固定按钮留出空间 */
}

.content-wrapper {
  width: 98%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-img {
  width: 100%;
  height: auto;
}

/* 按钮固定定位在视口底部 */
.btn-wrapper {
  width: 100%;
  max-width: 750px; /* 与 .wrap 保持一致 */
  height: 2.5rem;
  background-image: linear-gradient(to top, #D0E8FD, transparent), url('./../img/btn-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  cursor: pointer;
  position: fixed; /* 改为 fixed，固定在视口底部 */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* 居中 */
  z-index: 1000; /* 确保在最上层 */
}

.btn-img {
  width: 6.74rem;
  margin-bottom: 0.3rem;
  height: auto;
  transition: transform 0.2s ease;
}

.btn-wrapper:active .btn-img {
  transform: scale(0.95);
}

@media screen and (min-width: 750px) {
  html {
    font-size: 100px;
  }
}
