/* Genel Ayarlar */
body {
  margin: 0;
  overflow: hidden;
  background-color: #1a1a1a;
  font-family: "Segoe UI", sans-serif;
}

#ui-layer {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: none;
  pointer-events: none;
}

#hud-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 20px;
  white-space: nowrap;
}

#status {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 1px 1px 3px black;
  text-align: center;
}

button {
  background: #8b4513;
  color: white;
  border: none;
  padding: 9px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: background 0.15s;
  white-space: nowrap;
}

button:hover {
  background: #a05217;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  color: white;
  text-align: center;
}

.menu-box {
  background: #2a2a2a;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #444;
  width: 320px;
}

.menu-box button {
  width: 100%;
  margin-top: 10px;
}

input {
  width: 90%;
  padding: 8px;
  margin-bottom: 10px;
  text-align: center;
  background: #333;
  color: white;
  border: 1px solid #555;
  border-radius: 4px;
}
