.carousel-container {
  height: 350px;
}

.carousel-control-btn {
  width: 24px;
  height: 60px;
  opacity: 0.5;
  background: #303133;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 自定义样式 */
.category-nav {
  height: 68px;
  background: #172618;
  border: 1px solid rgba(48,147,63,0.50);
  border-radius: 35px;
  box-shadow: 3px 3px 10px 0px rgba(48,147,63,0.10);
  padding: 0 18px;
}
.nav {
  flex-wrap: nowrap;
  height: 100%;
}
.nav-tabs {
  border-bottom: none;
  overflow-x: auto;
}
.nav-tabs::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.nav-tabs .nav-link-item {
  color: #e5e5e5;
  cursor: pointer;
  margin-right: 15px;
  padding: 0 1.25rem;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 23px;
}
.nav-tabs .nav-link-item.active {
  color: #e5e5e5;
  border: none;
  font-weight: 500;
  background: linear-gradient(180deg,#4ed462, #30933f);
  box-shadow: 3px 3px 10px 0px rgba(48,147,63,0.10); 
}
.nav-tabs .nav-link-item:hover {
  background: linear-gradient(180deg,#4ed462, #30933f);
}
.nav-tabs .nav-item {
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
}
.scrollable-tabs {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.scrollable-tabs::-webkit-scrollbar {
  display: none;
}

.game-container {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.game-card {
  height: 150px;
  background: #142a18;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  box-shadow: 1px 1px 3.33px 0px rgba(48,147,63,0.10);
  transition: all 0.3s ease;
  cursor: pointer;
}
.game-card:hover {
  background: #1f4526;
 
}
.game-card img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  margin: 5px 0px;
}
.game-content {
  text-align: center;
}
.game-png {
  position: relative;
  top: -1px;
  margin-right: 0px !important;
}

/* 新闻列表区域样式 */
.newsList .tab {
    display: flex;
    align-items: center;
    justify-content: start;
  }
.newsList .tab .text {
  font-size: 16px;
  color: #e5e5e5;
}
.newsList .content-card {
  display: grid;
  grid-template-columns: repeat(4,minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.newsList .content-card .card {
    height: 140px;
    display: flex;
    flex-direction: column;
    background: #142a18;
    border-radius: 16px;
}  
.newsList .content-card .card:hover {
  background: #1f4526;
}
.newsList .content-card .card .img {
  width: 100%;
  height: 110px;
  border-radius: 16px 16px 0 0;
}
.newsList .content-card .card .title {
  width: 100%;
  font-size: 16px;
  color: #e5e5e5;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
}
.footer .btn {
    background: linear-gradient(180deg,#4ed462, #30933f);
    border-radius: 16px;
    font-size: 16px;
    height: 40px;
    color: #fff;
    border: none;
}
/* .me-2 {
  margin-right: 0px !important;
} */
/* 新版样式区域 */
.i-contnet {
  margin: 10px 0;
  display: flex;
  gap: 10px;
}
.leftNews {
  min-width: 320px;
}
.leftNews .header {
  display: flex;
  align-items: center;
}
.leftNews .header span,
.rightGames .header span {
  color: #333;
  cursor: pointer;
  font-size: 18px;
}
.leftNews .newsCard {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(1,1fr);
  gap: 10px;
  margin: 10px 0;
}
.leftNews .newsCard .newsItem {
  width: 100%;
  min-width: 0;
  max-width: 320px;
  min-width: 0;
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .1);
  padding-bottom: 10px;
  border-radius: 10px;
}
.leftNews .newsCard .newsItem:hover {
  transform: translateY(-6px);
}
.leftNews .newsCard .newsItem img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.leftNews .newsCard .newsItem span {
  color: #333;
  font-size: 14px;
  text-align: center;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.rightGames {
  flex: 1;
}
.rightGames .hotGames .gamesCard,
.rightGames .actionGames .gamesCard,
.rightGames .roleGames .gamesCard,
.rightGames .tacticsGames .gamesCard {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 20px 0;
}
.rightGames .hotGames .gamesCard .gamesItem,
.rightGames .actionGames .gamesCard .gamesItem,
.rightGames .roleGames .gamesCard .gamesItem,
.rightGames .tacticsGames .gamesCard .gamesItem{
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .1);
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  min-width: 0;
}
.rightGames .hotGames .gamesCard .gamesItem:hover,
.rightGames .actionGames .gamesCard .gamesItem:hover,
.rightGames .roleGames .gamesCard .gamesItem:hover,
.rightGames .tacticsGames .gamesCard .gamesItem:hover {
  transform: translateY(-6px);
}
.rightGames .hotGames .gamesCard .gamesItem img,
.rightGames .actionGames .gamesCard .gamesItem img,
.rightGames .roleGames .gamesCard .gamesItem img,
.rightGames .tacticsGames .gamesCard .gamesItem img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
}
.rightGames .hotGames .gamesCard .gamesItem .gamesDesc,
.rightGames .actionGames .gamesCard .gamesItem .gamesDesc,
.rightGames .roleGames .gamesCard .gamesItem .gamesDesc,
.rightGames .tacticsGames .gamesCard .gamesItem .gamesDesc{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  width: 100%;
  min-width: 0;
}
.rightGames .hotGames .gamesCard .gamesItem .gamesDesc span,
.rightGames .actionGames .gamesCard .gamesItem .gamesDesc span,
.rightGames .roleGames .gamesCard .gamesItem .gamesDesc span,
.rightGames .tacticsGames .gamesCard .gamesItem .gamesDesc span{
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  color: #333;
}
.rightGames .hotGames .gamesCard .gamesItem .gamesDesc button,
.rightGames .actionGames .gamesCard .gamesItem .gamesDesc button,
.rightGames .roleGames .gamesCard .gamesItem .gamesDesc button,
.rightGames .tacticsGames .gamesCard .gamesItem .gamesDesc button {
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #4ed462, #30933f 98%);
  color: #fff;
  max-width: fit-content;
}

/* 移动端样式区域 */
.mobileCard {
  margin: 10px 0;
}
.mobileCard .mobileItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .1);
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  min-width: 0;
  margin: 5px 0;
}
.mobileCard .mobileItem .mobileLeft {
  display: flex;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.mobileCard .mobileItem .mobileLeft .gamesDesc {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #333;
  min-width: 0;
  width: 100%;
}
.mobileCard .mobileItem .mobileLeft .gamesDesc span {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.mobileCard .mobileItem .mobileLeft .gamesDesc p span {
  line-height: 12px;
  display: inline-block;
  text-align: center;
  border-radius: 8px;
  padding: 3px;
  transform: scale(0.88);
  max-height: fit-content;
  max-width: fit-content;
}
.mobileCard .mobileItem .mobileLeft .gamesDesc p span:first-child{
  color: #30933f;
  border: 1px solid #30933f;
}
.mobileCard .mobileItem .mobileLeft .gamesDesc p span:nth-child(2){
  color: #ffba00;
  border: 1px solid #ffba00;
}
.mobileCard .mobileItem .mobileLeft .gamesDesc p span:last-child{
  color: #a560ce;
  border: 1px solid #a560ce;
}
.mobileCard .mobileItem .mobileLeft .game-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}
.mobileCard .mobileItem button {
  border: none;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #4ed462, #30933f 98%);
  color: #fff;
  min-width: fit-content;
  max-height: fit-content;
}

@media screen and (max-width: 992px) {
  .carousel-container {
    height: 145px;
  }
  .carousel-control-btn {
    width: 16px;
    height: 30px;
  }
  .game-container {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .game-card {
    height: 115px;
  }

  .game-desc{
    font-size:12px;
  }
  .game-title {
    font-size:12px;
  }
  .category-nav {
    height: auto;
    background: none;
    border: unset;
    border-bottom: 1px solid #2b4a30;
    box-shadow: unset;
    border-radius: 0;
    padding: 0;
  }
  .nav-tabs::-webkit-scrollbar {
    display: none;
  } 
  .nav-tabs .nav-link-item:hover {
    background: none;
  }
  .nav-tabs .nav-link-item.active {
    background: unset;
    box-shadow: unset;
    color: #30933f;
  }
  .nav-tabs .nav-link-item.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,#4ed462, #30933f);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 1px;
  }
  .nav-tabs .nav-link-item {
    /* margin-right: 0.5rem; */
    padding: 0;
    position: relative;
  }
  .nav-tabs .nav-item {
    margin-right: 0;
  }
  .nav-item:last-of-type .nav-link-item {
    margin-right: 0;
  }
}

@media screen and (max-width: 992px) {
  .newsList .content-card {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .newsList .content-card .card {
    height: 125px;
  }

  .newsList .content-card .card .title {
    font-size:12px;
  }
  .newsList .footer .btn {
        width: 100%;
        max-width: 100px;
    }
}

@media screen and (max-width: 992px) {
  .i-contnet {
    flex-direction: column-reverse;
  }
  .rightGames .hotGames .gamesCard,
  .rightGames .actionGames .gamesCard,
  .rightGames .roleGames .gamesCard,
  .rightGames .tacticsGames .gamesCard {
    grid-template-columns: repeat(1,1fr);
  }
  .leftNews {
    margin-bottom: 50px;
  }
  .leftNews .newsCard .newsItem {
    max-width: 100%;
  }
}