/* ==========================================================================
   MAIN STYLES - T.I QUIZZMASTER - BOTÃO LOGIN/LOGOUT CORRIGIDO
   ========================================================================== */

:root {
  --primary-green: #00ff41;
  --secondary-green: #00d300;
  --dark-green: #003300;
  --neon-blue: #00ffff;
  --background-black: #000000;
  --text-white: #ffffff;
  --glitch-red: #ff0040;
  --glitch-blue: #0040ff;
  --shadow-color: rgba(0, 255, 65, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Orbitron', monospace;
  background: var(--background-black);
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */

.container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  z-index: 10;
  padding: 2rem;
}

/* ==========================================================================
   TITLE STYLING
   ========================================================================== */

.title-container {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
  z-index: 10;
}

#titulo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  color: var(--primary-green);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
  text-shadow: 
    0 0 10px var(--primary-green),
    0 0 20px var(--primary-green),
    0 0 40px var(--primary-green);
  animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
  0% {
    text-shadow: 
      0 0 10px var(--primary-green),
      0 0 20px var(--primary-green),
      0 0 40px var(--primary-green);
  }
  100% {
    text-shadow: 
      0 0 5px var(--primary-green),
      0 0 10px var(--primary-green),
      0 0 20px var(--primary-green),
      0 0 40px var(--primary-green),
      0 0 80px var(--primary-green);
  }
}

/* ==========================================================================
   NAVIGATION BUTTONS
   ========================================================================== */

.navigation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.btn {
  position: relative;
  display: inline-block;
  padding: 1.2rem 3rem;
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  overflow: hidden;
  min-width: 250px;
  text-align: center;
  box-shadow: 
    0 0 20px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.btn-text {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
  transition: all 0.5s ease;
  z-index: 1;
}

.btn:hover {
  color: var(--background-black);
  border-color: var(--neon-blue);
  box-shadow: 
    0 0 30px var(--neon-blue),
    inset 0 0 30px rgba(0, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn:hover .btn-bg {
  left: 0;
}

.btn:hover .btn-text {
  color: var(--background-black);
  text-shadow: none;
}

.btn:active {
  transform: translateY(0);
}

/* Button Color Variants */
.btn-secondary:hover {
  border-color: var(--glitch-red);
  box-shadow: 
    0 0 30px var(--glitch-red),
    inset 0 0 30px rgba(255, 0, 64, 0.2);
}

.btn-tertiary:hover {
  border-color: var(--glitch-blue);
  box-shadow: 
    0 0 30px var(--glitch-blue),
    inset 0 0 30px rgba(0, 64, 255, 0.2);
}

/* ==========================================================================
   AUTH BUTTON - CORRIGIDO
   ========================================================================== */

.auth-container {
  position: fixed;
  top: 3rem; /* 🔧 CORRIGIDO: Aumentado de 2rem para 3rem */
  left: 2rem;
  z-index: 100;
}

.auth-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  text-decoration: none;
  font-size: 0.7rem;
  color: var(--primary-green);
}

.auth-btn:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
}

.auth-btn img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) saturate(100%) invert(59%) sepia(96%) saturate(3207%) hue-rotate(92deg) brightness(101%) contrast(107%);
  transition: filter 0.3s ease;
}

.auth-btn:hover img {
  filter: brightness(0) saturate(100%) invert(59%) sepia(96%) saturate(3207%) hue-rotate(180deg) brightness(101%) contrast(107%);
}

.auth-tooltip {
  position: absolute;
  bottom: -3rem; /* 🔧 CORRIGIDO: Mudado de top para bottom */
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-black);
  color: var(--primary-green);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-family: 'Press Start 2P', monospace;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid var(--primary-green);
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3); /* 🔧 ADICIONADO: Melhor visibilidade */
}

/* 🔧 CORRIGIDO: Tooltip alternativo para telas pequenas */
@media screen and (max-height: 600px) {
  .auth-tooltip {
    bottom: auto;
    top: 100%;
    margin-top: 0.5rem;
  }
}

.auth-btn:hover .auth-tooltip {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Mobile Devices */
@media screen and (max-width: 480px) {
  #titulo {
    font-size: 2rem;
  }
  
  .navigation {
    gap: 1.5rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 0.7rem;
    min-width: 200px;
  }
  
  .container {
    padding: 1rem;
  }
  
  .auth-container {
    top: 1rem; /* 🔧 AJUSTADO: Mais próximo do topo em mobile */
    left: 1rem;
  }
  
  .auth-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.6rem;
  }
  
  .auth-btn img {
    width: 20px;
    height: 20px;
  }
}

