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

canvas {
  display: block;
}

.serve-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 20px;
  font-size: 16px;
  z-index: 1;
  cursor: pointer;
}

.marbles-btn {
  position: absolute;
  top: 0px;
  left: 20px; /* Positioned to the right of the serve button */
  padding: 10px 20px;
  font-size: 16px;
  z-index: 1;
  cursor: pointer;
}

/* 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);
}
