/* 游戏详情头部 */
.game-header {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.game-header {
  margin-top: 20px;
}

.game-cover {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.cover-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #718096;
  position: relative;
  overflow: hidden;
}

.cover-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 111, 165, 0.1), rgba(22, 96, 136, 0.05));
}

.game-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  position: relative;
}

.game-title {
  font-size: 32px;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 16px;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #718096;
}

.rating {
  color: #ed8936;
  font-weight: bold;
}

.game-description {
  font-size: 16px;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 32px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tag {
  background: #edf2f7;
  color: #4a5568;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.game-description {
  overflow: auto;
  height: 200px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #4a6fa5, #166088);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.btn-secondary {
  background: white;
  color: #4a6fa5;
  border: 2px solid #4a6fa5;
}

.btn-secondary:hover {
  background: #4a6fa5;
  color: white;
  transform: translateY(-2px);
}

/* 游戏特性 */
.game-features {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4a6fa5, #166088);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: #f7fafc;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4a6fa5, #166088);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 8px;
}

.feature-description {
  font-size: 14px;
  color: #718096;
}

/* 游戏截图 */
.game-screenshots {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.screenshot {
  height: 200px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #718096;
  overflow: hidden;
  position: relative;
}

.screenshot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 111, 165, 0.1), rgba(22, 96, 136, 0.05));
}

/* 系统要求 */
.system-requirements {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.requirements-section {
  padding: 24px;
  background: #f7fafc;
  border-radius: 12px;
}

.requirements-section h3 {
  font-size: 18px;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.requirement-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.requirement-name {
  color: #718096;
}

.requirement-value {
  color: #2d3748;
  font-weight: 500;
}

/* 相关游戏 */
.related-games {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.related-game-card {
  background: #f7fafc;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.related-game-card:hover {
  transform: translateY(-5px);
}

.related-game-image {
  height: 120px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #718096;
}

.related-game-info {
  padding: 16px;
}

.related-game-title {
  font-size: 16px;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 8px;
}

.related-game-meta {
  font-size: 12px;
  color: #718096;
}


/* 响应式设计 */
@media (max-width: 768px) {

  .game-info {
    padding: 30px;
  }

  .game-title {
    font-size: 28px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .game-features,
  .game-screenshots,
  .system-requirements,
  .related-games {
    padding: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .game-info {
    padding: 20px;
  }
  .game-title {
    font-size: 24px;
  }
  .game-features,
  .game-screenshots,
  .system-requirements,
  .related-games {
    padding: 20px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .cover-image {
    height: 260px;
  }
  .cover-image img {
    width: 100%;
  }

}