* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Mono', monospace;
  overflow-x: hidden;
}

.pixelated {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.8);
}

/* Glow effects */
.text-cyan-400 {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.border-cyan-500 {
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.border-purple-500 {
  box-shadow: 0 0 10px rgba(184, 79, 255, 0.2);
}

.border-green-500 {
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.border-blue-500 {
  box-shadow: 0 0 10px rgba(74, 158, 255, 0.2);
}

/* Button hover effects */
button {
  transition: all 0.2s ease;
}

button:hover:not(:disabled) {
  transform: scale(1.05);
}

button:active:not(:disabled) {
  transform: scale(0.95);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Card hover effects */
.hover\:border-cyan-500:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}