/* Pretty Kitty AI Loading Animation */
.pretty-kitty-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pretty-kitty-loader.active {
  opacity: 1;
  pointer-events: all;
}

.pretty-kitty-container {
  position: relative;
  width: 200px;
  height: 150px;
  margin-bottom: 20px;
}

.pretty-kitty-svg {
  width: 100%;
  height: 100%;
  animation: kitty-walk 1.5s ease-in-out infinite;
}

@keyframes kitty-walk {
  0%, 100% {
    transform: translateX(0) scaleX(1);
  }
  25% {
    transform: translateX(20px) scaleX(1);
  }
  50% {
    transform: translateX(40px) scaleX(-1);
  }
  75% {
    transform: translateX(20px) scaleX(-1);
  }
}

.kitty-body {
  fill: #8E56C5;
  animation: kitty-stretch 1.5s ease-in-out infinite;
}

@keyframes kitty-stretch {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.1);
  }
}

.kitty-head {
  fill: #8E56C5;
  animation: kitty-bob 1.5s ease-in-out infinite;
}

@keyframes kitty-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.kitty-tail {
  fill: #B47EDE;
  animation: kitty-wag 0.8s ease-in-out infinite;
  transform-origin: 50% 0%;
}

@keyframes kitty-wag {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

.kitty-ear {
  fill: #6D3AA9;
}

.kitty-eye {
  fill: #fff;
  animation: kitty-blink 2s ease-in-out infinite;
}

@keyframes kitty-blink {
  0%, 90%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}

.kitty-pupil {
  fill: #2b1b5a;
}

.kitty-nose {
  fill: #fff;
}

.kitty-text {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #8E56C5;
  text-align: center;
  animation: kitty-text-pulse 1.5s ease-in-out infinite;
}

@keyframes kitty-text-pulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* Playful Random Cat */
.playful-kitty {
  position: fixed;
  width: 40px;
  height: 40px;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.playful-kitty.active {
  opacity: 1;
}

.playful-kitty svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(142, 86, 197, 0.3));
}

.playful-kitty.walking {
  animation: playful-walk 3s ease-in-out infinite;
}

.playful-kitty.stretching {
  animation: playful-stretch 2s ease-in-out infinite;
}

.playful-kitty.sitting {
  animation: playful-sit 2s ease-in-out infinite;
}

@keyframes playful-walk {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(20px) translateY(-5px) rotate(5deg);
  }
  50% {
    transform: translateX(40px) translateY(0) rotate(0deg);
  }
  75% {
    transform: translateX(60px) translateY(-5px) rotate(-5deg);
  }
  100% {
    transform: translateX(80px) translateY(0) rotate(0deg);
  }
}

@keyframes playful-stretch {
  0%, 100% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.3) scaleX(0.9);
  }
}

@keyframes playful-sit {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Hide on mobile to avoid clutter */
@media (max-width: 768px) {
  .playful-kitty {
    display: none;
  }
}

