/* ============================================
   Base / Reset — BoomGame
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--cg-font-family);
  font-size: var(--cg-font-size-base);
  color: var(--cg-text-primary);
  background: var(--cg-bg-primary);
  line-height: var(--cg-line-height-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input {
  font-family: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--cg-font-weight-bold);
  line-height: var(--cg-line-height-tight);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cg-border); border-radius: var(--cg-radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--cg-text-muted); }

/* Selection */
::selection {
  background: var(--cg-primary-subtle);
  color: var(--cg-primary-dark);
}
