@charset "UTF-8";
.logo-icon {
  display: flex;
  height: 100%;
  align-items: center;
}
.logo-icon img {
  height: 100%;
  width: auto;
}

html, body {
  margin: 0 0;
  padding: 0 0;
  font-size: 62.5%;
  font-family: Roboto, Opensans, sans-serif, Arial, Helvetica, sans-serif;
  user-select: none;
}

.ads-box {
  width: 100%;
  height: 320px;
  margin: 0 auto;
}
.ads-box p {
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  transform: scale(0.8);
}
header {
  width: 100%;
  height: 4.5rem;
  box-sizing: border-box;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background-color: #56c2ff;
}
header path {
  fill: #fff;
}
header .logo {
  justify-self: center;
  display: block;
  height: 80%;
  width: auto;
  z-index: 10;
  filter: drop-shadow(3px 3px rgba(0, 0, 0, 0.24));
}
header .logo svg {
  width: auto;
  height: 100%;
}
header nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
header nav label {
  cursor: pointer;
  z-index: 2;
}
header nav input[type=checkbox]:checked ~ ul {
  display: block;
  transition: 200ms ease-in;
}
header nav input[type=checkbox] {
  opacity: 0;
  float: right;
  z-index: 1;
  display: none;
}
header nav input[type=checkbox]:checked:after {
  display: flex;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: red;
}
header nav ul {
  display: none;
  position: absolute;
  top: 3rem;
  right: 0;
  background-color: #6930c3;
  margin: 0 auto;
  padding: 1rem 0 2rem;
  z-index: 99999;
}
header nav ul a {
  text-decoration: none;
}
header nav ul a li {
  list-style: none;
  padding: 1rem;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1rem;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
}
header nav ul a:hover {
  display: block;
  background-color: #946EFE;
  padding: 1rem 0;
}

.game:hover {
  transform: scale(1.05) translateY(0rem);
  transition: all 0.5s ease-in-out;
}
.game:hover a .game-title {
  height: 50% !important;
  visibility: visible !important;
}

.image-box {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
}
.image-box .image-background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.image-box .image-background img {
  width: 100%;
  height: 100%;
}

footer {
  width: 100%;
  height: 40rem;
  padding: 0 16rem 1rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: 0% 0%/cover no-repeat url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%272190.52%27 height=%27624.981%27 viewBox=%270 0 2190.52 624.981%27%3e %3cg id=%27%E7%BB%84_174%27 data-name=%27%E7%BB%84 174%27 transform=%27translate%28480.162 -947.439%29%27%3e %3cpath id=%27%E8%B7%AF%E5%BE%84_1873%27 data-name=%27%E8%B7%AF%E5%BE%84 1873%27 d=%27M1710.358,966.5v605.92H-480.162V1251.66c13.01-1.92,26.38-3.32,39.4-4.61l163.1-16.14c18.62-1.85,38.34-3.99,52.3-11.24,12.04-6.27,17.91-15.39,26.84-23.16,14.5-12.61,36.27-21.12,60.7-27.28,19.27-4.86,40.19-8.27,60.5-11.08,160.26-22.2,328.28-26.05,491.15-11.27,92.05,8.36,184.26,22.63,276.75,21.65,14.18-.15,28.36-.66,42.55-1.61,170.73-11.38,307.3-82.33,457.74-129.66C1348.608,987.62,1530.228,962.91,1710.358,966.5Z%27 fill=%27%235688FF%27/%3e %3cpath id=%27%E8%B7%AF%E5%BE%84_1874%27 data-name=%27%E8%B7%AF%E5%BE%84 1874%27 d=%27M1710.358,1412.25v160.17H-480.162V998.17c58.56-18.93,118.54-37.06,183.94-45.76,73.18-9.74,155.47-6.14,215.62,19.51,57.53,24.53,88.34,65.92,148.46,88.35,130.6,48.75,317.22-15.75,458.01,22.73,67.19,18.37,110.02,56.83,164.71,85.53a307.384,307.384,0,0,0,61.85,24.87c119.75,33.05,261.97-9.61,394.14-.75,88.93,5.97,167.97,35.12,235.64,68.5s127.76,71.8,199.74,102.13C1623.238,1380.68,1668.418,1395.42,1710.358,1412.25Z%27 fill=%27%2356bfff%27/%3e %3cpath id=%27%E8%B7%AF%E5%BE%84_1875%27 data-name=%27%E8%B7%AF%E5%BE%84 1875%27 d=%27M1710.358,1430.24v142.18H-480.162V1196.16c97.76-69.24,229.43-66.73,342.34-26.93q14.955,5.28,29.43,11.39c71.02,30,136.42,69.86,208.08,98.65,217.71,87.48,447.66,32.26,676.08,28.16,189.26-3.39,385.49,5.46,553.06,55.64,66.28,19.85,127.86,46.08,200.03,57.48C1587.578,1429.83,1649.258,1428.63,1710.358,1430.24Z%27 fill=%27%23fff%27/%3e %3c/g%3e %3c/svg%3e");
}
@media (max-width: 1024px) {
  footer {
    padding: 0 8rem 2rem !important;
  }
}
footer ul {
  list-style: none;
  margin: 0 0;
  padding: 0 0;
}
footer ul li {
  margin-top: 1rem;
}
footer ul li a {
  color: #6930C3;
  font-size: 1.6rem;
  line-height: 1.5em;
}
footer ul li p {
  margin: 0.5rem 0.5rem;
}

