/* 游戏详情页样式 */
.game-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.game-detail-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-detail-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #4cc9f0, #f72585);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.game-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* 主要内容区域 */
.game-detail-main {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 30px;
  overflow: hidden;
}

.game-cover-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.game-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-cover-container:hover .game-cover-image {
  transform: scale(1.05);
}

.game-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e9ecef;
  margin-bottom: 30px;
}

.game-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.meta-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.meta-card:hover {
  transform: translateY(-5px);
  background: rgba(76, 201, 240, 0.15);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.meta-label {
  font-size: 0.9rem;
  color: #adb5bd;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.play-button {
  display: inline-block;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #4cc9f0, #4361ee);
  color: white;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(76, 201, 240, 0.4);
}

.play-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(76, 201, 240, 0.6);
  background: linear-gradient(135deg, #4361ee, #7209b7);
}

/* 侧边栏 */
.game-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 25px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(76, 201, 240, 0.5);
  color: #fff;
}

.recommended-games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.recommend-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.recommend-card:hover {
  transform: translateY(-3px);
  background: rgba(76, 201, 240, 0.15);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.recommend-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

.recommend-info {
  flex: 1;
}

.recommend-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.recommend-type {
  font-size: 0.85rem;
  color: #adb5bd;
  margin-bottom: 10px;
}

.rating-stars {
  display: flex;
  gap: 3px;
}

.star {
  color: #ffc107;
}

/* 游戏信息卡片 */
.game-info-card {
  margin-top: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
  color: #adb5bd;
}

.info-value {
  color: #fff;
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .game-detail-content {
    grid-template-columns: 1fr;
  }
  
  .game-detail-title {
    font-size: 2.2rem;
  }
  
  .game-cover-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .game-detail-container {
    padding: 15px;
  }
  
  .game-detail-header {
    display: none;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .game-detail-title {
    font-size: 1.8rem;
  }
  
  .game-cover-container {
    height: 250px;
  }
  
  .game-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .meta-card {
    padding: 15px;
  }
  
  .meta-value {
    font-size: 1.1rem;
  }
  
  .play-button {
    padding: 16px;
    font-size: 1.1rem;
  }
  
  .sidebar-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .game-detail-title {
    font-size: 1.5rem;
  }
  
  .game-cover-container {
    height: 200px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .recommend-card {
    flex-direction: column;
    text-align: center;
  }
  
  .recommend-image {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
  }
}