/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  font-family: 'Poppins', system-ui, sans-serif;
}

/* ============================
   AURORA BOX (contenitore)
============================ */
#aurora-box {
  background: #050505;
  border: 1px solid #d4af37;
  box-shadow: 0 0 18px rgba(212,175,55,0.35);
  border-radius: 14px;
}

/* ============================
   CHAT AREA
============================ */
#aurora-chat {
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  padding: 10px;
}

/* ============================
   SUGGERIMENTI (Assistant Style)
============================ */
#aurora-suggestions button {
  background: #181818;
  color: #d4af37;
  border: 1px solid #444;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
  transition: 0.2s;
}

#aurora-suggestions button:hover {
  background: #2a2a2a;
  border-color: #d4af37;
}

/* ============================
   INPUT + PULSANTE INVIA
============================ */
#aurora-input {
  background: #111;
  border: 1px solid #444;
  color: #fff;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 12px;
}

#aurora-send {
  background: #d4af37;
  border: none;
  color: #000;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

#aurora-send:hover {
  background: #f5d76e;
}

/* ============================
   AVATAR ANIMATO (BLACK-GOLD)
============================ */
.aurora-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff 0, #f5e6b8 18%, #d4af37 55%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
  animation: aurora-breathe 4s ease-in-out infinite, aurora-glow 6s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}

/* Occhi */
.aurora-avatar .eye {
  position: absolute;
  top: 14px;
  width: 7px;
  height: 7px;
  background: #00000088;
  border-radius: 50%;
  animation: aurora-eye 5s infinite;
}

.aurora-avatar .eye.left { left: 11px; }
.aurora-avatar .eye.right { right: 11px; }

/* ============================
   ANIMAZIONI
============================ */
@keyframes aurora-breathe {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@keyframes aurora-eye {
  0% { transform: translate(0,0); }
  20% { transform: translate(2px,1px); }
  40% { transform: translate(-2px,0); }
  60% { transform: translate(1px,-2px); }
  80% { transform: translate(-1px,1px); }
  100% { transform: translate(0,0); }
}

@keyframes aurora-glow {
  0% { box-shadow: 0 0 8px rgba(212,175,55,0.3); }
  50% { box-shadow: 0 0 16px rgba(212,175,55,0.6); }
  100% { box-shadow: 0 0 8px rgba(212,175,55,0.3); }
}

/* ============================
   EFFETTO PARLANTE
============================ */
.aurora-avatar.parla {
  animation: aurora-breathe 2s ease-in-out infinite, aurora-glow 3s ease-in-out infinite;
  transform: scale(1.05);
}

/* ============================
   BOLLE CHAT
============================ */
.msg-aurora {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}

.msg-aurora .bubble {
  background: #111;
  border: 1px solid #333;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
}

.msg-user {
  color: #d4af37;
  margin-bottom: 6px;
}
