/* ============ 游戏页专用样式 ============ */

/* ============ Game Hero ============ */
.game-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0415 0%, #1a0a2e 40%, #2d1465 70%, #0f0c29 100%);
}

.game-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/game-banner.png') center/cover no-repeat;
  opacity: 0.18;
}

.game-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(85, 33, 184, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(253, 158, 1, 0.12) 0%, transparent 50%),
              linear-gradient(to top, #0a0415 0%, transparent 40%);
}

.game-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  animation: fadeInUp 1s ease;
}

.game-hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(253, 158, 1, 0.3);
  margin-bottom: 24px;
  object-fit: cover;
}

.game-hero-title {
  margin-bottom: 12px;
}

.title-main {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 6px;
  text-shadow: 0 2px 24px rgba(253, 158, 1, 0.45);
  line-height: 1.2;
}

.title-sub {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: rgba(253, 158, 1, 0.9);
  letter-spacing: 4px;
  margin-top: 8px;
}

.game-hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 8px;
  margin-bottom: 20px;
}

.game-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 36px;
}

.game-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #5521b8, #fd9e01);
  box-shadow: 0 0 24px rgba(85, 33, 184, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 0 36px rgba(253, 158, 1, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.35s ease;
}

.btn-outline:hover {
  border-color: #fd9e01;
  background: rgba(253, 158, 1, 0.1);
  color: #fd9e01;
}

.game-hero-visual {
  position: relative;
}

.game-hero-banner {
  width: 50%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(85, 33, 184, 0.2);
  transform: perspective(1000px) rotateY(-6deg);
  transition: transform 0.6s ease;
}

.game-hero-banner:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* ============ Game Intro ============ */
.game-intro {
  background: linear-gradient(180deg, #0a0415 0%, #140828 100%);
}

.section-title-light {
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2;
  margin-bottom: 20px;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-text strong {
  color: rgba(253, 158, 1, 0.9);
  font-weight: 600;
}

.intro-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}

.intro-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(253, 158, 1, 0.2);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

.intro-image-frame img {
  width: 50%;
  display: block;
  transition: transform 0.6s ease;
}

.intro-image-frame:hover img {
  transform: scale(1.04);
}

/* ============ Game Features ============ */
.game-features {
  background: linear-gradient(180deg, #140828 0%, #0a0415 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #5521b8, #fd9e01);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: center;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(85, 33, 184, 0.25);
  box-shadow: 0 20px 50px rgba(85, 33, 184, 0.15);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(85, 33, 184, 0.15), rgba(253, 158, 1, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fd9e01;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

/* ============ Game Download ============ */
.game-download {
  background: linear-gradient(180deg, #0a0415 0%, #1a0a2e 60%, #140828 100%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.download-info {
  text-align: center;
}

.download-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: 0 8px 36px rgba(253, 158, 1, 0.25);
  margin: 0 auto 20px;
  display: block;
  object-fit: cover;
}

.download-info h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}

.download-version,
.download-size {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.download-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 24px;
  flex-wrap: wrap;
}

.download-tags span {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(85, 33, 184, 0.2);
  border: 1px solid rgba(85, 33, 184, 0.35);
  border-radius: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;
  font-size: 1rem;
}

.download-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
}

.download-qr {
  display: flex;
  justify-content: center;
}

.qr-frame {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.qr-frame #qrCode svg {
  display: block;
  margin: 0 auto;
}

.qr-tip {
  font-size: 0.9rem;
  color: #555;
  margin-top: 16px;
  font-weight: 500;
}

/* ============ Footer override ============ */
.footer {
  background: #060210;
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .game-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .game-hero-icon {
    margin: 0 auto 20px;
  }

  .game-hero-desc {
    margin: 0 auto 36px;
  }

  .game-hero-btns {
    justify-content: center;
  }

  .game-hero-banner {
    max-width: 560px;
    margin: 0 auto;
    transform: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-image-frame {
    max-width: 480px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .game-hero-content {
    padding-top: 90px;
  }

  .title-main {
    letter-spacing: 3px;
  }

  .game-hero-tagline {
    letter-spacing: 4px;
    font-size: 0.9rem;
  }

  .game-hero-icon {
    width: 90px;
    height: 90px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .feature-card {
    padding: 32px 24px;
  }

  .qr-frame {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .game-hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-glow,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .download-icon {
    width: 80px;
    height: 80px;
  }
}
