/* BintangBelajar Styling System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
}

.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Class Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Micro-Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes bounce-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.animate-bounce-gentle {
  animation: bounce-gentle 2s ease-in-out infinite;
}

/* Gradient Text Effect */
.text-gradient-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-kids {
  background: linear-gradient(135deg, #f97316 0%, #eab308 50%, #84cc16 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Drawing Canvas for Calistung TK */
.drawing-canvas {
  touch-action: none;
  cursor: crosshair;
  background-color: #ffffff;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse Glow */
.glow-primary:hover {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  transition: all 0.3s ease;
}

/* Kid-Friendly Calistung Animations & Visual Candy */
@keyframes pop-bubble {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.animate-pop-bubble {
  animation: pop-bubble 0.4s ease-out;
}

/* Big playful bubble buttons */
.bubble-button {
  background: #ffffff;
  border: 4px solid #e2e8f0;
  border-radius: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bubble-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bubble-button:active {
  transform: translateY(0) scale(0.95);
}

/* Kid Gradients */
.bg-kids-gradient-yellow {
  background: linear-gradient(135deg, #fef08a 0%, #fef3c7 100%);
}
.bg-kids-gradient-blue {
  background: linear-gradient(135deg, #bfdbfe 0%, #dbeafe 100%);
}
.bg-kids-gradient-pink {
  background: linear-gradient(135deg, #fbcfe8 0%, #fce7f3 100%);
}
.bg-kids-gradient-green {
  background: linear-gradient(135deg, #bbf7d0 0%, #dcfce7 100%);
}

/* Confetti Popper base */
.canvas-confetti-holder {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}
