html, body {
  margin: 0;
  padding: 0;
}
canvas {
  display: block;
}

/* 按钮样式 */
#helpButton {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-image: linear-gradient(to right, #e6dc91 0%, #e69aef 100%);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

#helpButton:hover {
  background-image: linear-gradient(to right, #96b5ea 0%, #a880d3 100%);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}


/* 模态框基本样式 */
.modal {
  display: none; /* Default: not displayed */
  position: fixed;
  z-index: 1000; /* Make sure it's on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modal content with creative styling */
.modal-content {
  position: relative;
  background: white;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 50%;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid #ccc;
  background: linear-gradient(to bottom right, #ffffff, #ffecd2 70%);
}

/* Close button with a more stylized look */
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.close:hover {
  color: #777;
}

/* Hover and focus effects for buttons and links */
button:hover, .close:focus {
  transform: scale(1.05);
}