/* Importando a nova fonte VT323 */
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
/* Mantemos a Press Start caso precise para outros lugares */
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');
/* Custom Font do projeto */
@font-face {
  font-family: "Rebels";
  src: url("../images/files-blob-public-fonts-rebels-fett.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: oklch(0.2393 0 0);
  color: oklch(0.9851 0 0);
}

.font-display {
  font-family: "Rebels", sans-serif;
}

/* Classe genérica (caso use em outros lugares) */
.pixel-font {
  font-family: "VT323", monospace !important;
  font-weight: normal !important; 
  line-height: 1 !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: oklch(0.2029 0.0037 345.62);
}

::-webkit-scrollbar-thumb {
  background: oklch(0.4 0 0);
  border-radius: 4px;
}

/* Marquee Animations */
@keyframes marquee-up {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -50%, 0); }
}

@keyframes marquee-pulse {
  0%, 100% { opacity: 0.15; transform: scale(1) translateY(0); }
  25% { opacity: 0.4; transform: scale(1.02) translateY(-1px); }
  50% { opacity: 0.8; transform: scale(1.05) translateY(-2px); }
  75% { opacity: 0.6; transform: scale(1.02) translateY(-1px); }
}

.animate-marquee-up {
  animation: marquee-up 6s ease-in-out infinite;
}

.animate-marquee-pulse {
  animation: marquee-pulse 3s ease-in-out infinite;
}

/* Placa1 GPU Styles */
.item-placa1 {
  height: 20% !important;
  width: 8% !important;
  max-height: 90px !important;
  max-width: 80px !important;
}

/* Cenario Loading Animation */
@keyframes pulse-loading {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.cenario-loading-pulse {
  animation: pulse-loading 1.5s ease-in-out infinite;
}

#cenario-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  border-radius: 0.5rem;
}

#cenario-loading.active {
  display: flex;
}

.cenario-loading-spinner {
  font-size: 3rem;
  animation: pulse-loading 1.5s ease-in-out infinite;
}

/* Tier widget styles */
.tier-card {
  border: 2px solid;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: oklch(0.2029 0.0037 345.62);
  transition: all 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tier-icon {
  font-size: 3rem;
  line-height: 1;
  animation: tier-float 3s ease-in-out infinite;
}

@keyframes tier-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.tier-info { flex: 1; }

.tier-nome {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px currentColor;
}

.tier-xp {
  font-size: 0.875rem;
  color: oklch(0.708 0 0);
  margin: 0.25rem 0 0 0;
}

.tier-progress {
  width: 100%;
  height: 12px;
  background: oklch(0.2393 0 0);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid oklch(1 0 0 / 10%);
}

.tier-progress-bar {
  height: 100%;
  border-radius: 6px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px currentColor;
}

.tier-progresso-text {
  text-align: center;
  font-size: 0.875rem;
  color: oklch(0.708 0 0);
  margin: 0;
  font-weight: 600;
}

/* Check-in card animation */
@keyframes checkin-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 oklch(0.4703 0.2364 263.19 / 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 8px oklch(0.4703 0.2364 263.19 / 0); }
}

.checkin-card-active {
  cursor: pointer;
  animation: checkin-pulse 2s ease-in-out infinite;
}

.checkin-card-active:hover {
  transform: scale(1.1) !important;
}

/* Footer styles */
footer a { transition: color 0.2s ease; }
footer a:hover { color: oklch(0.4703 0.2364 263.19); }
footer .size-10:hover { transform: scale(1.1); transition: all 0.2s ease; }

/* Input Cleanup */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* Button Cleanup */
button { list-style: none; list-style-type: none; }
button::before, button::after { display: none; }
.btn-buy { list-style: none !important; list-style-type: none !important; }
.btn-buy::before { content: none !important; display: none !important; }

/* ==========================================================================
   CONFIGURAÇÃO DA FONTE DE STATUS (VT323) - VERSÃO "SEMI-BOLD" LIMPA
   ========================================================================== */

/* 1. Títulos (PODER, TEMP, etc) 
   Usa a fonte VT323 normal para padronizar */
.pixel-title {
  font-family: "VT323", monospace !important;
  font-size: 16px !important; 
  font-weight: normal !important;
  letter-spacing: 0.05em !important;
  opacity: 0.85; /* Sutil transparência para destacar os números */
  text-transform: uppercase;
}

/* 2. Números e Valores
   Usa 'text-shadow' para criar um falso negrito limpo */
#hashrate,
#hashrate-efetivo,
#eficiencia-percent,
#temperature,
#energy-percent {
  font-family: "VT323", monospace !important;
  font-weight: normal !important; /* Normal para não borrar */
  
  /* O TRUQUE: Sombra sólida de 1px cria o peso extra sem serrilhar */
  text-shadow: 0 0 1px currentColor !important; 
}

/* Tamanhos Ajustados (VT323 é fina, então usamos tamanhos maiores em px) */

#hashrate {
  font-size: 22px !important; 
  letter-spacing: 0.02em !important;
}

#eficiencia-percent,
#temperature,
#energy-percent {
  font-size: 20px !important;
}

#hashrate-efetivo {
  font-size: 16px !important;
  color: #a1a1aa !important;
  text-shadow: none !important; /* O efetivo fica fininho (sem sombra) */
}