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

body {
  background: #1d1f21;
  color: #f3eddd;
  font-family: "Titillium Web", sans-serif;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #151515;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

:root {
  --cor-laranja-neon: #fc5e01;
  --cor-borda-sutil: #431c10;
  --cor-branco-texto: #f3eddd;
  --cor-preto-principal: #1d1f21;
  --cor-cinza: #888;
  --cor-cinza-texto: #c9c3c2;
  --cor-fundo: #151515;
  --cor-laranja-destaque: #dd663f;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --fonte-titulo: "Titillium Web", sans-serif;
  --fonte-digital: "Orbitron", monospace;
  --glow-shadow: 0 0 15px rgba(221, 102, 63);
  --glow-shadow-intense:
    0 0 25px rgba(221, 102, 63), 0 0 100px rgba(208, 102, 61, 0.5);
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Variáveis específicas por página (fonte única: root.css) --- */
  --cor-preto-card-auth: #141517;
  --glow-shadow-auth: 0 0 15px rgba(221, 102, 63, 0.4);
  --glow-shadow-intense-auth: 0 0 25px rgba(221, 102, 63, 0.8),
    0 0 80px rgba(252, 94, 1, 0.4);

  --cor-amarelo-neon-game: #ffb703;
  --cor-verde-telemetria: #00e676;
  --cor-cinza-texto-game: #a0a5aa;
  --cor-laranja-neon-game: #ff6a00;
  --cor-preto-principal-game: #121314;
  --glow-shadow-game: 0 0 15px rgba(221, 102, 63, 0.6);
  --glow-shadow-intense-game: 0 0 30px rgba(252, 94, 1, 0.8);
  --transition-fast-game: 0.2s ease;

  --glow-shadow-noticias: 0 0 30px rgba(221, 102, 63);
  --glow-shadow-intense-noticias: 0 0 50px rgba(221, 102, 63),
    0 0 100px rgba(208, 102, 61, 0.5);

  --glow-shadow-equipe: 0 0 15px rgba(221, 102, 63, 0.6);
  --glow-shadow-intense-equipe: 0 0 25px rgba(221, 102, 63, 0.9),
    0 0 100px rgba(208, 102, 61, 0.5);

  --cor-card-manutencao: rgba(29, 31, 33, 0.7);
  --cor-fundo-manutencao: #0a0a0a;
}

img {
  max-width: 100%;
  height: auto;
}

.logo {
  width: auto;
}

.auth-logo img {
  width: auto;
}

.loading-logo img {
  height: 70px;
  width: auto;
}

/* Modal de reestruturação: oculto por padrão (crítico, evita "flash" antes do CSS async da página carregar) */
.reestruturacao-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
}
