/* ================================
   COMPTEUR DE JOUEURS EN LIGNE
   ================================ */
.header-players-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  animation: fadeInUp 0.6s ease 0.3s both;
  transition: color 0.3s ease;
}

/* État ONLINE - Serveur en ligne */
.header-players-count.online {
  color: rgba(255, 255, 255, 0.9);
}

/* État OFFLINE - Serveur éteint */
.header-players-count.offline {
  color: rgba(255, 255, 255, 0.8);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Point ONLINE - Vert */
.status-dot.online {
  background: #4ecdc4;
  box-shadow: 0 0 8px rgba(78, 205, 196, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

/* Point OFFLINE - Rouge */
.status-dot.offline {
  background: #ff6b6b;
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
  animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.7; 
  }
}

@keyframes pulse-red {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.2); 
    opacity: 0.7; 
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1047px) {
  .header-players-count { 
    font-size: 0.75rem; 
  }
  .status-dot { 
    width: 6px; 
    height: 6px; 
  }
}
