#ui-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; 
  font-family: 'Courier New', monospace;
  color: white;
}

#inventory-bar {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  background: rgba(0, 40, 60, 0.4);
  padding: 20px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slot {
  width: 35px;
  height: 35px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.5s ease;
}

.slot.active {
  background: #ff2222;
  border-color: #ffffff;
  box-shadow: 0 0 15px #ff2222, inset 0 0 10px rgba(255,255,255,0.5);
}

.overlay {
  position: absolute;
  top: 0; left: 0; 
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10000; 
  color: #ffffff;     
  pointer-events: auto; 
}

.overlay h1 {
  font-size: 80px;  
  margin: 0;
  color: #ff4444; 
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.7); 
}

.overlay p {
  font-size: 24px;
  margin-top: 20px;
  color: #cccccc;
}
