body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
}
#game-container {
  height: 100vh;
  background: #f0f0f0;
}
#start-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: white;
}
.menu-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.menu-button {
  background: #4a90e2;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  width: 30%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
#menu-buttons {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.menu-button:hover {
  background: #357abd;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}
.menu-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.menu-button.warning {
  background: #e74c3c;
}
.menu-button.warning:hover {
  background: #c0392b;
}
.menu-button.success {
  background: #2ecc71;
}
.menu-button.success:hover {
  background: #27ae60;
}

/* 新增加载进度样式 */
#loading-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  color: white;
}
.loading-title {
  font-size: 28px;
  margin-bottom: 20px;
  color: #ffd700;
}
.loading-bar-container {
  width: 80%;
  max-width: 400px;
  height: 20px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.loading-bar {
  height: 100%;
  background: #4a90e2;
  width: 0%;
  transition: width 0.3s ease;
}
.loading-text {
  font-size: 16px;
}
