@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Bricolage+Grotesque:wght@300;500;700;800&display=swap');

:root {
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-comic: 'Comic Neue', cursive;
}

.font-display {
  font-family: var(--font-display);
}

.font-comic {
  font-family: var(--font-comic);
}

/* Logo container styles */
.logo-container {
  position: relative;
  display: inline-block;
  padding: 20px;
}

.speech-bubble-outer {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #f97316);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.speech-bubble-inner {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.6);
  }
}

/* Sparkles */
.sparkle {
  position: absolute;
  animation: sparkle 1.5s ease-in-out infinite;
  font-size: 14px;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Confetti */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall 2s linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #ec4899);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9333ea, #db2777);
}

/* Button hover effects */
button {
  position: relative;
  overflow: hidden;
}

button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

button:active::after {
  width: 200px;
  height: 200px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .speech-bubble-outer {
    width: 60px;
    height: 60px;
  }
  
  .speech-bubble-inner {
    width: 45px;
    height: 45px;
  }
  
  .speech-bubble-inner span {
    font-size: 1.25rem;
  }
}

/* Fun animations for messages */
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.flex.justify-end {
  animation: slide-in-right 0.3s ease-out;
}

.flex.gap-3 {
  animation: slide-in-left 0.3s ease-out;
}