/* Tablets */
@media screen and (min-width: 481px) and (max-width: 768px) {
  #titulo {
    font-size: 3rem;
  }
  
  .btn {
    font-size: 0.8rem;
  }
  
  .auth-container {
    top: 2rem; /* 🔧 AJUSTADO: Espaço médio para tablets */
    left: 1.5rem;
  }
}

/* Desktop Small */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  #titulo {
    font-size: 4rem;
  }
  
  .navigation {
    flex-direction: row;
    gap: 2rem;
  }
}

/* Desktop Large */
@media screen and (min-width: 1025px) {
  #titulo {
    font-size: 5rem;
  }
  
  .navigation {
    flex-direction: row;
    gap: 3rem;
  }
  
  .btn {
    font-size: 1rem;
  }
}

/* Ultra Wide */
@media screen and (min-width: 1400px) {
  #titulo {
    font-size: 6rem;
  }
  
  .container {
    gap: 6rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY & PERFORMANCE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  #titulo,
  .btn,
  .auth-btn {
    animation: none;
  }
  
  .btn,
  .auth-btn {
    transition: none;
  }
}

/* High contrast mode */
.high-contrast .btn,
.high-contrast .auth-btn {
  border-width: 3px;
}

/* ==========================================================================
   FOCUS STATES PARA ACESSIBILIDADE
   ========================================================================== */

.btn:focus,
.auth-btn:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* ==========================================================================
   ENHANCED AUTH BUTTON STATES
   ========================================================================== */

.auth-btn.logged-in {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.auth-btn.logged-in:hover {
  border-color: var(--glitch-red);
  color: var(--glitch-red);
  box-shadow: 0 0 30px rgba(255, 0, 64, 0.5);
}

/* ==========================================================================
   LOADING STATE PARA AUTH BUTTON
   ========================================================================== */

.auth-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.auth-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 12px;
  height: 12px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   NOTIFICAÇÕES DE FEEDBACK
   ========================================================================== */

.auth-notification {
  position: fixed;
  top: 3rem;
  right: 2rem;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 300px;
  word-wrap: break-word;
  box-shadow: 0 0 20px currentColor;
}

.auth-notification.success {
  background: var(--primary-green);
  color: var(--background-black);
}

.auth-notification.error {
  background: var(--glitch-red);
  color: var(--text-white);
}

.auth-notification.info {
  background: var(--neon-blue);
  color: var(--background-black);
}

.auth-notification.show {
  transform: translateX(0);
}

/* ==========================================================================
   ADIÇÕES PARA O BOTÃO DE PERFIL - Adicione ao final do style.css
   ========================================================================== */

/* Botão de Perfil - Estilo especial CORRIGIDO */
.btn-profile {
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(128, 0, 255, 0.1));
  border-color: var(--neon-blue) !important;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
  animation: profileButtonGlow 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
  /* 🔧 CORRIGIDO: Garante alinhamento com outros botões */
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@keyframes profileButtonGlow {
  0% {
    border-color: var(--neon-blue);
    box-shadow: 
      0 0 20px rgba(0, 255, 255, 0.3),
      inset 0 0 20px rgba(0, 255, 255, 0.1);
  }
  100% {
    border-color: var(--neon-purple);
    box-shadow: 
      0 0 30px rgba(128, 0, 255, 0.4),
      inset 0 0 30px rgba(128, 0, 255, 0.15);
  }
}

.btn-profile:hover {
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  border-color: var(--text-white) !important;
  box-shadow: 
    0 0 40px var(--neon-blue),
    inset 0 0 40px rgba(255, 255, 255, 0.2);
}

/* 🔧 CORRIGIDO: Texto do botão de perfil sempre visível */
.btn-profile .btn-text {
  color: var(--neon-blue) !important;
  text-shadow: 0 0 10px var(--neon-blue);
  font-weight: bold;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  /* Remove o gradiente problemático */
  background: none !important;
  -webkit-text-fill-color: var(--neon-blue) !important;
  /* 🔧 CORRIGIDO: Garante centralização do texto */
  width: 100%;
  text-align: center;
  display: block;
}

.btn-profile:hover .btn-text {
  color: var(--background-black) !important;
  -webkit-text-fill-color: var(--background-black) !important;
  text-shadow: none;
}

/* 🔧 CORRIGIDO: Estado inicial visível */
.btn-profile {
  opacity: 1 !important;
  transform: scale(1);
  visibility: visible;
}

/* 🔧 CORRIGIDO: Estado escondido - remove completamente do layout */
.btn-profile.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  /* Remove do fluxo flexbox completamente */
  flex: none !important;
  order: 999 !important;
  /* Remove qualquer espaço que possa sobrar */
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
}

