body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0d0d0d;
  color: #FFD700;
  text-align: center;
  padding-top: 50px;
}

#chatBtn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #FFD700;
  color: #0d0d0d;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px #ffd70088;
}

.chat-container {
  display: none;
  width: 400px;
  max-width: 95%;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid #FFD700;
  border-radius: 15px;
  margin: 20px auto;
  padding: 10px;
  box-shadow: 0 0 20px #ffd70033;
  backdrop-filter: blur(8px);
}

.chat-box {
  height: 300px;
  overflow-y: auto;
  border-bottom: 1px solid #FFD700;
  padding: 10px;
  font-size: 14px;
  text-align: left;
}

.chat-box div {
  margin: 8px 0;
  line-height: 1.4;
}

#userInput {
  width: 100%;
  padding: 10px;
  border: none;
  border-top: 1px solid #FFD700;
  background-color: #111;
  color: #FFD700;
  font-size: 14px;
  border-radius: 0 0 10px 10px;
}

.typing-indicator {
  display: inline-block;
  position: relative;
  width: 50px;
  height: 15px;
}

.typing-indicator span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #FFD700;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  left: 0px;
  animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
  left: 15px;
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  left: 30px;
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}