/* ══════════════════════════════════════════════
   Chat Section (GPT-powered)
   ══════════════════════════════════════════════ */
.chat-section {
  margin: 100px auto 0;
  max-width: 680px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(120deg, rgba(255, 180, 0, 0.12) 0%, rgba(100, 90, 255, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.95rem;
  color: var(--ll-amber);
  letter-spacing: 0.06em;
}

.chat-header .material-symbols-outlined {
  font-size: 22px;
  color: var(--ll-gold);
}

.chat-messages {
  padding: 20px;
  min-height: 160px;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: "Electrolize", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.chat-bubble--bot {
  align-self: flex-start;
  background: rgba(255, 180, 0, 0.1);
  border: 1px solid rgba(255, 180, 0, 0.15);
  color: rgba(255, 255, 255, 0.85);
  border-bottom-left-radius: 4px;
}

.chat-bubble--user {
  align-self: flex-end;
  background: rgba(100, 90, 255, 0.15);
  border: 1px solid rgba(100, 90, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-right-radius: 4px;
}

.chat-input-row {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--ll-white);
  font-family: "Electrolize", sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chat-send {
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--ll-amber);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
}

.chat-send:hover {
  color: var(--ll-gold);
  transform: scale(1.1);
}

.chat-send .material-symbols-outlined {
  font-size: 22px;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
}

.chat-typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ll-amber);
  opacity: 0.4;
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
