@import url("./main.css");
@import "index_mobile.css";

.indexPage {
  width: 100%;
  height: 100vh;
  overflow: auto;
}

.indexPage .header {
    position: fixed;
    top: 0;
    z-index: 3;
    width: 100%;
  }

.indexPage .header .top-bar {
      display: flex;
      gap: 10px;
      justify-content: space-between;
      padding: 10px;
      background-color: var(--color-background-light2);
    }

.indexPage .header .top-bar .logo {
        display: flex;
      }

.indexPage .header .top-bar .logo img {
          box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.3);
          border-radius: 10px;
          width: 50px;
          height: 50px;
          -o-object-fit: cover;
             object-fit: cover;
          margin: auto;
        }

.indexPage .header .top-bar .menu-icons {
        display: flex;
        align-items: center;
        margin: auto 10px;
        cursor: pointer;
        gap: 10px;
      }

.indexPage .header .top-bar .menu-icons .icon {
          -o-object-fit: cover;
             object-fit: cover;
          width: 30px;
          height: 30px;
        }

.indexPage .header .menuFloatContent {
      position: absolute;
      z-index: 1;
      top: 100%;
      right: 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
      background-color: var(--color-background1);
      padding: 10px;
      width: 100%;
      height: 70vh;
      overflow: auto;
      border-radius: 0 0 0 10px;
    }

.indexPage .header .menuFloatContent.hidden {
        display: none;
      }

.indexPage .header .menuFloatContent .categoryItem {
        color: var(--color-background-light);
        border: 1px solid var(--color-background-light);
        border-radius: 10px;
      }

.indexPage .header .menuFloatContent .categoryItem a {
          display: flex;
          align-items: center;
          gap: 10px;
          box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.3);
          border-radius: 10px;
          padding: 10px;
          padding-left: calc(50% - 50px);
          cursor: pointer;
          transition: 0.3s;
        }

.indexPage .header .menuFloatContent .categoryItem a .categoryName {
            background: linear-gradient(to right, #21fefe, #8174fe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
          }

.indexPage .header .menuFloatContent .categoryItem a:hover {
            background-color: var(--color-background-light);
            color: var(--color-background1);
          }

.indexPage .header .menuFloatContent .categoryItem a img {
            width: 30px;
            height: 30px;
            -o-object-fit: cover;
               object-fit: cover;
          }

.indexPage swiper-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    /* margin-top: 20px; */
    /* height: 500px; */
  }

.indexPage swiper-container swiper-slide {
      text-align: center;
    }

.indexPage swiper-container swiper-slide a {
        width: 100%;
        height: 100%;
        display: flex;
        position: relative;
        border-radius:  0 0 20px 20px;
        overflow: hidden;
      }

.indexPage swiper-container swiper-slide img {
        position: relative;
        z-index: -1;
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        background-color: var(--color-background-light2);
      }

.indexPage swiper-container swiper-slide .nameBox {
        position: absolute;
        bottom: 20px;
        /* left: 20px; */
        width: 100%;
        padding: 10px;
        /* text-align: left; */
        color: var(--color-background-light1);
      }

.indexPage .main-content {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0;
  }

.indexPage .main-content h2 {
      color: var(--color-background-light);
      padding: 20px 0;
      display: flex;
      align-items: center;
      gap: 10px;
    }

.indexPage .main-content h2 img {
        height: 30px;
        aspect-ratio: 1/1;
        -o-object-fit: cover;
           object-fit: cover;
      }

.indexPage .main-content .hot h2 {
        color: var(--color-background-light);
        padding: 20px 0;
        display: flex;
        align-items: center;
        gap: 10px;
      }

.indexPage .main-content .hot h2 img {
          height: 30px;
          aspect-ratio: 1/1;
          -o-object-fit: cover;
             object-fit: cover;
        }

.indexPage .main-content .hot .hotGameGridBox {
        display: grid;
        grid-auto-rows: 300px;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 14px;
        gap: 14px;
        grid-auto-flow: dense;
      }

.indexPage .main-content .hot .hotGameGridBox .game-item {
          position: relative;
        }

.indexPage .main-content .hot .hotGameGridBox .game-item::before {
            content: "";
            display: block;
            position: absolute;
            z-index: 1;
            width: 50px;
            height: 50px;

            -o-object-fit: cover;

               object-fit: cover;
            top: 0;
            left: -8px;
            background-image: url(../assets/huore.png);
            background-repeat: no-repeat;
            background-size: 100%;
            background-position: 0 0;
          }

