/* =========================================================
   KIRA BOT - CINEMATIC LOGO INTRO ANIMATION (LOGO ONLY)
   ========================================================= */

.kira-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  background-color: #06070d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s step-end;
  cursor: pointer;
}

.kira-preloader.loaded {
  opacity: 0;
  transform: scale(1.08);
  visibility: hidden;
  pointer-events: none;
}

/* Atmospheric Ambient Glow Behind Logo */
.preloader-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.45) 0%, rgba(0, 240, 255, 0.22) 42%, transparent 72%);
  filter: blur(60px);
  animation: glowPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  100% { transform: scale(1.18); opacity: 0.95; }
}

/* Logo Wrapper with Outer Neon Pulse Ring */
.preloader-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Breathing Neon Ring */
.logo-neon-pulse-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: transparent;
  border: 2.5px solid transparent;
  border-top-color: #00f0ff;
  border-right-color: #7928ca;
  border-bottom-color: #ff007f;
  box-shadow: 
    0 0 35px rgba(121, 40, 202, 0.65),
    0 0 70px rgba(0, 240, 255, 0.4);
  animation: spinSmooth 6s linear infinite, ringBreath 2.4s ease-in-out infinite alternate;
}

@keyframes spinSmooth {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ringBreath {
  0% { transform: scale(0.96) rotate(0deg); opacity: 0.7; }
  100% { transform: scale(1.06) rotate(180deg); opacity: 1; }
}

/* Center Logo Image */
.kira-intro-logo {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 
    0 0 35px rgba(0, 240, 255, 0.6),
    0 0 80px rgba(121, 40, 202, 0.55);
  animation: introLogoEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             introLogoFloat 2.6s ease-in-out infinite alternate 1.1s;
  user-select: none;
  pointer-events: none;
}

@keyframes introLogoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.65);
    filter: blur(14px) brightness(1.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px) brightness(1);
  }
}

@keyframes introLogoFloat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.6), 0 0 70px rgba(121, 40, 202, 0.45);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 55px rgba(0, 240, 255, 0.85), 0 0 110px rgba(121, 40, 202, 0.75);
  }
}

/* ---------------------------------------------------------
   Floating Live Bot VPS Status Pill & Drawer
   --------------------------------------------------------- */
.floating-bot-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: rgba(13, 15, 26, 0.88);
  border: 1px solid rgba(121, 40, 202, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(121, 40, 202, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 230px;
}

.floating-bot-pill:hover {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.3);
}

.bot-pill-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  cursor: pointer;
  user-select: none;
}

.pulse-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseBlink 1.4s infinite ease-in-out;
}

@keyframes pulseBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.bot-pill-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.bot-pill-arrow {
  margin-left: auto;
  font-size: 0.65rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.floating-bot-pill.open .bot-pill-arrow {
  transform: rotate(180deg);
}

.bot-pill-drawer {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.78rem;
}

.drawer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
}
