* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #eef2ff, #fef3c7, #ecfeff);
  font-family: "Arial", sans-serif;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

/* HEADER */
.top {
  text-align: center;
  margin-bottom: 12px;
}

.top h1 {
  margin: 0;
  font-size: 32px;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top p {
  margin: 4px 0 0;
  color: #555;
}

/* MIC CARD */
.mic-card {
  background: white;
  width: 100%;
  max-width: 360px;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 16px;
}

.mic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e0e7ff;
  font-size: 36px;
  line-height: 80px;
  margin: auto;
  cursor: pointer;
  transition: 0.3s;
}

.mic.listening {
  background: #ef4444;
  color: white;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#micText {
  margin-top: 8px;
  color: #555;
}

/* JUDGE CARD */
.judge-card {
  background: white;
  width: 100%;
  max-width: 360px;
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  text-align: center;
}

.judge-card img {
  width: 100%;
  max-width: 260px;
}

/* THINKING */
.thinking span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #6366f1;
  border-radius: 50%;
  margin: 6px;
  animation: bounce 1s infinite;
}

.thinking span:nth-child(2) { animation-delay: .2s; }
.thinking span:nth-child(3) { animation-delay: .4s; }

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* DECISION */
.decision {
  margin-top: 20px;
  padding: 16px 36px;
  font-size: 42px;
  font-weight: 900;
  border-radius: 30px;
  color: white;
  animation: pop 0.4s ease;
}

.decision.YES { background: #22c55e; }
.decision.NO { background: #ef4444; }
.decision.MAYBE { background: #f59e0b; }

@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hidden {
  display: none;
}
