.games-details-content {
  width: 100%;
  background: #010101;
  position: relative;
}

/* 顶部游戏封面区域 */
.game-cover-section {
  width: 100vw;
  height: 800px;
  object-fit: cover; /* 保持图片比例，覆盖整个区域 */
  object-position: center; /* 居中显示图片 */
  display: block; /* 确保图片正确显示为块级元素 */
}

.game-info-content {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 600px;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.game-title-gradient {
  font-size: 40px;
  font-weight: bold;
  /* 设置背景为从左到右的渐变色 */
  background: linear-gradient(to right, #FFCEBA 0%, #fff 100%);
  /* 将背景裁剪到文本区域 */
  -webkit-background-clip: text;
  background-clip: text;
  /* 使文本颜色透明，从而显示出背景渐变色 */
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  /* 设置字体大小等样式 */
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}

.game-cover-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.game-25-img {
  height: 40px;
  width: auto;
}

.game-gratis-img {
  height: 34px;
  width: auto;
}

.download-button {
  width: 204px;
  height: 48px;
  background: #F86C34;
  border-radius: 30px;
  margin-top: 60px;
}

.download-button:hover {
  background: #e55b2c;
}

.download-button img {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.download-button span {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: bold;
}

/* 游戏资讯推荐区域 */
.game-news-section {
  width: 100vw;
  background: #010101;
}

.game-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 40px;
  font-weight: bold;
  background: linear-gradient(to right, #FFCEBA 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

.more-button {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.more-button:hover {
  color: #F86C34;
}

.more-button img {
  width: 16px;
  height: 16px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
  height: 120px;
  background: rgba(248,108,52,0.1);
}

.news-item:hover {
  cursor: pointer;
  background: rgba(248,108,52,0.2);
}

.news-item-img {
  width: 180px;
  height: 90px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-item-content {
  min-width: 0;
  height: 90px;
  position: relative;
}

.news-item-title {
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.news-item-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-item-time {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  position: absolute;
  bottom: 0;
}

.news-item-button {
  min-width: 72px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  align-self: flex-end;
  border-radius: 16px;
  background: rgba(248,108,52,0.30);
  margin: auto 0;
}

.news-item-button span {
  font-size: 14px;
  color: #fff;
  transition: color 0.3s ease;
}

.news-item-button img {
  width: 16px;
  height: 16px;
  transition: filter 0.3s ease;
}

/* 更多游戏区域 */
.more-games-section {
  width: 100%;
  background: #010101;
  padding: 60px 0;
}

.games-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.game-item {
  background: rgba(248,108,52,0.1);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.game-item:hover {
  transform: translateY(-5px);
}

.game-item img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.game-item-title {
  padding: 15px;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 响应式布局 */
@media screen and (max-width: 1400px) {
  .game-title-gradient {
    font-size: 32px;
  }

  .section-title {
    font-size: 36px;
  }

  /* 调整更多游戏模块上边距 */
  .more-games-section {
    padding: 50px 0;
  }

  /* 调整游戏项目内间距 */
  .game-item {
    height: auto;
  }

  .game-item img {
    margin: 0 auto;
  }

  .news-item {
    height: auto;
    padding: 16px;
  }

  .news-item-img {
    width: 160px;
    height: 80px;
  }

  .news-item-content {
    height: 80px;
  }

  .news-item-title {
    font-size: 15px;
  }

  .news-item-desc {
    font-size: 13px;
  }

  .news-item-button {
    min-width: 68px;
    height: 30px;
    padding: 6px;
  }

  .news-item-button span {
    font-size: 13px;
  }

  .game-item-title {
    font-size: 15px;
    padding: 12px 8px;
  }
}

@media screen and (max-width: 1200px) {
  .game-title-gradient {
    font-size: 28px;
  }

  .section-title {
    font-size: 32px;
  }

  /* 调整更多游戏模块上边距 */
  .more-games-section {
    padding: 45px 0;
  }

  .news-item {
    padding: 14px;
    gap: 16px;
  }

  .news-item-img {
    width: 140px;
    height: 70px;
  }

  .news-item-content {
    height: 70px;
  }

  .news-item-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .news-item-desc {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .news-item-time {
    font-size: 11px;
  }

  .news-item-button {
    min-width: 64px;
    height: 28px;
    padding: 4px;
  }

  .news-item-button span {
    font-size: 12px;
  }

  .news-item-button img {
    width: 14px;
    height: 14px;
  }

  .game-item-title {
    font-size: 14px;
    padding: 10px 6px;
  }

  .more-button {
    font-size: 13px;
  }

  .game-news-container,
  .games-grid {
    max-width: 1000px;
    padding: 0 24px;
  }
}

@media screen and (max-width: 768px) {
  .game-cover-section {
    height: 80vw;
  }

  .game-info-content {
    height: 70vw;
    top: 5vw;
  }

  .game-title-gradient {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .game-cover-images {
    gap: 15px;
  }

  .game-25-img {
    height: 32px;
    max-width: calc(100vw - 32px);
  }

  .game-gratis-img {
    height: 28px;
    max-width: calc(100vw - 32px);
  }

  .section-title {
    font-size: 28px;
  }

  /* 调整更多游戏模块上边距 */
  .more-games-section {
    padding: 35px 0;
  }

  /* 调整游戏项目内间距 */

  .news-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-item {
    padding: 12px;
    gap: 12px;
  }

  .news-item-img {
    width: 120px;
    height: 65px;
  }

  .news-item-content {
    height: 65px;
  }

  .news-item-title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .news-item-desc {
    font-size: 11px;
    margin-bottom: 2px;
    -webkit-line-clamp: 2;
  }

  .news-item-time {
    font-size: 10px;
  }

  .news-item-button {
    min-width: 60px;
    height: 26px;
    padding: 4px;
  }

  .news-item-button span {
    font-size: 11px;
  }

  .news-item-button img {
    width: 12px;
    height: 12px;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .game-item-title {
    font-size: 13px;
    padding: 8px 4px;
  }

  .more-button {
    font-size: 12px;
    gap: 6px;
  }

  .more-button img {
    width: 14px;
    height: 14px;
  }

  .game-news-container,
  .games-grid {
    padding: 0 16px;
  }

  .game-news-container {
    padding-bottom: 40px;
  }
}