* {
  margin: 0;
  padding: 0;
}

body {
  background: #f1f2f4;
}

div {
  position: relative;
  box-sizing: border-box;
}

img {
  width: 100%;
  object-fit: contain;
}

a {
  text-decoration: none;
}

.active-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-box {
  width: 100%;
}

.news-nav {
  display: flex;
  color: #515175;
}

.news-nav span {
  position: relative;
  cursor: pointer;
}

.news-nav-select {
  color: #fff;
  background-color: #7469e5;
  border-radius: 3vw;
}

.news-list {
  height: 100%;
  overflow: auto;
}

.news-list::-webkit-scrollbar {
  display: none;
}

.news-item {
  display: flex;
  color: #4e4f54;
  border-bottom: 1px dotted #4e4f54;
}

.news-item span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-item .keyword {
  color: #4547b9;
}

.news-item .news-title {
  flex: 1;
}

.role-box {
  width: 100%;
}

.slider-box {
  width: 100%;
}

.swiper-container {
  position: static;
}

/* PC端 */
@media (min-width: 751px) {
  .news-box {
    display: flex;
    justify-content: center;
    height: 49.21vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pc_news_bg.jpg)
    no-repeat center/cover;
  }

  .news-swiper {
    width: 37.39vw;
    height: 24.21vw;
    top: 20vw;
  }

  .news-container {
    width: 35vw;
    height: 24.21vw;
    top: 20vw;
    background-color: #fff;
  }

  .news-content {
    height: 17.4vw;
    padding: 1vw 2vw;
  }

  .news-nav {
    padding: 1vw;
    font-size: 1.2vw;
    background-color: #ebe9ff;
  }

  .news-nav span {
    margin: 0 0.5vw;
    padding: 0 1vw;
  }

  .news-text {
    color: #6e70dd;
    font-size: 1.2vw;
    font-weight: bold;
    text-align: center;
    line-height: 2.4vw;
  }

  .text-line {
    width: 100%;
    height: 0.4vw;
    background: url(/resource/common/images/indie_games_website/gyzw/news_line.png)
    no-repeat center/contain;
  }

  .news-item {
    font-size: 1vw;
    padding-bottom: 0.5vw;
    margin-bottom: 0.5vw;
  }

  .news-border {
    position: absolute;
    left: 52%;
    transform: translate(-50%);
    top: 16.8vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pc_news_border.png)
    no-repeat center/contain;
    z-index: 1;
    pointer-events: none;
    width: 83vw;
    height: 30vw;
  }

  .active-box {
    display: flex;
    justify-content: center;
    height: 57.91vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pc_active_bg.jpg)
    no-repeat center/cover;
  }

  .active-container {
    width: 75vw;
    height: 38vw;
    display: flex;
    justify-content: space-around;
    margin-top: 14vw;
  }

  .active-item {
    width: 22vw;
    height: 38vw;
  }

  .role-box {
    display: flex;
    justify-content: center;
    height: 60vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pc_role_bg.jpg)
    no-repeat center/cover;
  }

  .role-container {
    margin-top: 15vw;
    width: 80vw;
    height: 35vw;
    margin-right: 8vw;
  }

  .role-content {
    display: flex;
    justify-content: left;
    align-items: center;
  }

  .role-img {
    width: 55.88vw;
    height: 34.58vw;
  }

  .role-msg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 31.56vw;
    min-height: 28.64vw;
  }

  .role-pagination {
    position: absolute;
    left: 50% !important;
    transform: translate(-50%);
    bottom: -8vw !important;
    width: 40vw !important;
    margin-left: 4vw;
    z-index: 1;
    display: flex;
    justify-content: space-around;
  }

  .role-pagination .swiper-pagination-bullet {
    width: 8vw;
    height: 6.66vw;
    opacity: 1;
    background: url(/resource/common/images/indie_games_website/gyzw/role_pagination_bullet.png)
    no-repeat center/contain;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .role-pagination .swiper-pagination-bullet-active {
    background: url(/resource/common/images/indie_games_website/gyzw/role_pagination_bullet_active.png)
    no-repeat center/contain;
  }

  .role-pagination .swiper-pagination-bullet img {
    width: 4.2vw;
    margin-top: 0.6vw;
  }

  .role-prev {
    position: absolute;
    left: 20vw;
    bottom: -6.5vw;;
    width: 2vw;
    height: 2.55vw;
    background: url(/resource/common/images/indie_games_website/gyzw/role_prev.png)
    no-repeat center/contain;
    cursor: pointer;
  }

  .role-next {
    position: absolute;
    right: 12vw;
    bottom: -6.5vw;
    width: 2vw;
    height: 2.55vw;
    background: url(/resource/common/images/indie_games_website/gyzw/role_next.png)
    no-repeat center/contain;
    cursor: pointer;
  }

  .slider-box {
    height: 85vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pc_slider_bg.jpg)
    no-repeat center/cover;
    padding-top: 17vw;
  }

  .game-features-container {
    width: 67vw;
    margin: 0 auto;
    padding: 0 6vw;
    overflow: hidden;
  }

  .game-features-pagination {
    display: flex;
    padding: 0 40vw;
    justify-content: space-around;
  }

  .game-features-pagination .swiper-pagination-bullet {
    width: 1.5vw;
    height: 1.5vw;
    opacity: 1;
    background: url(/resource/common/images/indie_games_website/gyzw/slider_pagination_bullet.png)
    no-repeat center/contain;
  }

  .game-features-pagination .swiper-pagination-bullet-active {
    transform: scale(1.2);
    background: url(/resource/common/images/indie_games_website/gyzw/silder_pagination_bullet_active.png)
    no-repeat center/contain;
  }

  .slider-link-container {
    margin-top: 10vw;
    padding: 0 20vw;
    display: flex;
    justify-content: space-around;
  }

  .slider-link-content {
    width: 7vw;
    height: 9.5vw;
  }
}

