/* 游戏产品区域样式 */
.game-section {
  padding: 100px 0 80px;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 10;
}

.game-section h2 {
  font-size: 3.5rem;
  color: var(--primary-cyan);
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  font-family: 'Orbitron', 'Rajdhani', monospace;
  letter-spacing: 0.09em;
  text-shadow: 0 0 1px #00B8D9, 0 0 3px rgba(0, 184, 217, 0.5);
  animation: slideInUp 0.8s ease-out;
}

.game-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-gradient);
  background-size: 200% 100%;
  animation: gradientFlow 10s linear infinite;
  border-radius: 2px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px;
}

/* 游戏卡片 - 新设计 */
.game-card {
  background: rgba(245, 247, 250, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 184, 217, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  animation: slideInUp 0.8s ease-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 游戏卡片悬停效果增强 */
.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 12px 24px rgba(0, 184, 217, 0.15);
  border-color: rgba(0, 184, 217, 0.4);
  z-index: 10;
}

/* 响应式设计 - 新布局 */
@media (max-width: 1400px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .game-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 40px;
  }

  .game-section {
    padding: 60px 0 40px;
  }
}

@media (max-width: 480px) {
  .game-grid {
    padding: 0 15px;
  }
}
.game-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary-blue);
  z-index: 10;
}

/* 游戏图片区域 - 新设计 */
.game-image {
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 184, 217, 0.1), rgba(139, 92, 246, 0.1));
  height: 240px;
}

/* 游戏图片 - 新设计 */
.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover .game-img {
  transform: scale(1.1);
}

/* 即将上线覆盖层 */
.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 0 1px #00B8D9, 0 0 3px rgba(0, 184, 217, 0.5);
  z-index: 1;
}

/* 悬停覆盖层 - 新设计 */
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 26, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  z-index: 5;
}

.game-card:hover .hover-overlay {
  opacity: 1;
}

/* 二维码容器 - 新设计 */
.qrcode-container {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(10, 14, 26, 0.9);
  padding: 8px;
  border-radius: 8px;
  backdrop-filter: blur(15px);
}

.game-card:hover .qrcode-container {
  opacity: 1;
  transform: scale(1);
}

/* 二维码 - 新设计 */
.overlay-qrcode {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 4px;
  border: 2px solid rgba(0, 184, 217, 0.5);
}

/* 下载提示 - 新设计 */
.overlay-download-tip {
  font-size: 0.8rem;
  text-align: center;
  color: white;
  line-height: 1.2;
  font-weight: 500;
}

/* 覆盖层内容 - 新设计 */
.overlay-content {
  width: 100%;
  margin-top: 20px;
}

/* 覆盖层标题 - 新设计 */
.overlay-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--primary-cyan);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 184, 217, 0.5);
}

/* 覆盖层描述 - 新设计 */
.overlay-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* 游戏信息区域 - 新设计 */
.game-info {
  padding: 24px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 184, 217, 0.1);
}

/* 游戏名称 - 新设计 */
.game-info h3 {
  font-size: 1.6rem;
  margin: 0;
  color: #2c3e50;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* 游戏描述 - 新设计 */
.game-info p {
  color: #7f8c8d;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
  flex: 1;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease;
}

/* 游戏链接按钮 - 新设计 */
.game-link {
  display: block;
  background: linear-gradient(90deg, #3498db, #2980b9);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  background-size: 200% 100%;
  margin-top: auto;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
}

.game-link:hover {
  box-shadow: 0 0 20px rgba(0, 184, 217, 0.6);
  transform: translateY(-3px);
  background-size: 250% 100%;
}

/* 卡片悬停时文本效果增强 */
.game-card:hover .game-info h3 {
  color: #3498db;
}

.game-card:hover .game-info p {
  opacity: 1;
}

.game-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 184, 217, 0.4);
}

/* 禁用的游戏链接 */
.game-link.disabled {
  background: rgba(176, 184, 212, 0.3);
  cursor: not-allowed;
  animation: none;
  color: var(--primary-silver);
}

.game-link.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* 换一批按钮 */
.refresh-btn {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(10, 14, 26, 0.8);
  color: var(--primary-cyan);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.9rem;
}

