.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: blueviolet;
  font-size: 70px;
  font-weight: bold;
}

.homeTitle {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.homeTitle .logo {
  width: 70px;
  height: 70px;
  margin-right: 10px;
  background: #768078cc;
}
.home .downImg {
  width: 100px;
  height: 50px;
  margin-top: 20px;
  background: #333;
}
.introduce {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  font-size: 70px;
  font-weight: bold;
  background: yellowgreen;
  text-align: center;
}

.swiper-slide img {
  width: 100%;
}
.swiper-pagination-bullet {
  width: 20px !important;
  height: 8px !important;
  border-radius: 3px !important;
  background: #ccc !important;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  background: #fff !important;
  width: 25px !important;
}

.games {
  padding: 70px 30px;
  box-sizing: border-box;
}
.gameTitle {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}
.games .gameList {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1300px;
}

.gameItem {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #202024;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6),
    /* 深色的下部阴影 */ 0 4px 6px rgba(255, 255, 255, 0.1); /* 柔和的浅色高光 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gameItemCover {
  width: 100%;
  overflow: hidden;
}
.gameItemCover img {
  width: 100%;
  height: 100%;
  transition: all 0.3s;
  display: block;
  transform: scale(1.03);
}
.gameItemTitle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  line-height: 18px;
  padding: 6px 8px;
  box-sizing: border-box;
}
.gameItemName {
  font-size: 24px;
}
.gameItem:hover {
  transform: translateY(-2px); /* 悬浮效果 */
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.7),
    /* 加深的下部阴影 */ 0 6px 10px rgba(255, 255, 255, 0.15); /* 更明显的浅色高光 */
}
.gameItem:hover .gameItemCover img {
  transform: scale(1.1);
}

.down {
  padding: 70px 30px;
  box-sizing: border-box;
}
.downMain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1300px;
  height: 522px;
  background: url("/imgs/downbg.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  border-radius: 8px;
  background-position: center; /* 居中对齐 */
  color: #fff;
}
.downTitle {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
}

.downDes {
  font-size: 28px;
  margin-bottom: 20px;
}
/* From Uiverse.io by Gumpack */
.downMainbtn {
  background-image: linear-gradient(
    45deg,
    #ff512f 0%,
    #f09819 51%,
    #ff512f 100%
  );
}

.downMainbtn {
  cursor: pointer;
  width: fit-content;
  padding: 15px 30px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  display: block;
  border: 0px;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #f09819;
}

.downMainbtn:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.downMainbtn:active {
  transform: scale(0.95);
}
/* Responsive styles */
@media screen and (max-width: 1200px) {
  .funRight {
    width: 300px;
    height: 500px;
    background: #333;
  }
  .games .gameList {
    grid-template-columns: repeat(6, minmax(0, 1fr));

    width: 100%;
  }
}
/* Responsive styles */
@media screen and (max-width: 1000px) {
  .games .gameList {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
  .down,
  .games {
    padding: 70px 10px;
  }
}
/* Responsive styles */
@media screen and (max-width: 768px) {
  .introduce,
  .home {
    font-size: 34px;
  }

  .games .gameList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .gameText {
    height: 120px;
    font-size: 20px;
  }
  .swiper-slide img {
    width: auto;
    height: 400px;
  }
}
/* Responsive styles */
@media screen and (max-width: 568px) {
  .logoText {
    /* display: none; */
  }
  .games .gameList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .gameText {
    height: 120px;
    font-size: 16px;
  }
  .downMain {
    align-items: center;
    padding: 0 20px;
  }
  .downTitle {
    font-size: 26px;
  }
  .downDes {
    font-size: 20px;
  }
  .downMain {
    background-position: right; /* 居中对齐 */
  }
}
footer {
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: #7cd18dcc;
  padding: 50px 20px 20px;
  box-sizing: border-box;
}
footer .logo {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  color: #f8781c;
  margin: 0 auto;
}
footer .logo img {
  width: 25px;
  height: 30px;
  margin-right: 10px;
}
footer .logo a {
  color: #f8781c;
}
footer {
  color: #fff;
  text-align: center;
}
