*{
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1640px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.btn {
  background: #4a9bff;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background: #3a8aee;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* 游戏区域样式 */
.game-section {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.game-container {
  flex: 1;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#catch-the-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.instructions {
  width: 400px;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.instructions h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f2f3;
}

.instructions ul {
  list-style-type: none;
  margin-bottom: 25px;
}

.instructions li {
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  gap: 10px;
  font-size: 1.1rem;
}

.instructions li:last-child {
  border-bottom: none;
}

.instructions li span {
  font-size: 1.4rem;
}

.difficulty {
  margin-bottom: 25px;
}

.difficulty h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.difficulty-options {
  display: flex;
  gap: 10px;
}

.difficulty-option {
  flex: 1;
  padding: 12px;
  background: #f1f2f3;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.difficulty-option:hover {
  background: #e0e0e0;
}

.difficulty-option.active {
  background: #5f27cd;
  color: white;
}

/* 游戏特色区域 */
.features {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.features h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform 0.3s;
}


.feature-card span {
  font-size: 3.5rem;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #5f27cd;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* 页脚样式 */
footer {
  text-align: center;
  color: #777;
}

/* 提示框样式 */
.notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.notice.show {
  opacity: 1;
}
