/* Custom styles for AdLion */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #0b0f19;
  color: #f8fafc;
  overflow-x: hidden;
}

/* Canvas Grid Styling */
#canvas-container {
  position: relative;
  background: radial-gradient(circle, #1e293b 10%, #0f172a 90%);
  border: 2px solid #334155;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  cursor: crosshair;
}

#gridCanvas {
  display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Tooltip */
.grid-tooltip {
  position: absolute;
  pointer-events: auto;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #475569;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  padding: 12px;
  max-width: 280px;
  display: none;
  animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Modal styling */
.modal-backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

