body {
  margin: 0;
  overflow: hidden;
  background-color: #000;
}

canvas {
  display: block;
}

.serve-btn,
.marbles-btn,
.music-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 1000;
}

.serve-btn {
  top: 20px;
  left: 20px;
}

.marbles-btn {
  top: 20px;
  left: 90px;
}

.music-btn {
  top: 20px;
  left: 160px;
}

.serve-btn:hover,
.marbles-btn:hover,
.music-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.serve-btn:active,
.marbles-btn:active,
.music-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.poem {
  position: fixed;
  left: 45px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-family: 'Didot', 'Bodoni MT', 'Garamond', serif;  /* 更修长的字体 */
  font-size: 28px;
  line-height: 1.5;  /* 减小行间距 */
  letter-spacing: 1px;  /* 增加字母间距 */
  font-weight: 500;  /* 使字体更纤细 */
  max-width: 400px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1000;
}

.poem p {
  margin: 6px 0;  /* 减小段落间距 */
  opacity: 0.9;
}

/* 添加按钮激活状态样式 */
.music-btn.playing {
  background: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}


