@import "tailwindcss";

* { box-sizing: border-box; }

:root {
  --primary: #f59e0b;
  --secondary: #10b981;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0a0a;
  color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

#root {
  width: 100%;
  min-height: 100vh;
  text-align: unset;
}

/* Slider */
.slide-enter { opacity: 0; transform: translateX(40px); }
.slide-enter-active { opacity: 1; transform: translateX(0); transition: all 400ms ease; }
.slide-exit { opacity: 1; transform: translateX(0); }
.slide-exit-active { opacity: 0; transform: translateX(-40px); transition: all 400ms ease; }

/* Number grid */
.num-btn {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 120ms ease;
  user-select: none;
  letter-spacing: -0.3px;
}
.num-btn:not(:disabled):hover {
  transform: scale(1.12);
  z-index: 1;
  position: relative;
}
.num-btn.selected {
  transform: scale(1.08);
  box-shadow: 0 0 12px var(--primary, #f59e0b);
  position: relative;
  z-index: 1;
}
.num-btn:disabled { opacity: 0.35; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
