:root {
  --background: 232 30% 9%;
  --foreground: 210 40% 98%;
  --primary: 188 96% 55%;
  --secondary: 238 26% 18%;
  --muted: 225 12% 72%;
  --destructive: 0 84% 62%;
  --border: 230 20% 24%;
  --card: 232 27% 13%;

  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.14);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.35);

  --transition-fast: 180ms ease;
  --transition-smooth: 300ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

.dark {
  --background: 232 30% 9%;
  --foreground: 210 40% 98%;
  --primary: 188 96% 55%;
  --secondary: 238 26% 18%;
  --muted: 225 12% 72%;
  --destructive: 0 84% 62%;
  --border: 230 20% 24%;
  --card: 232 27% 13%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.game-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent 18%, transparent 84%, rgba(0,0,0,0.16));
}
