body {
  margin: 0;
  overflow: hidden;
  background-color: #040404;
  font-family: 'Arial', sans-serif;
}

canvas {
  display: block;
}

.controls {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

button {
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
}

button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}





.petals-btn {
  background-color: #ffb6c1;
}

.start-btn {
  background-color: #6b5b95;  /* 紫色按钮 */
}

/* Loading indicator */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  z-index: 1000;
}

@media (max-width: 768px) {
  .controls {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    top: auto;
    bottom: 10px;
  }
  
  button {
    padding: 8px 16px;
    font-size: 14px;
    min-width: 120px;
  }
}
