@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .cute-font {
    font-family: 'ZCOOL KuaiLe', cursive;
  }
  .custom-scrollbar::-webkit-scrollbar {
    width: 8px;
  }
  .custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
  }
  .custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #fca5a5;
    border-radius: 20px;
  }
  .animate-float {
    animation: float 4s ease-in-out infinite;
  }
  .animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
  }
  .animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
  }
}

body {
  background-color: #fff0f5;
  background-image: radial-gradient(#ffe4e1 15%, transparent 16%), radial-gradient(#e0ffff 15%, transparent 16%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 4px solid #fff;
  box-shadow: 0 10px 40px -10px rgba(255, 182, 193, 0.5);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes mic-pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.mic-active {
  animation: mic-pulse 1.5s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Print Styles */
@media print {
  body {
    background: white !important;
    background-image: none !important;
  }
  .no-print {
    display: none !important;
  }
  .glass-panel, .shadow-xl, .shadow-2xl {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}