/* Fairyland Village - Base & Reset Styles */
:root {
  --primary-gold: #f59e0b;
  --primary-gold-dark: #d97706;
  --primary-gold-light: #fbbf24;
  --royal-blue: #2563eb;
  --royal-purple: #7c3aed;
  --fantasy-pink: #ec4899;
  --cream-bg: #fffbeb;
  --cream-card: #fef3c7;
  --wood-brown: #78350f;
  --leaf-green: #10b981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  background-color: #70c5f0;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
}

#game-canvas {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  outline: none;
  touch-action: none;
}

#ui-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

.interactive-ui {
  pointer-events: auto;
}

/* Typography headers */
h1, h2, h3, h4, h5, .font-fairytale {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  letter-spacing: 0.5px;
}

/* Custom scrollbars inside modals */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(253, 230, 138, 0.4);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb {
  background: #f59e0b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d97706;
}