.indexPage .main-content .hot .hotGameGridBox .game-item a {
            width: 100%;
            height: 100%;
            display: flex;
            position: relative;
          }

.indexPage .main-content .hot .hotGameGridBox .game-item .gameImg {
            display: block;
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 30px;
            /* border: 10px solid var(--color-background-light2); */
            background-color: var(--color-background-light2);
          }

.indexPage .main-content .hot .hotGameGridBox .game-item .nameBox {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            text-align: center;
            background-color: rgba(0, 0, 0, 0.5);
            color: var(--color-background-light1);
            border-radius: 0 0 30px 30px;
          }

.indexPage .main-content .hot .hotGameGridBox .game-item .nameBox .mark,.indexPage .main-content .hot .hotGameGridBox .game-item .nameBox .play {
              display: none;
            }

.indexPage .main-content .hot .hotGameGridBox .game-item:nth-child(2) {
            grid-row: span 2;
            grid-column: span 1;
          }

.indexPage .main-content .hot .hotGameGridBox .game-item:nth-child(4) {
            grid-row: span 2;
            grid-column: span 1;
          }

.indexPage .main-content .hot .hotGameGridBox .game-item:nth-child(6) {
            grid-row: span 2;
            grid-column: span 2;
          }

.indexPage .main-content .hot .hotGameGridBox .game-item:nth-child(5) {
            grid-row: span 2;
            grid-column: span 2;
          }

.indexPage .main-content .newGame h2 {
        color: var(--color-background-light);
        padding: 20px 0;
        display: flex;
        align-items: center;
        gap: 10px;
      }

.indexPage .main-content .newGame h2 img {
          height: 30px;
          aspect-ratio: 1/1;
          -o-object-fit: cover;
             object-fit: cover;
        }

.indexPage .main-content .newGame .newGameGridBox {
        display: grid;
        grid-auto-rows: 200px;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
        gap: 10px;
      }

.indexPage .main-content .newGame .newGameGridBox .game-item {
          position: relative;
        }

.indexPage .main-content .newGame .newGameGridBox .game-item::before {
            content: "";
            display: block;
            position: absolute;
            z-index: 2;
            width: 50px;
            height: 50px;

            -o-object-fit: cover;

               object-fit: cover;
            top: 0;
            left: -8px;
            background-image: url(../assets/xin.png);
            background-repeat: no-repeat;
            background-size: 100%;
            background-position: 0 0;
          }

.indexPage .main-content .newGame .newGameGridBox .game-item a {
            width: 100%;
            height: 100%;
            display: flex;
            position: relative;
          }

.indexPage .main-content .newGame .newGameGridBox .game-item .gameImg {
            display: block;
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 30px;
            /* border: 10px solid var(--color-background-light2); */
            background-color: var(--color-background-light2);
          }

.indexPage .main-content .newGame .newGameGridBox .game-item .nameBox {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            text-align: center;
            background-color: rgba(0, 0, 0, 0.5);
            color: var(--color-background-light1);
            /* border-radius: 0 0 30px 30px; */
          }

.indexPage .main-content .newGame .newGameGridBox .game-item .nameBox .mark,.indexPage .main-content .newGame .newGameGridBox .game-item .nameBox .play {
              display: none;
            }