.refresh-btn:hover {
  background: rgba(0, 184, 217, 0.2);
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

/* 游戏详情页面容器 */
.game-detail-section {
  display: none;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  /* 使用产品界面的背景动画 */
  background: linear-gradient(135deg, #F5F7FA 0%, #80DEEA 50%, #F5F7FA 100%);
  /* 添加科技感动画背景 */
  box-shadow: inset 0 0 100px rgba(0, 184, 217, 0.1);
}

/* 产品界面背景动画 */
.game-detail-section::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 184, 217, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 217, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
}

.game-detail-section::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(0, 184, 217, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: bgPulse 8s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes bgPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

.game-detail-section.active {
  display: block;
  /* 添加淡入动画 */
  animation: fadeIn 0.5s ease-out forwards;
}

/* 游戏详情主容器 */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 10;
}

/* 游戏介绍区域 */
.game-intro {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 20px;
  padding: 60px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.game-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 184, 217, 0.1), transparent);
  animation: scan 3s linear infinite;
}

/* 游戏详情页面新布局样式 */
.game-header {
  text-align: center;
  margin-bottom: 40px;
}

.game-content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* 确保媒体列和信息列的宽度一致 */
.media-column, .info-column {
  max-width: 100%;
}

/* 调整信息列内容容器的宽度，使其与视频容器相适配 */
.game-description, .features-grid {
  max-width: 100%;
}

/* 确保特色功能列表项的宽度适应容器 */
.feature-item {
  width: 100%;
  box-sizing: border-box;
}

.media-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-description {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 10px;
  padding: 20px;
  color: #34495e;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 游戏标题样式 */
.game-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #3498db, #2980b9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Orbitron', 'Rajdhani', monospace;
  letter-spacing: 0.05em;
}

.game-subtitle {
  font-size: 1.3rem;
  color: #7f8c8d;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.9;
}

/* 图片轮播容器 */
.carousel-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.main-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.main-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* 图片控制按钮 */
.image-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
}

.control-btn {
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-cyan);
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.control-btn:hover {
  background: rgba(0, 184, 217, 0.2);
  border-color: var(--primary-cyan);
  transform: scale(1.1);
}

/* 视频容器 */
.video-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}

.main-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  aspect-ratio: 16/9;
  object-fit: cover;
  max-width: 100%;
}

/* 特色功能列表 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 10px;
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-height: 200px;
  justify-content: center;
}

.feature-item:hover {
  box-shadow: 0 8px 24px rgba(0, 184, 217, 0.15);
  transform: translateX(5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
  width: 100%;
}

.feature-title {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-text {
  color: #7f8c8d;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 底部下载区域 */
.bottom-section {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* 下载卡片 */
.download-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 184, 217, 0.2);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  width: 100%;
  margin-top: 30px;
}

.download-title {
  font-size: 1.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.download-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.download-card .qrcode-container {
  width: 120px;
  height: 120px;
}

.download-card .qrcode-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.download-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download-text {
  color: var(--primary-silver);
  font-size: 1rem;
}

.download-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 184, 217, 0.2);
  background-size: 200% 100%;
  animation: gradientFlow 10s linear infinite;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0, 184, 217, 0.3);
}

/* 游戏内容网格布局（旧布局，保留兼容） */
.game-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* 游戏信息卡片（旧布局，保留兼容） */
.game-info-card {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 184, 217, 0.1);
  transition: all 0.3s ease;
}

.game-info-card:hover {
  box-shadow: 0 12px 48px rgba(0, 184, 217, 0.15);
  transform: translateY(-5px);
}

.game-info-card h3 {
  font-size: 1.8rem;
  color: var(--primary-cyan);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  text-shadow: 0 0 1px #00B8D9, 0 0 3px rgba(0, 184, 217, 0.5);
}

/* 媒体展示区域（旧布局，保留兼容） */
.game-media {
  display: grid;
  gap: 30px;
}

/* 下载区域（旧布局，保留兼容） */
.download-section {
  background: rgba(10, 14, 26, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 184, 217, 0.1);
  text-align: center;
}

.download-section h3 {
  font-size: 1.8rem;
  color: var(--primary-cyan);
  margin-bottom: 30px;
  text-shadow: 0 0 1px #00B8D9, 0 0 3px rgba(0, 184, 217, 0.5);
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .game-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .game-intro {
    padding: 40px;
  }

  .game-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .game-content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .game-detail-section {
    padding: 40px 0;
  }

  .game-intro {
    padding: 30px;
    margin-bottom: 40px;
  }

  .game-title {
    font-size: 2.2rem;
  }

  .game-info-card,
  .download-section {
    padding: 30px;
  }

  .download-buttons {
    flex-direction: column;
  }

  .main-content {
    padding: 0 20px;
  }

  .game-content-layout {
    gap: 30px;
  }

  .download-content {
    flex-direction: column;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientFlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
