* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  background: #000;
}

#gameCanvas {
  display: block;
  width: 100vw;
  height: 100vh;
}

/* 加载界面 */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: #fff;
}

.loading-content h1 {
  font-size: 48px;
  margin-bottom: 30px;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.progress-bar {
  width: 300px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
  margin: 0 auto 20px;
}

#progressFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ffff, #00aaff);
  transition: width 0.3s;
}

#loadingText {
  font-size: 16px;
  color: #aaa;
}

/* 圆角矩形辅助类 */
.rounded {
  border-radius: 10px;
}

/* 霓虹文字效果 */
.neon-text {
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 20px currentColor;
}

/* 毛玻璃效果 */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
