.bot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bot-launcher {
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  border: none;
  color: var(--navy-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(200, 169, 106, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.bot-launcher:hover {
  transform: scale(1.1) rotate(5deg);
}

.bot-launcher svg {
  width: 28px;
  height: 28px;
}

.bot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4b2b;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy-dark);
  box-shadow: 0 4px 10px rgba(255, 75, 43, 0.4);
  z-index: 10;
  animation: badge-bounce 2s infinite;
}

@keyframes badge-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.bot-pulse {
  position: absolute;
  inset: -5px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

.bot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 60px);
  height: 500px;
  background: rgba(10, 16, 32, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 169, 106, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: bottom right;
}

.bot-window.is-hidden {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.bot-header {
  padding: 20px;
  background: linear-gradient(90deg, rgba(200, 169, 106, 0.1), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-status {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
}

.bot-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bot-info strong {
  color: var(--white);
  font-size: 0.95rem;
}

.bot-info span {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bot-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.bot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.msg-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-bottom-left-radius: 2px;
}

.msg-user {
  align-self: flex-end;
  background: var(--gold);
  color: var(--navy-dark);
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

.bot-input-area {
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bot-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 15px;
  color: var(--white);
  font-size: 0.9rem;
}

.bot-input-area button {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border: none;
  border-radius: 10px;
  color: var(--navy-dark);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.bot-input-area button svg {
  width: 18px;
  height: 18px;
}