/* 🔧 FALLBACK: Ajuste manual da navegação */
.navigation.no-profile {
  /* Ajustes quando não há botão de perfil */
  justify-content: center;
}

/* 🔧 NOVO: Animação de entrada mais suave */
.btn-profile.profile-fade-in {
  animation: profileFadeIn 0.8s ease-out forwards, profileButtonGlow 3s ease-in-out infinite alternate 0.8s;
}

@keyframes profileFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 🔧 CORRIGIDO: Responsive adjustments para mobile */
@media screen and (max-width: 768px) {
  .btn-profile {
    order: 2; /* Posiciona o botão de perfil após "Começar" em mobile */
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* 🔧 CORRIGIDO: Navegação responsiva */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .navigation {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .btn-profile {
    min-width: 200px;
  }
}

/* 🔧 CORRIGIDO: Desktop layout */
@media screen and (min-width: 1025px) {
  .navigation {
    flex-direction: row;
    gap: 2rem;
  }
  
  .btn-profile {
    min-width: 250px;
  }
}

/* High contrast mode */
.high-contrast .btn-profile {
  border-width: 4px;
  background: transparent !important;
}

.high-contrast .btn-profile .btn-text {
  color: var(--text-white) !important;
  -webkit-text-fill-color: var(--text-white) !important;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .btn-profile {
    animation: none !important;
  }
  
  .btn-profile.profile-fade-in {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* 🔧 NOVO: Force layout consistency */
.btn-profile .btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
  transition: all 0.5s ease;
  z-index: 1;
}

.btn-profile:hover .btn-bg {
  left: 0;
}

/* Responsive adjustments for profile button */
@media screen and (max-width: 768px) {
  .btn-profile {
    order: 2; /* Posiciona o botão de perfil após "Começar" em mobile */
  }
}

/* High contrast mode */
.high-contrast .btn-profile {
  border-width: 4px;
  background: transparent !important;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .btn-profile {
    animation: none;
  }
  
  .btn-profile {
    opacity: 1;
    transform: none;
  }
}

/* Mobile adjustments for notifications */
@media screen and (max-width: 480px) {
  .auth-notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    transform: translateY(-100%);
    max-width: none;
    font-size: 0.5rem;
  }
  
  .auth-notification.show {
    transform: translateY(0);
  }
}

/* ==========================================================================
   PARTÍCULAS FLUTUANTES
   ========================================================================== */

.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-green);
  animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -3s;
  animation-duration: 18s;
}

.particle:nth-child(3) {
  top: 30%;
  left: 60%;
  animation-delay: -6s;
  animation-duration: 15s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: -9s;
  animation-duration: 20s;
}

.particle:nth-child(5) {
  top: 50%;
  left: 90%;
  animation-delay: -12s;
  animation-duration: 14s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) scale(0.5);
    opacity: 0;
  }
}

/* ==========================================================================
   GRID CYBERPUNK
   ========================================================================== */

.cyberpunk-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}

.grid-lines-horizontal {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 98px,
    var(--primary-green) 100px
  );
  animation: gridPulse 4s ease-in-out infinite alternate;
}

.grid-lines-vertical {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 98px,
    var(--primary-green) 100px
  );
  animation: gridPulse 4s ease-in-out infinite alternate 2s;
}

