#pause-menu {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  display: none; /* Initially hidden */
  background-color: rgba(10, 10, 10, 0.85); 
  color: white;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1001; /* Below level-clear but above game */
  font-family: 'Arial Black', Gadget, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pause-menu-panel {
  background-color: rgba(0, 0, 0, 0.2);
  border: 2px solid #00f2ff;
  border-radius: 8px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.pause-menu-title {
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: white;
  transform: skewX(-10deg);
  text-shadow: 2px 2px 0px rgba(0,0,0,0.4);
  margin-bottom: 25px;
}

.pause-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.pause-menu-button {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #00f2ff;
  color: #00f2ff;
  padding: 12px 0;
  font-family: 'Arial Black', Gadget, sans-serif;
  font-size: 1rem;
  width: 100%;
  max-width: 240px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  border-radius: 5px;
}

.pause-menu-button:hover {
  background-color: rgba(0, 242, 255, 0.2);
}

.pause-menu-button:active {
  transform: scale(0.98);
}
#rare-bug-message {
  background-color: rgba(30, 30, 30, 0.9);
  border: 2px solid #FFD700; /* Gold border */
  border-radius: 8px;
  color: white;
  padding: 15px 20px;
  margin-bottom: 25px;
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  font-family: 'Arial', sans-serif;
}
.bug-message-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #FFD700; /* Gold text */
}
.bug-message-text {
  font-size: 0.9rem;
  line-height: 1.4;
}