/* 移动端 */
@media (max-width: 750px) {
  .news-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 152.26vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pe_news_bg.jpg)
    no-repeat center/cover;
  }

  .news-swiper {
    width: 85vw;
    height: 55vw;
    margin-top: 33vw;
  }

  .news-container {
    width: 85vw;
    height: 56.5vw;
    background-color: #fff;
  }

  .news-content {
    height: 37.4vw;
    padding: 2vw 3vw;
  }

  .news-nav {
    padding: 3vw 4vw;
    font-size: 3.4vw;
    background-color: #ebe9ff;
  }

  .news-nav span {
    margin: 0 1vw;
    padding: 0 3vw;
  }

  .news-text {
    color: #6e70dd;
    font-size: 3.4vw;
    font-weight: bold;
    text-align: center;
    line-height: 7vw;
  }

  .text-line {
    width: 100%;
    height: 1vw;
    background: url(/resource/common/images/indie_games_website/gyzw/news_line.png)
    no-repeat center/contain;
  }

  .news-item {
    font-size: 3vw;
    padding-bottom: 1.5vw;
    margin-bottom: 1.5vw;
  }

  .news-border {
    position: absolute;
    left: 50.5%;
    transform: translate(-50%);
    top: 28.8vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pe_news_border.png)
    no-repeat center/contain;
    z-index: 1;
    pointer-events: none;
    width: 95vw;
    height: 120.4vw;
  }

  .active-box {
    display: flex;
    justify-content: center;
    height: 80.13vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pe_active_bg.jpg)
    no-repeat center/cover;
  }

  .active-container {
    width: 98vw;
    height: 44vw;
    display: flex;
    justify-content: space-around;
    margin-top: 30vw;
  }

  .active-item {
    width: 26vw;
    height: 44vw;
  }

  .role-box {
    display: flex;
    justify-content: center;
    height: 115.86vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pe_role_bg.jpg)
    no-repeat center/cover;
  }

  .role-container {
    margin-top: 28vw;
    width: 100vw;
    height: 65vw;
  }

  .role-content {
    display: flex;
    justify-content: left;
    align-items: center;
  }

  .role-img {
    width: 100vw;
    height: 65vw;
  }

  .role-msg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 3vw;
    width: 40vw;
    min-height: 36.5vw;
  }

  .role-pagination {
    position: absolute;
    left: 50% !important;
    transform: translate(-50%);
    bottom: -16vw !important;
    width: 70vw !important;
    z-index: 1;
    display: flex;
    justify-content: space-around;
  }

  .role-pagination .swiper-pagination-bullet {
    width: 14vw;
    height: 12vw;
    opacity: 1;
    background: url(/resource/common/images/indie_games_website/gyzw/role_pagination_bullet.png)
    no-repeat center/contain;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
  }

  .role-pagination .swiper-pagination-bullet-active {
    background: url(/resource/common/images/indie_games_website/gyzw/role_pagination_bullet_active.png)
    no-repeat center/contain;
  }

  .role-pagination .swiper-pagination-bullet img {
    width: 7.5vw;
    margin-top: 1vw;
  }

  .role-prev {
    position: absolute;
    left: 8vw;
    bottom: -14vw;
    width: 6vw;
    height: 7vw;
    background: url(/resource/common/images/indie_games_website/gyzw/role_prev.png)
    no-repeat center/contain;
    cursor: pointer;
  }

  .role-next {
    position: absolute;
    right: 8vw;
    bottom: -14vw;
    width: 6vw;
    height: 7vw;
    background: url(/resource/common/images/indie_games_website/gyzw/role_next.png)
    no-repeat center/contain;
    cursor: pointer;
  }

  .slider-box {
    height: 141.33vw;
    background: url(/resource/common/images/indie_games_website/gyzw/pe_slider_bg.jpg)
    no-repeat center/cover;
    padding-top: 30vw;
  }

  .game-features-container {
    width: 90vw;
    margin: 0 auto;
    padding: 0 6vw;
    overflow: hidden;
  }

  .game-features-pagination {
    display: flex;
    padding: 0 20vw;
    justify-content: space-around;
  }

  .game-features-pagination .swiper-pagination-bullet {
    width: 4vw;
    height: 4vw;
    opacity: 1;
    background: url(/resource/common/images/indie_games_website/gyzw/slider_pagination_bullet.png)
    no-repeat center/contain;
  }

  .game-features-pagination .swiper-pagination-bullet-active {
    transform: scale(1.4);
    background: url(/resource/common/images/indie_games_website/gyzw/silder_pagination_bullet_active.png)
    no-repeat center/contain;
  }

  .slider-link-container {
    margin-top: 15vw;
    padding: 0 10vw;
    display: flex;
    justify-content: space-around;
  }

  .slider-link-content {
    width: 11vw;
    height: 17vw;
  }
}