.indexPage .main-content .threeD h2 {
        padding: 20px 0;
        color: var(--color-background-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

.indexPage .main-content .threeD h2 .left {
          display: flex;
          align-items: center;
          gap: 10px;
        }

.indexPage .main-content .threeD h2 .left img {
            height: 30px;
            aspect-ratio: 1/1;
            -o-object-fit: cover;
               object-fit: cover;
          }

.indexPage .main-content .threeD h2 .more-link {
          cursor: pointer;
        }

.indexPage .main-content .threeD .threeDGameGridBox {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 0;
        background-color: var(--color-background-light2);
        border-radius: 10px;
      }

.indexPage .main-content .threeD .threeDGameGridBox .game-item {
          width: calc(100% / 6);
          transform: scale(0.9);
          transition: all 0.3s;
        }

.indexPage .main-content .threeD .threeDGameGridBox .game-item .title {
            display: none;
          }

.indexPage .main-content .threeD .threeDGameGridBox .game-item:hover {
            transform: scale(1);
          }

.indexPage .main-content .threeD .threeDGameGridBox .game-item a {
            width: 100%;
            height: 100%;
            display: flex;
          }

.indexPage .main-content .threeD .threeDGameGridBox .game-item img {
            display: block;
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 30px;
            /* border: 10px solid var(--color-background-light2); */
            background-color: var(--color-background-light2);
          }

.indexPage .main-content .Adventure h2 {
        padding: 20px 0;
        color: var(--color-background-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

.indexPage .main-content .Adventure h2 .left {
          display: flex;
          align-items: center;
          gap: 10px;
        }

.indexPage .main-content .Adventure h2 .left img {
            height: 30px;
            aspect-ratio: 1/1;
            -o-object-fit: cover;
               object-fit: cover;
          }

.indexPage .main-content .Adventure h2 .more-link {
          cursor: pointer;
        }

.indexPage .main-content .Adventure .AdventureGameGridBox {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 0;
        background-color: var(--color-background-light2);
        border-radius: 10px;
      }

.indexPage .main-content .Adventure .AdventureGameGridBox .game-item {
          width: calc(100% / 6);
          transform: scale(0.9);
          transition: all 0.3s;
        }

.indexPage .main-content .Adventure .AdventureGameGridBox .game-item .title {
            display: none;
          }

.indexPage .main-content .Adventure .AdventureGameGridBox .game-item:hover {
            transform: scale(1);
          }

.indexPage .main-content .Adventure .AdventureGameGridBox .game-item a {
            width: 100%;
            height: 100%;
            display: flex;
          }

.indexPage .main-content .Adventure .AdventureGameGridBox .game-item img {
            display: block;
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 30px;
            /* border: 10px solid var(--color-background-light2); */
            background-color: var(--color-background-light2);
          }

.indexPage .main-content .Boys h2 {
        padding: 20px 0;
        color: var(--color-background-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

.indexPage .main-content .Boys h2 .left {
          display: flex;
          align-items: center;
          gap: 10px;
        }

.indexPage .main-content .Boys h2 .left img {
            height: 30px;
            aspect-ratio: 1/1;
            -o-object-fit: cover;
               object-fit: cover;
          }

.indexPage .main-content .Boys h2 .more-link {
          cursor: pointer;
        }

.indexPage .main-content .Boys .BoysGameGridBox {
        display: flex;
        flex-wrap: wrap;
        padding: 10px 0;
        background-color: var(--color-background-light2);
        border-radius: 10px;
      }

.indexPage .main-content .Boys .BoysGameGridBox .game-item {
          width: calc(100% / 6);
          transform: scale(0.9);
          transition: all 0.3s;
        }

.indexPage .main-content .Boys .BoysGameGridBox .game-item .title {
            display: none;
          }

.indexPage .main-content .Boys .BoysGameGridBox .game-item:hover {
            transform: scale(1);
          }

.indexPage .main-content .Boys .BoysGameGridBox .game-item a {
            width: 100%;
            height: 100%;
            display: flex;
          }

.indexPage .main-content .Boys .BoysGameGridBox .game-item img {
            display: block;
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
               object-fit: cover;
            border-radius: 30px;
            /* border: 10px solid var(--color-background-light2); */
            background-color: var(--color-background-light2);
          }
.indexPage.loadingAnimation::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      45deg,
      white,
      white
    ); /* 背景渐变色 */
  }
.indexPage.loadingAnimation::after {
    content: "welcome...";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: var(--color-background-light);
    font-size: 50px;
    font-weight: bold;
    /* 字体抖动动画 */
    animation: shake 1.5s linear infinite, fadeIn 1.5s linear infinite;
  }

.site-info-area {
  max-width: 1500px;
  margin: 20px auto;
  color: var(--color-background-light);
  border: 1px solid var(--color-background-light2);
  border-radius: 15px;
  padding: 15px;
  line-height: 1.5;
}

.shengming {
  max-width: 1500px;
  margin: 20px auto;
  color: var(--color-background-light);
  border: 1px solid var(--color-background-light2);
  border-radius: 15px;
  padding: 15px;
  line-height: 1.5;
}

.shengming .policy {
    display: flex;
    justify-content: center;
    align-items: center;
  }

.shengming .policy a {
      /* color: initial; */
      color: var(--color-background-light);
    }
