/*==================================================
KENZIBOT V0.0.4
==================================================*/

#kenziBot {
  position: fixed;
  left: 28px;
  bottom: 22px;
  z-index: 999999;
  user-select: none;
}

#kenziBotAvatar {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: 0.25s;
}

#kenziBotAvatar:hover {
  transform: scale(1.08);
}

#kenziBotImage {
  width: 92px;
  height: auto;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(155, 92, 255, 0.35))
    drop-shadow(0 0 22px rgba(155, 92, 255, 0.28));

  animation: kenziFloat 3.2s ease-in-out infinite;
  transition:
    transform 0.25s,
    filter 0.25s,
    opacity 0.2s;
}

@keyframes kenziFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #kenziBot {
    left: 16px;
    bottom: 18px;
  }

  #kenziBotImage {
    width: 74px;
  }
}

/*==================================================
KENZIBOT V0.0.5
Bubble
==================================================*/

#kenziBotBubble {
  position: absolute;
  left: 105px;
  bottom: 26px;
  width: 260px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(18, 18, 30, 0.94);
  border: 1px solid rgba(155, 92, 255, 0.28);
  backdrop-filter: blur(18px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(155, 92, 255, 0.2);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: 0.28s;
}

#kenziBotBubble.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#kenziBotBubble::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 22px;
  width: 16px;
  height: 16px;
  background: rgba(18, 18, 30, 0.94);
  border-left: 1px solid rgba(155, 92, 255, 0.28);
  border-bottom: 1px solid rgba(155, 92, 255, 0.28);
  transform: rotate(45deg);
}

.kb-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.kb-text {
  font-size: 14px;
  line-height: 1.6;
  color: #d8d8d8;
  margin-bottom: 16px;
}

.kb-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(90deg, #9b5cff, #cf7cff);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
}

.kb-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.45);
}

#kenziBotClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font-size: 15px;
  transition: 0.2s;
}

#kenziBotClose:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  #kenziBotBubble {
    left: 84px;
    width: 220px;
    bottom: 18px;
  }

  .kb-title {
    font-size: 16px;
  }

  .kb-text {
    font-size: 13px;
  }
}
