/**
 * ====================================
 * HIERARQUIA DE Z-INDEX DO PROJETO
 * ====================================
 * 
 * z-index: 1-10       → Conteúdo normal (jogos, cards, etc)
 * z-index: 30         → Botões sociais flutuantes
 * z-index: 40         → Botão da roleta
 * z-index: 50         → Menu flutuante mobile
 * z-index: 100        → Header
 * z-index: auto       → Footer (fluxo normal, não fixed)
 * z-index: 9997-9999  → Modais e overlays
 * z-index: 10000+     → Drawer/Menu lateral
 * 
 * IMPORTANTE: Footer está no fluxo normal do documento.
 * Elementos fixed (roleta, menu) têm z-index baixo para não 
 * impedirem a visualização do footer quando ele aparecer.
 * ====================================
 */

* {
  box-sizing: border-box;
}

body {
  height: 100vh;
  margin: 0 auto;
  padding: 0 42px;
  padding-bottom: 60px; /* Espaço padrão para o footer */

  background-color: #0e100d;
  color: white;
}

/* Adicionar mais espaço em mobile para o menu flutuante */
@media (max-width: 991px) {
  body {
    padding-bottom: 150px; /* Espaço para footer + menu flutuante mobile (80px menu + 70px extra) */
  }
}

html,
input,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: var(--fonte-principal);
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.balance {
  color: var(--cor-primaria);
}

.generic-item {
  height: 54px;
  width: 42px;
  z-index: 20;
}
@media (max-width: 1440px) {
  .generic-item {
    height: 42px;
    width: 36px;
  }
}

@media (max-width: 768px) {
  .generic-item {
    height: 36px;
    width: 30px;
  }
  body {
    padding: 0 16px;
  }
}

@media (max-width: 580px) {
  .generic-item {
    height: 28px;
    width: 20px;
  }
}
