.navbar-expand-lg .navbar-nav {
  height: 100%;
}

.nav-link {
  height: 100%;
  line-height: 75px;
}

.gallery-slider {
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/black-bg.png);
  padding: 100px 0px 0px 0px;
  margin-top: -5px;
  background-position: bottom;
  min-height: 750px;
  max-height: 900px;
}

.common-section {
  padding: 80px 0px;
  margin-top: -5px;
  text-align: center;
  overflow: hidden;
}

.news-section {
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/news-bg.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
}

.story-section {
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/story-bg.png);
  background-repeat: no-repeat;
  background-position: bottom;
}

.game-section {
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/game-bg.jpg);
  background-repeat: no-repeat;
  background-position: bottom;
}

.feature-section {
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/feature-bg.png);
  background-repeat: no-repeat;
  background-position: bottom;
}

.rank-section {
  background-image: url(https://hkgamestar.oss-cn-hongkong.aliyuncs.com/rongyao/assets/images/rank-bg.png);
  background-repeat: no-repeat;
  background-position: top;
  padding: 75px 0;
  background-size: 100% 100%;
}

.common-section .section-title image {
  width: 313px;
  height: 57px;
}
.section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 45px 0;
}

.section-content .page-link {
  background-color: rgba(0, 0, 0, 0);
  color: #ffffff;
  border: none;
}
.section-content .active {
  border-bottom: 1px solid #a51b31;
}
/* 新聞中心 */

.ul-tag {
  display: flex;
  padding: 0px 0 27px 0;
}

.li-tag {
  width: 130px;
  height: 40px;
  background-color: #282828;
  line-height: 40px;
  color: #ffffff;
  /* transform: skew(20deg); */
  cursor: pointer;
}

.ul-tag .active {
  background-color: #a51b31;
}

.news-list {
  font-size: 12px;
  width: 60%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid #282828;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  padding: 20px 0;
}

.news-list-title {
  color: #ffffff;
}

.news-list .news-list-item {
  display: flex;
  padding: 10px 189px;
  border-bottom: 1px solid rgba(40, 40, 40, 0.65);
}

.news-list .news-list-item:last-child {
  border-bottom: none;
}

.news-list .news-list-item .news-type {
  width: 200px;
  color: #b2b2b2;
}

.news-content {
  text-align: left;
  padding-left: 15px;
}

.news-list-content {
  color: #b2b2b2;
}

.game-content {
  /* padding-top: 123px; */
}

.feature-content img {
  height: 600px;
}

.rank-title {
  color: #b3b3b3;
  font-size: 28px;
  margin-top: 40px;
}

.rank-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin-top: 100px;
}

.rank-content .down {
  margin-top: 170px;
}

.rank-content .mar-right-47 {
  margin-right: 47px;
}

.rank-content img {
  background-size: cover; /* 覆盖整个元素，保持图片比例 */
}

.gallery-slider {
  text-align: center;
  padding: 80px 0;
}

.carousel {
  position: relative;
  width: 100%; /* 宽度设置为100%，根据需要调整 */
  overflow: hidden;
  height: 100vh;
}
.carousel img {
  width: 100%;
  display: none; /* 默认隐藏所有图片 */
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out; /* 动画效果 */
  background-size: cover;
  background-position: top center;
}
.carousel img.active {
  display: block; /* 显示当前活动图片 */
  opacity: 1;
}

/* 首頁公告 */
#announcement-list li {
  list-style: none;
  padding: 20px 100px;
  border-bottom: 1px solid rgba(40, 40, 40, 0.65);
}

#pagination {
  margin-top: 20px;
  text-align: center;
}

#pagination button {
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
  background-color: transparent;
  color: #ffffff;
}

#pagination button:disabled {
  background-color: transparent;
  cursor: not-allowed;
  color: #ffffff;
  border-bottom: 1px solid #b82c43;
}

.prev-button {
  background-color: transparent;
  border: none !important;
}

#announcements {
  padding: 50px 0;
  background-color: rgba(0, 0, 0, 0.65);
  max-width: 1200px;
}

#announcement-list {
  color: #ffffff;
}

.notice-list-item {
  display: flex;
  flex-direction: row;
  padding: 20px 150px;
  text-align: left;
  cursor: pointer;
}

.notice-brief {
  color: #b2b2b2;
}
/* 首頁公告 end */

.swiper-container {
  padding-bottom: 40px;
}

.swiper-slide {
  width: 978px;
  transition-timing-function: linear;
}
@media only screen and (max-width: 1200px) {
  .swiper-slide {
    width: 770px;
  }
}
@media only screen and (max-width: 980px) {
  .swiper-slide {
    width: 471px;
  }
}
@media only screen and (max-height: 480px) {
  .swiper-slide {
    width: 471px;
  }
}
.swiper-slide img {
  width: 100%;
  border-radius: 4px;
}
.swiper-slide .title {
  position: absolute;
  transform: rotate(90deg);
  transform-origin: left top;
  left: -3px;
  font-size: 11px;
  color: rgb(102, 102, 102);
}

.swiper-pagination-bullet-active i {
  animation: middle 6s;
}
.swiper-pagination-bullet:first-child.swiper-pagination-bullet-active i {
  animation: first 6s;
}
.swiper-pagination-bullet:last-child.swiper-pagination-bullet-active i {
  animation: last 6s;
}

/* 分页指示器的样式 */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #aaa;
  opacity: 1; /* 确保指示器不透明 */
}
.swiper-pagination-bullet-active {
  background-color: #a51b31;
}

.swiper-pagination {
  position: static; /* 或者absolute，根据需要定位 */
  text-align: center;
  margin-top: 30px; /* 调整这个值来改变指示器与轮播图的距离 */
}

@keyframes first {
  0% {
    transform: scaleX(0.5);
    left: 0px;
  } /*091*/
  100% {
    transform: scaleX(1);
    left: 2px;
  } /*0915*/
}
@keyframes last {
  0% {
    transform: scaleX(0.7);
    left: -10px;
  } /*1090*/
  20% {
    transform: scaleX(0.3);
    left: 2px;
  } /*090*/
  100% {
    transform: scaleX(0.3);
    left: 0px;
  } /*090*/
}
@keyframes middle {
  0% {
    transform: scaleX(0.7);
    left: -10px;
  } /*1091*/
  20% {
    transform: scaleX(0.45);
    left: 2px;
  } /*092*/
  100% {
    transform: scaleX(1);
    left: 2px;
  } /*0913*/
}

.meta_keywords {
  width: 80px;
  font-size: 16px;
  color: #b2b2b2;
  text-align: center;
}

.superise-title {
  margin-bottom: 60px;
}

.news-item {
  cursor: pointer;
}

.dropdown-content a:hover {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(26, 159, 255, 0.5)
  );
}
