/* REDO Cyber Dog Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --neon-cyan: #00f2fe;
  --neon-purple: #8e2de2;
  --neon-pink: #ec4899;
  --neon-gold: #fbbf24;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  overflow-x: hidden;
  background-color: #07080d;
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.12);
}

/* Filter Pills */
.filter-pill {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.4);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(51, 65, 85, 0.8);
  color: #f1f5f9;
}

.filter-pill.active-filter {
  background: rgba(6, 182, 212, 0.2);
  border-color: #00f2fe;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f2fe;
}

/* Hologram Pedestal Base */
.holo-pedestal {
  position: relative;
}

.holo-pedestal::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.35) 0%, rgba(142, 45, 226, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-pedestal 3s ease-in-out infinite;
}

@keyframes pulse-pedestal {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-50%) scale(1.15);
    opacity: 1;
  }
}

/* Night Mode Transition */
#app-root.night-mode {
  filter: brightness(0.7) hue-rotate(240deg);
  transition: filter 1s ease-in-out;
}

/* Float Animations */
@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

/* Lottie SVG and Image sizing */
#lottie-dog-container svg,
#lottie-dog-container img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.35));
}

/* Dog Bath & Feed Action Animations */
@keyframes dog-wash-wiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-4deg); }
  50% { transform: scale(0.97) rotate(4deg); }
  75% { transform: scale(1.04) rotate(-3deg); }
}

.washing-dog-active {
  animation: dog-wash-wiggle 0.35s ease-in-out infinite !important;
  filter: drop-shadow(0 0 45px rgba(56, 189, 248, 0.85)) !important;
}

@keyframes dog-eat-bounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.18) translateY(-12px); }
  70% { transform: scale(0.95) translateY(4px); }
  100% { transform: scale(1); }
}

.eating-dog-active {
  animation: dog-eat-bounce 0.55s ease-out 2 !important;
  filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.8)) !important;
}

/* Bath Video Overlay */
#bath-video-overlay.active-bath {
  display: flex !important;
  animation: pop-bath 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pop-bath {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#bath-video-player {
  filter: contrast(1.05) brightness(1.02);
}
