/* === STATUS BOX === */
.status-box {
  width: 450px;
  flex: none;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #b8860b;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  font-size: 1.1rem;
  box-sizing: border-box;
  height: auto;
}

/* Título da caixa */
.status-title {
  margin: 0 0 10px 0;
  padding: 6px 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  color: #111;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* === GRID DE STATUS === */
.status-grid {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
}

.status-item {
  flex: 1;
  text-align: center;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 10px;
}

.status-item .value {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}

.status-item .label {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #facc15;
}

/* CORES DO GAME STATUS */
.status-item .value.on {
  color: #22c55e !important;
}

.status-item .value.off {
  color: #ef4444 !important;
}

/* FUNDO VERDE para ONLINE */
#game-status-box.status-on {
  background: rgba(34, 197, 94, 0.15) !important;
  border: 1px solid rgba(34, 197, 94, 0.4) !important;
}

/* FUNDO VERMELHO para OFFLINE */
#game-status-box.status-off {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

/* === FACTION BALANCE BAR === */
.faction-bar {
  display: flex;
  width: 100%;
  height: 28px;
  margin-top: 15px;
  border: 2px solid #b8860b;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  color: #111;
}

.faction {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.faction.light {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: #fff;
}

.faction.fury {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #fff;
}

/* === RELÓGIO === */
.status-time {
  margin: 15px 0;
  text-align: center;
}

#us-time {
  font-size: 1.6rem;
  font-weight: bold;
  color: #facc15;
  text-shadow: 0 0 6px rgba(250,204,21,.5);
  display: block;
  margin-bottom: 8px;
}

#us-date {
  font-weight: bold;
  color: #facc15;
  text-shadow: 0 0 6px rgba(250,204,21,.5);
  opacity: 0.9;
  font-style: italic;
}
