body {
  font-family: Arial, sans-serif;
  text-align: center;
  background: #f3f3f3;
  margin: 0;
  padding: 0;
}
.game-container {
  margin: 2em auto;
  width: 90%;
  max-width: 400px;
}
.board {
  margin: 0 auto;
  width: fit-content;
  max-height: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cell {
  background: #000;
  border: 2px solid #00d4ff;
  font-size: 2em;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 8px #00d4ff;
}
.cell.hidden {
  color: transparent !important;
  text-shadow: none !important;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1em;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #000;
  background-image: url('brain.png'); /* or actual filename */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust fade level */
  z-index: 0;
}

.game-container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2em;
  padding-bottom: 60px;
  max-width: 500px;
  margin: auto;
}

.help-box {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 212, 255, 0.7);
  border-radius: 50%;
  color: black;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  font-size: 1.2em;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 10px #00d4ff;
  transition: all 0.3s ease;
}

.help-box:hover .help-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.help-content {
  position: absolute;
  top: 50px;
  right: 0;
  width: 250px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 15px #00d4ff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 11;
}

.help-content h3 {
  margin-top: 0;
  color: #00d4ff;
}

.help-content ul {
  padding-left: 20px;
  margin: 0;
}

.help-content li {
  font-size: 0.9em;
  margin-bottom: 8px;
}

#mute-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 14px;
  background: #00d4ff;
  border: none;
  border-radius: 8px;
  color: black;
  font-weight: bold;
  box-shadow: 0 0 10px #00d4ff;
  cursor: pointer;
  z-index: 10;
}

#status.red-glow {
  color: #ff4f4f;
  text-shadow: 0 0 5px #ff4f4f, 0 0 10px #ff0000, 0 0 20px #ff0000;
}

#status.green-glow {
  color: #7dff87;
  text-shadow: 0 0 5px #7dff87, 0 0 10px #00ff00, 0 0 20px #00ff00;
}

.zoom-controls {
  margin-top: 15px;
}

.zoom-controls button {
  margin: 0 10px;
  padding: 8px 16px;
  font-size: 1.2em;
  background-color: #00d4ff;
  color: black;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px #00d4ff;
  cursor: pointer;
}

.scalable-wrapper {
  transform: scale(1);
  transform-origin: top center;
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  min-height: 100vh;
  overflow: hidden;
}















#brain-power-container {
  margin: 10px auto 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}


#brain-power-container label {
  font-size: 1em;
  color: #00d4ff;
  text-shadow: 0 0 5px #00d4ff;
  display: block;
  margin-bottom: 5px;
}

#brain-power {
  width: 90%;
  max-width: 300px;
  height: 20px;
  background: black;
  border: 1px solid #00d4ff;
  border-radius: 10px;
  box-shadow: 0 0 10px #00d4ff inset;
  appearance: none;
}

#brain-power::-webkit-progress-bar {
  background-color: black;
  border-radius: 10px;
}

#brain-power::-webkit-progress-value {
  background-color: #00ffcc;
  border-radius: 10px;
  box-shadow: 0 0 15px #00ffcc;
}
