
#kaiju-game-ui-root {
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  background: #111;
  padding: 20px;
  border-radius: 10px;
}
.health-bar, .energy-bar {
  height: 20px;
  margin-bottom: 10px;
}
.health-bar-fill {
  background-color: green;
  height: 100%;
  transition: width 0.3s ease-in-out;
}
.energy-bar-fill {
  background-color: blue;
  height: 100%;
  transition: width 0.3s ease-in-out;
}
.card-display-area {
  margin-top: 15px;
  padding: 10px;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.kaiju-card-visual {
  position: relative;
  width: 200px;
  height: 280px;
  border: 4px solid #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px #00000088;
  background-color: #111;
  transition: transform 0.4s ease;
}
.kaiju-card-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.card-info-box {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.75);
  color: #eee;
  padding: 10px;
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
}
.card-info-box strong { font-size: 1rem; display: block; }
.card-info-box em { color: #aaa; font-style: normal; }
.card-info-box p { margin: 5px 0 0; font-size: 0.75rem; }
.rarity-common { color: #cccccc; }
.rarity-uncommon { color: #33cc33; }
.rarity-rare { color: #3399ff; }
.rarity-legendary { color: #ffcc00; }
.animate-reveal {
  animation: fadeInScale 0.4s ease forwards;
}
@keyframes fadeInScale {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
#players-ui {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

#players-ui > div {
  background-color: #222;
  border: 2px solid #444;
  padding: 15px;
  border-radius: 10px;
}
.spinner-wrapper {
  text-align: center;
  margin: 20px 0;
}
#kaiju-spinner {
  border-radius: 50%;
  border: 6px solid #444;
  box-shadow: 0 0 12px #000000aa;
}
#spin-button {
  margin-top: 10px;
  padding: 10px 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  background: #ff5722;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#spin-button:hover {
  background: #e64a19;
}
