/* 基础重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background: #12181e;
  font-size: 14px;
  font-family: "PingFang SC", "Microsoft YaHei", "SF Pro SC", "SF Pro Text", "SF Pro Icons", 'Avenir Neue', Helvetica, Arial, sans-serif !important;
  overflow: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

ul, ol { list-style: none; }
a { text-decoration: none; }
img { border: none; vertical-align: top; -webkit-user-drag: none; user-select: none; }

/* 响应式字体 */
@media screen and (min-width: 900px) {
  html { font-size: calc(100vw / 19.2); }
}
@media screen and (min-width: 1920px) {
  html { font-size: 100px; }
}
@media screen and (max-width: 899px) {
  html { font-size: 46.8px; }
}

/* 轮播背景 */
.swiper-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.swiper-slide:first-child {
  opacity: 1;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 顶部导航 */
.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0.38rem 0.86rem 0 1.1rem;
}

.header > h1 {
  width: 3.02rem;
  height: 0.96rem;
}

.header > h1 > img {
  width: 100%;
  height: 100%;
}

.header > a {
  width: 0.66rem;
  height: 0.97rem;
  margin-right: 0.24rem;
  cursor: pointer;
}

.header > a:nth-of-type(1) {
  margin-left: auto;
}

.header > a > img {
  width: 100%;
  height: 100%;
}

/* 底部侧边栏 */
.aside {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0.15rem;
}

.aside > h2 {
  width: 10.94rem;
  height: 3.03rem;
}

.aside > h2 > img {
  width: 100%;
  height: 100%;
}

.tip-text {
  display: flex;
  margin-top: 0.27rem;
}

.tip-text > img {
  width: 2.62rem;
  height: 0.79rem;
}

.tip-text > img:nth-child(2) {
  margin-left: 0.56rem;
}

.code {
  margin-top: 0.27rem;
  display: flex;
}

.qr_box {
  width: 2.47rem;
  height: 2.73rem;
  background: url('../images/pc/qr_bg.png') center center no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.qr_box:nth-of-type(1) {
  margin-right: 0.63rem;
}

.qr {
  width: 2.1rem;
  height: 2.1rem;
  position: absolute;
  top: 0.4rem;
  left: 0.17rem;
}

.qr > img,
.qr > canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.aside > p {
  width: 5.43rem;
  height: 0.66rem;
  margin-top: 0.24rem;
}

.aside > p > img {
  width: 100%;
  height: 100%;
}