.glow-spot {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.spot-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.spot-2 {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.spot-3 {
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes gridPulse {
  0% { opacity: 0.05; }
  100% { opacity: 0.15; }
}

@keyframes glowPulse {
  0% { 
    opacity: 0.2;
    transform: scale(1);
  }
  100% { 
    opacity: 0.4;
    transform: scale(1.2);
  }
}

/* ==========================================================================
   TÍTULO CORRIGIDO - SINGLE LINE
   ========================================================================== */

.title-container {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
  z-index: 10;
}

.title-background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 150px;
  background: radial-gradient(ellipse, rgba(0, 255, 65, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  animation: titleGlowPulse 4s ease-in-out infinite alternate;
  z-index: -1;
}

.enhanced-title {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 8vw, 4rem);
  color: var(--primary-green);
  text-shadow: 
    0 0 20px var(--primary-green),
    0 0 40px var(--primary-green),
    0 0 80px var(--primary-green);
  animation: titlePulse 3s ease-in-out infinite alternate;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 1rem 0;
  overflow: hidden;
  /* Remove efeitos de glitch problemáticos */
}

/* Scanline Effect */
.title-scanline {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.4), transparent);
  animation: scanlineMove 4s ease-in-out infinite;
  pointer-events: none;
}

.title-subtitle {
  margin-top: 1rem;
  text-align: center;
}

.typing-text {
  color: var(--secondary-green);
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.4rem, 2vw, 0.8rem);
  letter-spacing: 0.1em;
  display: inline-block;
  border-right: 2px solid var(--primary-green);
  animation: typeWriter 3s steps(25) 1s forwards, blink 1s infinite step-end;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

/* Animações */
@keyframes titlePulse {
  0% {
    text-shadow: 
      0 0 20px var(--primary-green),
      0 0 40px var(--primary-green),
      0 0 80px var(--primary-green);
  }
  100% {
    text-shadow: 
      0 0 30px var(--primary-green),
      0 0 60px var(--primary-green),
      0 0 120px var(--primary-green);
  }
}

@keyframes titleGlowPulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.6; }
}

@keyframes scanlineMove {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes typeWriter {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes blink {
  0%, 50% { border-color: var(--primary-green); }
  51%, 100% { border-color: transparent; }
}

/* Responsividade do Título */
@media screen and (max-width: 768px) {
  .enhanced-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    letter-spacing: 0.05em;
  }
  
  .title-background-glow {
    width: 400px;
    height: 100px;
  }
  
  .typing-text {
    font-size: clamp(0.3rem, 1.5vw, 0.6rem);
  }
}

@media screen and (max-width: 480px) {
  .enhanced-title {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
  
  .title-background-glow {
    width: 300px;
    height: 80px;
  }
}

/* ==========================================================================
   BOTÕES MELHORADOS
   ========================================================================== */

.enhanced-btn {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-green);
  transition: all 0.3s ease;
}

.btn-icon {
  margin-right: 0.8rem;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.btn-border-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-green), var(--neon-blue), var(--primary-green));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  animation: borderRotate 4s linear infinite;
}

.enhanced-btn:hover .btn-border-glow {
  opacity: 0.6;
}

@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   ESTATÍSTICAS OVERLAY
   ========================================================================== */

.stats-overlay {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.stat-item {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--primary-green);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(10px);
  text-align: center;
  min-width: 100px;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.stat-label {
  display: block;
  color: var(--secondary-green);
  font-size: 0.4rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
  font-family: 'Press Start 2P', monospace;
}

.stat-value {
  color: var(--primary-green);
  font-size: 0.7rem;
  font-weight: bold;
  text-shadow: 0 0 8px var(--primary-green);
  font-family: 'Press Start 2P', monospace;
}

/* ==========================================================================
   MELHORIAS VISUAIS GERAIS
   ========================================================================== */

/* Garantir que o container principal está bem posicionado */
.container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  z-index: 10;
  padding: 2rem;
}

/* Melhorar o grid cyberpunk para ser mais sutil */
.cyberpunk-grid {
  opacity: 0.05; /* Reduzido para não interferir na legibilidade */
}

/* Ajustar partículas para serem menos intrusivas */
.floating-particles {
  opacity: 0.7;
}

.particle {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 10px var(--primary-green);
}

/* Melhorar o contraste dos botões */
.enhanced-btn {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-green);
  transition: all 0.3s ease;
}

.enhanced-btn:hover {
  background: rgba(0, 255, 65, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 65, 0.4);
}

/* Melhorar as estatísticas */
.stats-overlay {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.stat-item {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--primary-green);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  backdrop-filter: blur(10px);
  text-align: center;
  min-width: 100px;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.stat-label {
  display: block;
  color: var(--secondary-green);
  font-size: 0.4rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
  font-family: 'Press Start 2P', monospace;
}

.stat-value {
  color: var(--primary-green);
  font-size: 0.7rem;
  font-weight: bold;
  text-shadow: 0 0 8px var(--primary-green);
  font-family: 'Press Start 2P', monospace;
}