/* ===== 游戏特色轮播（设计稿基准 1920×1029，随 module-3 等比缩放）===== */
.feature-carousel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 57.292cqw;
  margin-top: 0.777cqh;
}

.feature-carousel-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.333cqw;
  width: 100%;
  margin-top: -0.777cqh;
}

.feature-arrow {
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
  transition: opacity 0.2s;
}

.feature-arrow:hover {
  opacity: 0.8;
}

.feature-arrow img {
  display: block;
  width: 3.333cqw;
  height: auto;
}

/* 视窗：Web 端同时显示 2 张 */
.feature-carousel-viewport {
  flex: none;
  overflow: hidden;
  --slide-width: 15.625cqw;
  --slide-gap: 1.458cqw;
  width: calc(var(--slide-width) * 2 + var(--slide-gap));
  height: 61.175cqh;
}

.feature-carousel-track {
  display: flex;
  gap: var(--slide-gap);
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.feature-slide {
  flex: 0 0 var(--slide-width);
  width: var(--slide-width);
  height: 100%;
}

.feature-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* 窄屏只显示 1 张，其余元素继续等比缩放 */
@container module3 (max-width: 768px) {
  .feature-carousel-viewport {
    width: var(--slide-width);
  }
}
