/* Reset e suavização */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

:root {
  font-family: 'Inter', sans-serif;

  --neutral-0: #ffffff;
  --neutral-950: #121212;
  --gray-alpha-100: hsla(0, 0%, 0%, 0.08);

  --color-bg-primary: var(--neutral-0);
  --color-text-hustle: var(--neutral-950);
  --color-border: var(--gray-alpha-100);
}

/* Dark mode override */
html.dark {
  --color-bg-primary: var(--neutral-950);
  --color-text-hustle: var(--neutral-0);
  --color-border: hsla(0, 0%, 100%, 0.08);
}

/* Body ocupa a tela toda */
body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-hustle);
  font-family: 'Inter', sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

/* Splash fixo, centralizado */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-primary);
  z-index: 9999;
}

/* Spinner estilo Material */
.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--color-border);
  border-left-color: var(--color-text-hustle);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animação */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

