@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-10px) translateX(-10px); }
  75% { transform: translateY(-15px) translateX(5px); }
}

@keyframes flyAcross {
  0% { left: -50px; }
  100% { left: 110%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }
  50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.8); }
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.floating-ghost {
  position: fixed;
  font-size: 3rem;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  top: 10%;
  left: 5%;
}

.floating-bat {
  position: fixed;
  font-size: 2.5rem;
  animation: flyAcross 15s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
  top: 15%;
}

.spinning-pumpkin {
  font-size: 4rem;
  animation: spin 2s linear infinite;
  display: inline-block;
}

.glow-text {
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.8),
               0 0 20px rgba(168, 85, 247, 0.6),
               0 0 30px rgba(168, 85, 247, 0.4);
}

.glow-text-strong {
  text-shadow: 0 0 15px rgba(251, 146, 60, 0.8),
               0 0 30px rgba(168, 85, 247, 0.6),
               0 0 45px rgba(236, 72, 153, 0.4);
  animation: flicker 3s ease-in-out infinite;
}

.glow-input {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.glow-input:focus {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6),
              0 0 50px rgba(251, 146, 60, 0.4);
}

.halloween-button {
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.halloween-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.halloween-button:active {
  transform: translateY(0) scale(0.98);
}

.song-card {
  animation: pulse-glow 3s ease-in-out infinite;
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
}

.hover\:scale-102:hover {
  transform: scale(1.02);
}

.cobweb {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.3;
  pointer-events: none;
}

.cobweb.top-left {
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-top-left-radius: 100%;
}

.cobweb.top-right {
  top: 0;
  right: 0;
  background: linear-gradient(225deg, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-top-right-radius: 100%;
}

.cobweb.bottom-left {
  bottom: 0;
  left: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-bottom-left-radius: 100%;
}

.cobweb.bottom-right {
  bottom: 0;
  right: 0;
  background: linear-gradient(315deg, rgba(255,255,255,0.2) 0%, transparent 70%);
  border-bottom-right-radius: 100%;
}

.fog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(168, 85, 247, 0.1) 0%,
    transparent 50%,
    rgba(251, 146, 60, 0.1) 100%);
  pointer-events: none;
  animation: flicker 5s ease-in-out infinite;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.border-3 {
  border-width: 3px;
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #8b5cf6, #f97316);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #a78bfa, #fb923c);
}