/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background-color: #f4f7ff;
  color: #2d3748;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.container {
  width: 94%;
  max-width: 1100px;
  margin: 0 auto;
}

/* 导航 */
.navbar {
  background: linear-gradient(135deg, #5a73f7, #7a6fff);
  box-shadow: 0 4px 15px rgba(90, 115, 247, 0.13);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 26px;
}
.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  transition: all 0.3s ease;
}
.nav-menu a:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* 模块通用 */
.section {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  margin-top: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.section:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* 标题统一添加游戏感小图标 */
.title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #2d3748;
  border-left: 5px solid #5a73f7;
  padding-left: 14px;
  letter-spacing: 0.5px;
}

/* 给每个栏目标题加上专属小图标 🎮  */
#intro .title::before { content: "🎮 "; }
#download .title::before { content: "📥 "; }
#story .title::before { content: "📖 "; }
#feature .title::before { content: "⭐ "; }
#guide .title::before { content: "📝 "; }
#screenshot .title::before { content: "🖼️ "; }
#comment .title::before { content: "💬 "; }

/* 游戏简介 */
.intro-box {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.intro-img img {
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}
.intro-img img:hover {
  transform: scale(1.02);
}
.intro-text {
  flex: 1;
  min-width: 300px;
}
.intro-text p {
  margin-bottom: 14px;
  font-size: 15px;
  color: #4a5568;
}

/* 下载 */
.download-box {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.download-item {
  flex: 1;
  min-width: 260px;
  background: linear-gradient(160deg, #f8faff, #f0f5ff);
  padding: 28px 20px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e1e9ff;
  transition: 0.3s ease;
}
.download-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(90, 115, 247, 0.08);
}
.download-item h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #4a63e7;
}
.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 28px;
  background: linear-gradient(135deg, #5a73f7, #7a6fff);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(90, 115, 247, 0.22);
}

/* 核心剧情 */
.story-content p {
  margin-bottom: 14px;
  font-size: 15px;
  color: #4a5568;
}

/* 游戏特色 */
.feature-list {
  padding-left: 22px;
}
.feature-list li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #4a5568;
  position: relative;
  padding-left: 6px;
}

/* 游戏攻略 */
.guide-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.guide-item {
  flex: 1;
  min-width: 240px;
  background: linear-gradient(160deg, #f8faff, #f0f5ff);
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #e1e9ff;
  transition: 0.3s ease;
}
.guide-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(90, 115, 247, 0.07);
}
.guide-item h3 {
  color: #4a63e7;
  margin-bottom: 8px;
  font-size: 17px;
}
.guide-item p {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.7;
}

/* 游戏截图 */
.screenshot-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.screenshot-box img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}
.screenshot-box img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* 用户评价 */
.comment-item {
  background: linear-gradient(160deg, #f8faff, #f0f5ff);
  padding: 22px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e1e9ff;
  transition: 0.3s ease;
}
.comment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(90, 115, 247, 0.06);
}
.comment-item h4 {
  color: #4a63e7;
  margin-bottom: 6px;
  font-size: 16px;
}
.comment-item p {
  color: #4a5568;
  font-size: 14px;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 30px;
  margin-top: 40px;
  background: #fff;
  font-size: 14px;
  color: #718096;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.03);
}