:root {
  font-size: 16px;
  font-weight: 400;
  font-family: PingFang SC, Microsoft YaHei, Helvetica;
  --theme-color: #d80000;
}

* {
  box-sizing: border-box;
}

::after,
::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a,
a:hover,
a:visited {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
textarea {
  font-family: Microsoft YaHei;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

.header .header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.6667vmin;
  height: 13.3333vmin;
}

.header .btn-back {
  width: 16vmin;
  height: 8vmin;
  border: 1px solid #ffffff;
  border-radius: 4vmin;
  font-size: 3.2vmin;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

.header .btn-back::before {
  content: "";
  width: 2vmin;
  height: 2vmin;
  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;
  transform: rotate(-45deg);
  margin-right: 1.2vmin;
}

.header .logo > img {
  width: 16vmin;
  position: relative;
  top: 2vmin;
  left: 2vmin;
}

.header .header-title {
  font-size: 4.2667vmin;
  color: #ffffff;
  position: relative;
}

.header .header-title::after {
  content: "";
  width: 1.6vmin;
  height: 1.6vmin;
  border: 0.4vmin solid #ff1414;
  border-radius: 50%;
  top: -0.8vmin;
  right: -3.2vmin;
  position: absolute;
}

.header .language {
  position: relative;
}

.header .language > label {
  width: 16vmin;
  height: 8vmin;
  background: rgba(15, 18, 20, 0.5);
  border-radius: 4vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.2vmin;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  flex-shrink: 0;
}

.header .language > label::after {
  content: "";
  background-image: url(../../images/icon-drop.png);
  background-size: 100% 100%;
  width: 2.4vmin;
  height: 1.4667vmin;
  flex-shrink: 0;
  margin-left: 1.3333vmin;
}

.header .language .lang-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  padding: 1.3333vmin 0 0;
  display: none;
}

.header .language:hover .lang-dropdown {
  display: block;
}

.header .language .lang-dropdown .lang-list {
  background: #0f1214;
  border-radius: 2.6667vmin;
  padding: 2vmin 0;
}

.header .language .lang-dropdown .lang-list li > a {
  height: 8vmin;
  border-radius: 2.6667vmin;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2vmin;
  color: #868b9b;
}

.header .language .lang-dropdown .lang-list li:hover > a,
.header .language .lang-dropdown .lang-list li.active > a {
  color: #ffffff;
  background-color: var(--theme-color);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: #010101;
}

.footer .nav {
  height: 13.3333vmin;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer .nav .tabbar {
  font-size: 3.7333vmin;
  color: #cccccc;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .nav .tabbar.active {
  color: #ffffff;
  font-weight: bold;
}

.footer .nav .tabbar.active::after {
  content: "";
  width: 1.6vmin;
  height: 1.6vmin;
  border: 0.4vmin solid #ff1414;
  border-radius: 50%;
  top: -0.8vmin;
  right: -3.2vmin;
  position: absolute;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.fade {
  visibility: visible;
}

.modal-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.fade ~ .modal-mask {
  visibility: visible;
}

.modal .modal-main {
  position: relative;
  width: 92vmin;
  height: 57.4667vmin;
  background: #010101;
  display: flex;
  flex-direction: column;
  z-index: 1;
  color: #fff;
}

.modal .modal-main .modal-header {
  font-size: 1.5625vmin;
  font-weight: bold;
  color: #ffffff;
  padding: 1.5625vmin 1.5625vmin;
  flex-shrink: 0;
}

.modal .modal-main .modal-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-video .modal-main .modal-close {
  position: absolute;
  width: 10.8vmin;
  height: 10.8vmin;
  background-image: url(../../images/icon-close.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 999;
  border-radius: 50%;
  left: 50%;
  top: calc(100% + 5.3333vmin);
  transform: translateX(-50%);
}

.drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  z-index: 98;
  background: #010101;
  border-radius: 4vmin 4vmin 0 0;
  transition: all 0.5s;
}

.drawer.fade {
  transform: translateY(0);
}

.drawer-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 97;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.drawer.fade ~ .drawer-mask {
  visibility: visible;
}

.drawer .drawer-main {
  height: 100vmin;
  position: relative;
}

.drawer-qrcode .drawer-main .drawer-close {
  position: absolute;
  width: 7vmin;
  height: 7vmin;
  background-image: url(../../images/icon-close.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  right: 4vmin;
  top: 4vmin;
}

.drawer-qrcode .drawer-title {
  font-size: 4.2667vmin;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  padding: 8vmin 0;
}

.drawer-qrcode .qrcode {
  width: 37.3333vmin;
  height: 37.3333vmin;
  margin: 0 auto;
}

.drawer-qrcode .tips {
  font-size: 3.2vmin;
  color: #a8aeb7;
  text-align: center;
  padding-top: 5vmin;
}

.section-join {
  background-color: #010101;
  height: 100vh;
  padding: 13.3333vmin 4vmin 13.3333vmin;
  position: relative;
}

.section-join .logo {
  width: 46vmin;
  height: 18.6667vmin;
  margin: 13.3333vmin auto 10.6667vmin;
}

.section-join .input-box {
  margin-bottom: 4vmin;
  display: flex;
}

.section-join .input-box > input {
  width: 100%;
  height: 10.6667vmin;
  background: #1b1e24;
  border: 1px solid #2f333b;
  border-radius: 5.3333vmin;
  padding: 0 1.5em;
  font-size: 4.2667vmin;
  outline: none;
  color: #fff;
}

.section-join .input-box > textarea {
  width: 100%;
  height: 42.6667vmin;
  background: #1b1e24;
  border: 1px solid #2f333b;
  outline: none;
  border-radius: 5.3333vmin;
  padding: 0.5rem 1.5em;
  font-size: 4.2667vmin;
  resize: none;
  color: #fff;
}

.section-join .btn-box {
  padding-top: 15vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 21.3333vmin;
}

.section-join .tel {
  position: absolute;
  width: 10.6667vmin;
  height: 10.6667vmin;
  background: #d80000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 21.3333vmin;
  right: 2.6667vmin;
}

.section-join .btn-box .btn-submit {
  width: 42.6667vmin;
  height: 10.6667vmin;
  background: #d80000;
  border-radius: 5.3333vmin;
  font-size: 4.2667vmin;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
}

.section-search {
  background-color: #010101;
  height: 100vh;
  padding: 13.3333vmin 4vmin 13.3333vmin;
}

.section-search .search-input {
  background: #0f1214;
  border: 2px solid var(--theme-color);
  margin-top: 6vmin;
  display: flex;
  align-items: center;
  border-radius: 6vmin;
  height: 12vmin;
}

.section-search .search-input > input {
  flex: 1;
  padding: 0 1.5em;
  font-size: 3.2vmin;
  outline: none;
  color: #fff;
  border: none;
  background-color: transparent;
  margin: 0;
  vertical-align: middle;
}

.section-search .search-input > .btn-search {
  width: 20vmin;
  height: 12vmin;
  background: var(--theme-color);
  border: 2px solid var(--theme-color);
  font-size: 3.7333vmin;
  color: #ffffff;
  outline: none;
  flex-shrink: 0;
  border-radius: 6vmin;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

.section-search .search-tip {
  font-size: 3.4667vmin;
  color: #ffffff;
  text-align: center;
  padding: 6.4vmin 0 0 0;
}

.section-search .search-desc {
  font-size: 3vmin;
    color: #ffffff;
    padding: 5vmin 3vmin;
    background: rgba(255,255,255,.2);
    border-radius: 3vmin;
    margin-top: 10vmin;
    line-height: 1.6;
}
