.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(5, minmax(0, 1fr));
}

.game-card {
  height: 150px;
  background: #142a18;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  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;
}
.game-content {
  text-align: center;
}
.game-png {
  position: relative;
  top: -3px;
}

@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: 110px;
  }

  .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;
  }
}