:root {
  --color-bg: #0a0a12;
  --color-surface: #0d0d18;
  --color-surface-raised: #1a1a2e;
  --color-border: rgba(6, 182, 212, 0.2);
  --color-cyan: #06b6d4;
  --color-discord: #5865F2;
  --color-ebay: #0064D2;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: #e5e5e5;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(6, 182, 212, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(88, 101, 242, 0.05), transparent);
  pointer-events: none;
  z-index: -1;
}

.font-mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.5);
}

/* New order glow animation */
.order-glow {
  animation: order-highlight 3s ease-out;
}

@keyframes order-highlight {
  0% {
    background: rgba(16, 185, 129, 0.3);
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.2);
  }
  100% {
    background: transparent;
    box-shadow: none;
  }
}

/* Pulse animation for status */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Table hover effects */
table tbody tr {
  transition: background-color 0.15s ease;
}

/* Button hover scale */
button {
  transition: all 0.15s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
}

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

/* Input focus styles */
input:focus,
select:focus {
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Card hover lift */
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }
  
  table {
    font-size: 0.75rem;
  }
  
  table th,
  table td {
    padding: 0.5rem;
  }
}

/* Selection color */
::selection {
  background: rgba(6, 182, 212, 0.3);
  color: white;
}