body,html {
  background: #0c1a0e;
  color: #e5e5e5;
  font-family: PingFang SC, PingFang SC-Regular;
  height: 100%;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

:root {
  --color1: #e5e5e5;
  --color2: #142a18;
  --color3: #0C1A0E;
  --color4: #30933F;
}

i {
  font-style: normal;
}

a {
  text-decoration: none;
}

*{ /*滚动条样式*/
  padding: 0;
  margin: 0;
  outline: none;
  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #dcdee2;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-track-piece {
    background-color: #f8f8f9;
    border-radius: 4px;
  }
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.fz12 {
  font-size: 12px;
}

.h-100 {
  height: 100%;
}

.c-pointer {
  cursor: pointer;
}

.nav-header {
  background: #0c1a0e;
  box-shadow: 0px 2px 10px 0px rgba(48,147,63,0.08);
}

.navbar {
  padding: 0;
  height: 68px;
}

.navbar-left {
  height: 100%;
}

.navbar-menu {
  margin-left: 14px;
  height: 100%;
}

.nav-item {
  height: 100%;
}

.navbar-menu .nav-link {
  margin-left: 15px;
}

.nav-link {
  height: 100%;
  display: flex;
  align-items: center;

  position: relative;
}

.nav-link.active::after {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
}

.search-input {
  width: 300px;
  height: 42px;
  background: #4D574F;
  border-radius: 22px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.search-input svg {
  color: #e5e5e5;
}

.search-input input {
  background: transparent;
  border: 0;
  color: #e5e5e5;
  flex: 1;
  font: inherit;
  font-size: 1.2em;
  height: 100%;
  outline: none;
  padding: 0 0 0 8px;
  width: 80%;
}
.login {
  position: relative;
  top: 1px;
  margin: 0 24px;
}
.language-btn button {
  color: #e5e5e5;
  padding: 0;
  border: none;
}
.language-btn button:active {
  border-color: transparent !important;
}
.show-xs-only {
  display: none;
}
.modal-header {
  border-bottom: none;
}
.modal-content {
  background: var(--color2);
}
.language-list {
  margin: 0;
}
.language-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: .6rem .3rem;
  background-color: #2A3E2E;
  border-radius: 16px;
  cursor: pointer;
  justify-content: center;
  border: 1px solid transparent;
}
.language-item.active {
  border: 1px solid #30933f;
}
.language-item:hover {
  border: 1px solid #30933f;
}
.sidebar {
  background: var(--color2);
  border-radius: 5.33px 0px 0px 5.33px;
  color: #e5e5e5;
  width: 80% !important;
}
.sidebar-header {
  border-bottom: 1px solid #2b4a30;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-item {
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 20px;
}
.sidebar-item img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
.footer-tabs {
  height: 50px;
}
.footer-tabs-content {
  height: 50px;
  background: #28502f;
  box-shadow: 0px -1px 3.33px 0px rgba(48,147,63,0.10);
}
.footer-tab-item {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.footer-tab-item.active {
  font-weight: 700;
  color: #30933f;
}
.active-svg {
  display: none;
}
.footer-tab-item.active .active-svg {
  display: block;
}
.footer-tab-item.active .custom-svg {
  display: none;
}
.footer-tab-item img {
  width: 18px;
  height: 18px;
}
.footer  {
  height: 58px;
}
.copyright {
  height: 58px;
  background: #040704;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-detail-container {
  /*height: 180px;*/
  background: url('../images/game-bg.png') no-repeat;
  border-radius: 16px;
  padding: 20px 36px;
  background-size:cover;
}
.game-detail-container img{
  border-radius: 16px;
}
.game-info-header {
  border-bottom: 1px solid #76947b;
}
.game-download {
  text-align: left;
  margin-left: 50px;
  width: 300px;
  flex-shrink: 0;
}
.game-download-btn {
  width: 143px;
  height: 40px;
  background: rgba(229,229,229,0.30);
  border: 1px solid #30933f;
  border-radius: 21px;
  box-shadow: 3px 3px 10px 0px rgba(48,147,63,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  margin-top: 6px;
}
.close-btn {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
}

@media screen and (max-width: 992px) {
  .hidden-xs-only {
    display: none !important;
  }
  .show-xs-only {
    display: block;
  }
  .search-input {
    flex: 1;
    height: 42px;
    margin-right: 20px;
  }
  .navbar-collapse {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    position: relative;
  }
  .detail-title {
    top: 12px !important
  }
  .search-popover {
    min-height: 200px !important;
  }
  .search-popover .popover-body {
    max-height: 200px !important;
  }
  .game-detail-container {
    height: auto;
    background: #2b4a30;
    padding: 1rem 12px;
  }
  .game-download-btn {
    width: unset;
    height: unset;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
    flex: 1;
  }
  .detail-btns .game-download-btn:first-of-type {
    border-right: 1px solid #76947b;
  }

  .login-btn, .login-input {
    width: 100% !important;
  }
}

.fz14 {
  font-size: 14px;
}

.ce5e5e5 {
  color: var(--color1);
}

.c30933f {
  color: var(--color4);
}

.mb8 {
  margin-bottom: 8px;
}

.mt36 {
  margin-top: 36px;
}

.mb48 {
  margin-bottom: 48px;
}

.mb16 {
  margin-bottom: 16px;
}

.flex-align-self-start {
  align-self: flex-start;
}

.w100-percentage {
  width: 100%;
}

.h100-percentage {
  height: 100%;
}

.login-input {
  width: 350px;
  height: 42px;
  background-color: #e5e5e519;
  border: 1px solid var(--color4);
  border-radius: 22px;
  padding: 0 18px;
  color: #fff;
}

.login-input::placeholder {
  font-size: 14px;
  color: var(--color1);
  opacity: 0.2;
}

.c-pointer {
  cursor: pointer;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  min-height: 45px;
  background: linear-gradient(90deg, #4ed462, #30933f 98%);
  border-radius: 23px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color1);
}

.login-footer {
  width: 350px;
}
.search-popover {
  min-width: 274px;
  min-height: 300px;
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  max-width: 100%;
}
.search-popover:not(.show) {
  display: none;
}
.search-popover .popover-body {
  padding-top: 0;
  padding-bottom: 0;
  max-height: 300px;
  overflow: auto;
}
.search-popover .search-item {
  cursor: pointer;
  width: 100%;
}

.opacity-5 {
  opacity: 0.5;
}

.cfff {
  color: #fff;
}

.show {
  display: block;
}

.hide {
  display: none;
}

/* 已登录账号样式 */
.login-account.order-type {
  height: 60px;
  background: #2b4a30;
  border: 1px solid #30933f;
  border-radius: 16px;
  margin: 24px 0;
  padding: 0 36px;
}
.game-download-btn.login-out-btn {
  width: 120px;
  height: 40px;
}

@media screen and (max-width: 992px) {
  .login-account.order-type {
    padding: 1rem 12px;
  }
  .game-download-btn.login-out-btn {
    width: 90px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1100px) {
  .search-input {
    width: 220px;
  }
}