/* Pixel Art Styling */
.pixel-font {
  font-family: 'Press Start 2P', monospace;
  image-rendering: pixelated;
}

.pixel-border {
  border-style: solid;
  image-rendering: pixelated;
}

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

/* Custom animations */
@keyframes pixelPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-pixel-pulse {
  animation: pixelPulse 2s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

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

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .pixel-font {
    font-size: 0.8em;
  }
}

/* Input styling */
input, select {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7em;
}

input:focus, select:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

/* Particle effect simulation */
@keyframes coinFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-50px) rotate(360deg); opacity: 0; }
}

.coin-particle {
  animation: coinFloat 1s ease-out forwards;
}