/* 全局样式，蓝色渐变背景 */
body {
  margin: 0;
  font-family: 'Press Start 2P', 'Arial', sans-serif; /* 艺术像素字体 */
  background: linear-gradient(135deg, #3a8dde 0%, #1e3c72 100%); /* 蓝色渐变 */
  color: #fff;
  min-height: 100vh;
  box-sizing: border-box;
}
/* 顶部导航栏样式 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2vw;
  background: rgba(30,60,114,0.85);
  border-bottom: 2px solid #3a8dde;
}
/* 复古像素风 Logo */
.logo {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.3rem;
  color: #aee6ff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #1e3c72, 4px 4px 0 #3a8dde;
  user-select: none;
}
/* 多语言切换按钮样式 */
.language-switch {
  display: flex;
  gap: 0.5rem;
}
.lang-btn {
  background: #3a8dde;
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  background: #aee6ff;
  color: #1e3c72;
}
/* 主内容区布局 */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1vw;
}
/* 游戏区 iframe 样式 */
.game-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 320px;
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,60,114,0.2);
  margin-bottom: 2rem;
}
.game-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
#gameFrame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* 全屏按钮样式 */
.fullscreen-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: #3a8dde;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(30,60,114,0.2);
  transition: background 0.2s;
}
.fullscreen-btn:hover {
  background: #aee6ff;
  color: #1e3c72;
}
/* 游戏截图区样式 */
.screenshots {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  background: rgba(30,60,114,0.7);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 12px rgba(30,60,114,0.08);
}
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.screenshot-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #3a8dde;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,60,114,0.15);
}
/* Section 标题样式 */
h1, h2, h3 {
  font-family: 'Press Start 2P', cursive;
  color: #aee6ff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: 1px;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
/* Section 内容样式 */
section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  background: rgba(30,60,114,0.7);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 12px rgba(30,60,114,0.08);
}
/* 评论区样式 */
.comments {
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.comment {
  background: #aee6ff;
  color: #1e3c72;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 1px 4px rgba(30,60,114,0.08);
}
.comment-author {
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  color: #3a8dde;
}
/* FAQ 样式 */
.faq-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(174,230,255,0.1);
  border-radius: 8px;
}
.faq-item h3 {
  margin-top: 0;
  color: #aee6ff;
}
.faq-item p {
  margin: 0.5rem 0 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}
/* 页脚样式 */
footer {
  width: 100%;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  background: rgba(30,60,114,0.85);
  font-size: 0.95rem;
  color: #aee6ff;
  border-top: 2px solid #3a8dde;
  margin-top: 2rem;
}
footer a {
  color: #aee6ff;
  text-decoration: underline;
}
/* 响应式适配 */
@media (max-width: 900px) {
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section { padding: 1rem 0.5rem; }
}
@media (max-width: 600px) {
  header { flex-direction: column; gap: 0.5rem; }
  .logo { font-size: 1rem; }
  .game-container { min-height: 180px; }
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  h3 { font-size: 0.95rem; }
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
} 