/* Lyric display styles */
@font-face {
  font-family: 'IM Fell DW Pica';
  src: url('/fonts/IMFellDWPica-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-serif {
  font-family: 'IM Fell DW Pica', Georgia, "Times New Roman", Times, serif !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 0.75s ease-in;
}

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

.fireworks-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in, fadeOut 0.5s ease-out 3.5s forwards;
}

.firework {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: explode 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  filter: blur(0.5px);
  opacity: 0;
}

@keyframes explode {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--x), var(--y)) scale(0.1);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Results panel styles */
.results-panel {
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.results-display {
  font-family: monospace;
  font-size: 1.25rem;
  margin: 0.5rem 0;
  letter-spacing: 0.1rem;
  background-color: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: rgb(0 255 204); /* primary-500 from tailwind.config.js */
  color: white;
  border-radius: 0.25rem;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.action-btn:hover {
  background-color: rgb(0 153 153); /* primary-700 from tailwind.config.js */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.action-btn svg {
  margin-right: 0.5rem;
}



/* Dark mode results panel styling */
.dark .results-panel {
  background-color: #374151;
  border-color: #4b5563;
}

.dark .results-display {
  background-color: #1f2937;
  color: #e5e7eb;
}