@keyframes categoryAni {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes cateEnter {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes cateLeave {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}
.load-more {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  cursor: pointer;
}
.load-more .loadingImage {
  animation: loadingAnimation 1s linear infinite;
}

.cookie-tip {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 6rem;
  transition: all 1s;
  padding: 0.2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  background-color: rgba(255, 255, 255, 0.94);
  z-index: 9999;
  align-items: center;
}
.cookie-tip .tip-text {
  font-size: 1rem;
  color: black;
  margin: 0 0.6rem;
}
.cookie-tip .tip-text a {
  text-decoration: none;
  color: #DAC7FF;
}
.cookie-tip .gotBtn {
  background-color: #DAC7FF;
  color: white;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 0.8rem;
  width: 30%;
  border: none;
}

.fullscreen {
  cursor: pointer;
}

@keyframes loadingAnimation {
  to {
    transform: rotate(360deg);
  }
}
.home-icon .home-icon-path {
  fill: url(#linear-gradient);
}

.menu-icon .path-1 {
  fill: #274cde;
}
.menu-icon .path-2 {
  fill: #274cde;
}
.menu-icon .path-3 {
  fill: #274cde;
}

.play-btn .cls-1 {
  fill: none;
}
.play-btn .cls-2 {
  fill: url(#play-linear-gradient);
}
.play-btn .cls-3 {
  clip-path: url(#play-clip-path);
}
.play-btn .cls-4 {
  fill: url(#play-linear-gradient-2);
}
.play-btn .cls-5 {
  fill: #fff;
  font-size: 24px;
  font-family: Montserrat-Black, Montserrat;
  font-weight: 800;
}
.play-btn .cls-6 {
  fill: url(#play-linear-gradient-3);
}
.play-btn .cls-7 {
  filter: url(#play-filter);
}

body {
  background-color: #6de5ff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1024px) {
  header {
    padding: 0 4.5rem;
  }
}
@media (min-width: 1025px) {
  header {
    padding: 0 5rem;
  }
}
@media (min-width: 1366px) {
  header {
    padding: 0 calc((100% - 12.5rem * 8 - 1.5rem * 7)/2);
  }
}

.ads-box-1 {
  grid-row: 3/4;
}

.ads-box-2 {
  grid-row: 10/11;
}

.game-list {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .game-list {
    padding: 1rem 4.5rem 2rem;
  }
}
@media (min-width: 1025px) {
  .game-list {
    padding: 1rem 5rem 2rem;
  }
}
.game-list .game-box {
  width: 100%;
  display: grid;
  grid-template-rows: auto;
  justify-content: center;
}
@media (min-width: 1025px) {
  .game-list .game-box {
    grid-template-columns: repeat(8, calc((100% - 10.5rem) / 8));
    grid-gap: 1.5rem 1.5rem;
  }
  .game-list .game-box .ads-box {
    grid-column-start: span 8;
  }
}
@media (min-width: 1366px) {
  .game-list .game-box {
    grid-template-columns: repeat(8, 12.5rem);
    grid-gap: 1.5rem 1.5rem;
  }
  .game-list .game-box .ads-box {
    grid-column-start: span 8;
  }
}
@media (max-width: 1024px) {
  .game-list .game-box {
    grid-template-columns: repeat(6, calc((100% - 7.5rem) / 6));
    grid-gap: 1.5rem 1.5rem;
  }
  .game-list .game-box .ads-box {
    grid-column-start: span 6;
  }
}
@media (max-width: 768px) {
  .game-list .game-box {
    grid-template-columns: repeat(5, calc((100% - 6rem) / 5));
    grid-gap: 1.5rem 1.5rem;
  }
  .game-list .game-box .ads-box {
    grid-column-start: span 5;
  }
}
.game-list .game-box .hot-game {
  grid-column-start: span 2;
  grid-row-start: span 2;
}
.game-list .game-box .game {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  border-radius: 1rem;
  box-shadow: 3px 13px 10px rgba(57, 12, 181, 0.24);
  overflow: hidden;
}
.game-list .game-box .game a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.game-list .game-box .game a .game-title {
  width: 100%;
  height: 0;
  visibility: hidden;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.8));
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0 0;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
  align-items: flex-end;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}
