@charset "UTF-8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
}
/*scroll bar样式*/
*::-webkit-scrollbar {
  width: 4px;
  opacity: 0.32;
  background-color: transparent;
  margin-right: 10px;
}

*::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 1px rgba(69, 34, 1, 0.3);
  background-color: rgba(69, 34, 1, 0.16);
}
.wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #bb000f;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

header {
  width: 100%;
  height: 88px;
  background-image: url(/kbb/img/header.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  background-color: #bb000f;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo {
  width: 120px;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo img {
  width: 100%;
}

.main {
  width: 100%;
  height: calc(100% - 88px - 150px);
  position: relative;
  z-index: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(22, 17, 29, 0.64),
    rgba(22, 17, 29, 1)
  );
  background-size: 100% 100%;
  margin-top: 88px;
}

.main-img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: -1;
  background-image: url(/kbb/img/bg/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.main-img img {
  width: 100%;
  height: 100%;
}

.btns {
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0;
}

.btn-goGame {
  text-decoration: none;
  height: 64px;
  width: 240px;
  font-size: 25px;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(69, 34, 1, 0.48);
  background-color: #fafafa;
  box-shadow: 0 8px 16px 0 rgb(251 87 35 / 48%),
    inset -2px -4px 2px 0 rgb(251 141 35 / 72%),
    inset 0 2px 1px 0 rgb(255 253 247 / 48%);
  padding: 4px;
  margin: 0 1%;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bgImg {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(110deg, #00dda4, #03a57b);
  box-shadow: 0 8px 16px 0 rgb(3 165 123 / 48%),
    inset -2px -4px 2px 0 rgb(0 221 164 / 72%),
    inset 0 2px 1px 0 rgb(255 253 247 / 48%);
  color: #fff8e4;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 0 rgb(69 34 1 / 48%);
}

footer {
  width: 100%;
  min-height: 150px;
  padding: 0 8px;
  color: #fff8e4;
  background-color: #bb000f;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.tipsTxt {
  padding: 0 8px 4px 8px;
  font-size: 14px;
}

.tipsTxt ul {
  padding-left: 24px;
}

.tipsTxt li {
  list-style: disc;
  font-size: 12px;
  margin-top: 4px;
}

.copyright {
  width: calc(100% - 64px);
  padding-right: 16px;
  font-size: 14px;
}

.copyright a {
  color: #8fd8fb;
  font-weight: bold;
}

.levelImg {
  width: 48px;
  flex-shrink: 0;
}

.levelImg img {
  width: 100%;
}

@media screen and (device-aspect-ratio: 4/3) {
  .main-img {
    width: 50%;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  .logo {
    width: 200px;
  }
}

@media screen and (min-width: 1080px) {
  .main-img {
    width: 35%;
    margin: 0 auto;
  }
  footer {
    width: 35%;
    padding-bottom: 16px;
    margin: 0 auto;
  }
  footer .tipsTxt {
    width: 100%;
  }
}
@media screen and (min-width: 1080px) and (max-height: 800px) {
  .main-img {
    width: 33%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 375px) and (max-height: 667px) {
  .main {
    width: 100%;
    min-height: 400px;
    background-image: linear-gradient(
      to bottom,
      rgba(22, 17, 29, 0.64),
      rgba(22, 17, 29, 1)
    );
    background-size: 100% 100%;
    margin-top: 64px;
    position: relative;
    z-index: -1;
  }
  .main-img img {
    width: 100%;
    display: block;
  }
  footer {
    margin-top: -48px;
  }
}
