@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0f172a; /* slate-900 */
  color: #f1f5f9; /* slate-100 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

#game-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
}

.mate {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: bottom center;
  will-change: transform;
  cursor: grab;
}

.mate:active {
  cursor: grabbing;
}

/* UI Overlay Transitions */
#ui-layer {
  transition: transform 0.3s ease-in-out;
}

.hidden-ui {
  transform: translateY(-85%);
}

/* Custom Scrollbar for overflow areas */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
