* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #1a1a1a;
  color: #fff;
  overflow: hidden;
}

#game-container {
  width: 100vw;
  height: 100vh;
}

#ui {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 18px;
  z-index: 100;
}

#status {
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  min-width: 200px;
}

#health {
  display: flex;
  gap: 20px;
}

#player-health, #opponent-health {
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  min-width: 150px;
}

#player-hp, #opponent-hp {
  color: #ff6b6b;
  font-weight: bold;
}

#controls {
  margin-top: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  font-size: 14px;
  opacity: 0.8;
}

.hidden {
  display: none !important;
}

#menu {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(8, 10, 20, 0.6);
}

#menu h1 {
  font-size: 56px;
  color: #ff5fa2;
  text-shadow: 4px 4px 0 #1d1230;
  margin-bottom: 12px;
}

#menu button {
  min-width: 260px;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: bold;
  color: #1d1230;
  background: #ffe14a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#menu button:hover {
  background: #fff2a0;
}

#prompt {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 12px 28px;
  font-size: 28px;
  font-weight: bold;
  color: #1d1230;
  background: #ffe14a;
  border: 4px solid #1d1230;
  border-radius: 10px;
  animation: prompt-pulse 0.5s ease-in-out infinite alternate;
}

@keyframes prompt-pulse {
  from { transform: translateX(-50%) scale(1); }
  to { transform: translateX(-50%) scale(1.12); }
}
