body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #b8c6db, #f5f7fa);
  color: #333;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 { margin-bottom: 1rem; }

#buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.choice {
  font-size: 2rem;
  padding: 15px;
  background: white;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.5s ease, background 0.3s ease;
}

.choice:hover {
  background: #e0f7fa;
  transform: scale(1.1);
}

#turn-indicator { font-weight: 500; margin-top: 10px; }
#scoreboard { margin-top: 15px; font-size: 1.2rem; }
#scoreboard span { font-size: 1.5rem; font-weight: 700; }

#reset {
  margin-top: 20px;
  border: none;
  background: #ffcdd2;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

#game-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
  flex-wrap: wrap;
}

#game {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 50px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

#bot {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 3s ease-in-out infinite;
}

#bot-avatar { font-size: 3rem; margin-bottom: 10px; }
#bot-bubble {
  background: #fff;
  border-radius: 15px;
  padding: 12px 18px;
  max-width: 180px;
  text-align: center;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Showdown Overlay */
#showdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 240, 255, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.showdown-content {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 60px 80px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.5s ease;
}

.emoji-container {
  position: relative;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7rem;
}

.collision-emojis {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.winner-emoji {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7rem;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
}

#caption {
  font-size: 2rem;
  margin-top: 30px;
  color: goldenrod;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

#showdown-taunt {
  color: #7b7b7b;
  font-style: italic;
  margin-top: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
  to { opacity: 0; }
}

@keyframes collide {
  0% { transform: translateX(-150px); }
  40% { transform: translateX(0); }
  60% { transform: translateX(0) scale(1.3); }
  100% { transform: translateY(400px); opacity: 0; }
}

@keyframes collide-right {
  0% { transform: translateX(150px); }
  40% { transform: translateX(0); }
  60% { transform: translateX(0) scale(1.3); }
  100% { transform: translateY(400px); opacity: 0; }
}
