/* Base Styles */
body {
  margin: 0;
  overflow: hidden;
  background-color: #000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.zhengti {
  background-color: #F9F5EB;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #694A33;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
}

.yao {
  height: 50px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 20px;
}

.button {
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

.shouye, .jiansuo, .yaoshan, .luntan {
  color: #FFFAEE;
  text-decoration: none;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lingdang {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.button-register {
  background-color: #FFFAEE;
  border-radius: 65px;
  color: #694A33;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.button-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Buttons Container */
.buttons-container {
  position: fixed;
  top: 80px; /* Below the header */
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

/* Button Group Styling */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background-color: rgba(30, 30, 30, 0.7);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(100, 100, 100, 0.3);
  backdrop-filter: blur(5px);
}

.button-group button {
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background-color: rgba(68, 68, 68, 0.9);
  color: white;
  transition: all 0.2s;
  min-width: 180px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.button-group button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.button-group button:active {
  transform: translateY(1px);
}

/* Specific button colors */
.serve-btn { background-color: rgba(76, 175, 80, 0.9); }
.marbles-btn { background-color: rgba(156, 39, 176, 0.9); }
.sound-btn { background-color: rgba(33, 150, 243, 0.9); }
.light-btn { background-color: rgba(255, 193, 7, 0.9); color: #333; }

.character-start-btn { background-color: rgba(76, 175, 80, 0.9); }
.character-pause-btn { background-color: rgba(255, 193, 7, 0.9); color: #333; }
.character-stop-btn { background-color: rgba(244, 67, 54, 0.9); }
.character-reset-btn { background-color: rgba(33, 150, 243, 0.9); }

.petals-start-btn { background-color: rgba(233, 30, 99, 0.9); }
.petals-stop-btn { background-color: rgba(244, 67, 54, 0.9); }
.petals-speed-up-btn { background-color: rgba(255, 152, 0, 0.9); color: #333; }
.petals-slow-down-btn { background-color: rgba(63, 81, 181, 0.9); }

.fireflies-btn { background-color: rgba(255, 235, 59, 0.9); color: #333; }
.fireflies-intensity-btn { background-color: rgba(255, 235, 59, 0.7); color: #333; }

/* Add to your CSS */
.nav-btn {
  background-color: rgba(0, 150, 136, 0.9) !important;
  color: white !important;
  text-align: center !important;
}

.nav-btn:hover {
  background-color: rgba(0, 170, 156, 0.9) !important;
}