* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.font-creepster {
  font-family: 'Creepster', cursive;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

.halloween-glow {
  text-shadow: 0 0 20px rgba(251, 146, 60, 0.6),
               0 0 40px rgba(251, 146, 60, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.card {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.3) 0%, rgba(49, 46, 129, 0.3) 100%);
  border: 2px solid rgba(147, 51, 234, 0.4);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.suspect-card {
  background: rgba(88, 28, 135, 0.3);
  border: 1px solid rgba(147, 51, 234, 0.5);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.suspect-card:hover {
  background: rgba(88, 28, 135, 0.5);
  border-color: rgba(251, 146, 60, 0.7);
  transform: scale(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(251, 146, 60, 0.3);
  font-size: 16px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.5);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: rgba(147, 51, 234, 0.3);
  color: rgb(196, 181, 253);
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(147, 51, 234, 0.5);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.btn-secondary:hover {
  background: rgba(147, 51, 234, 0.5);
  border-color: rgba(251, 146, 60, 0.5);
}

.btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tool-button {
  width: 100%;
  background: rgba(88, 28, 135, 0.4);
  border: 1px solid rgba(147, 51, 234, 0.6);
  border-radius: 8px;
  padding: 12px;
  color: rgb(233, 213, 255);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.tool-button:hover:not(:disabled) {
  background: rgba(88, 28, 135, 0.6);
  border-color: rgba(251, 146, 60, 0.6);
  transform: translateX(4px);
}

.tool-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

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

::-webkit-scrollbar-track {
  background: rgba(88, 28, 135, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(147, 51, 234, 0.6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(251, 146, 60, 0.6);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .card {
    padding: 16px;
  }
  
  h1.text-4xl {
    font-size: 2rem;
  }
  
  .grid.lg\\:grid-cols-3 {
    grid-template-columns: 1fr;
  }
}