/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 页面基础 */
body {
  background: #f3f4f6;
  min-height: 100vh;
  padding: 2rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 60px; /* 避让底部导航 */
}

/* 标题 */
.title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  color: #1f2937;
  margin-bottom: 2rem;
}

/* 区块通用 */
.section {
  margin-bottom: 2.5rem;
}

.section-label {
  text-align: center;
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 按钮组 */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-blue {
  background-color: #2563eb;
}
.btn-blue:hover {
  background-color: #1d4ed8;
}

.btn-green {
  background-color: #16a34a;
}
.btn-green:hover {
  background-color: #15803d;
}

/* 内容标题与介绍 */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  margin: 2rem 0 1rem;
}

.intro {
  color: #4b5563;
  text-align: center;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* 图片区 */
.image-section {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem;
}

.image-container {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 1rem;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image {
  max-width: 100%;
  max-height: 400px;
  border-radius: 0.375rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 底部导航 */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  z-index: 999;
}

.footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.footer li {
  padding: 8px 20px;
}

.footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1f2937;
}

.footer span {
  font-size: 12px;
}