.kat-status {
	height: 17px;
	font-size: 10px;
	padding: 1px 5px;
	border-radius: 3px;
	display: inline-block;
	vertical-align: middle;
	color:#fff;
} 

.kat-status.kat-off {
	background: linear-gradient(90deg, rgba(223,115,107,1) 0%, rgba(190,5,5,1) 25%);
}
.kat-status.kat-on {
	background: linear-gradient(90deg, rgba(107,223,168,1) 0%, rgba(5,190,71,1) 25%);
}

.kat-status.kat-on i, .kat-status.kat-off i {
	line-height: 17px;
} 

/* --- Główny kontener --- */
#topshouts {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
  padding: 25px 0;
  overflow: hidden; /* Zapobiega pojawianiu się pasków przewijania przy animacji */
}

/* --- Nagłówek sekcji --- */
#topshouts > h3 {
  display: block;
  width: 100%;
  margin: 0 5px 25px; /* Nieco większy odstęp na dole */
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#topshouts > h3 span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  opacity: 0.6;
}

/* --- Pojedynczy użytkownik --- */
#topshouts .user {
  display: inline-flex;
  align-items: center;
  margin: 0 10px 15px;
  padding: 5px;
  border-radius: 25px;
  cursor: pointer;
  
  /* Animacja wejścia */
  opacity: 0;
  animation: slideUpFade 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  
  /* Płynne przejścia przy najechaniu (hover) */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Kaskadowe opóźnienie animacji wejścia dla top 5 użytkowników */
#topshouts .user:nth-child(1) { animation-delay: 0.1s; }
#topshouts .user:nth-child(2) { animation-delay: 0.2s; }
#topshouts .user:nth-child(3) { animation-delay: 0.3s; }
#topshouts .user:nth-child(4) { animation-delay: 0.4s; }
#topshouts .user:nth-child(5) { animation-delay: 0.5s; }

/* Efekt Hover na użytkowniku */
#topshouts .user:hover {
  transform: translateY(-5px); /* Unoszenie do góry */
}

#topshouts .user:hover .avatar {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* --- Avatar --- */
#topshouts .user .avatar {
  width: 45px; /* Minimalnie powiększone */
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtelny cień */
  transition: all 0.3s ease;
}

/* --- Informacje (Nick) --- */
#topshouts .user .info {
  padding: 0 10px;
  text-align: center;
}

#topshouts .user .info h3,
#topshouts .user .info h4 {
  margin: 0;
  padding: 0;
}

#topshouts .user .info h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: color 0.3s ease;
}

/* --- Ikonki pucharów --- */
#topshouts .user:nth-child(-n+3) .info h4::before {
  content: "\f091";
  font-family: FontAwesome, Awesome, "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  display: inline-block; /* Wymagane dla transformacji (np. scale) */
  margin-right: 6px;
  font-size: 20px;
  line-height: 13px;
  vertical-align: middle;
}

/* 1. miejsce (Złoto z animacją blasku) */
#topshouts .user:nth-child(1) .info h4::before {
  color: #f3cc00;
  filter: drop-shadow(0 0 3px rgba(243, 204, 0, 0.5));
  animation: pulseGold 2s infinite ease-in-out;
}

/* 2. miejsce (Srebro) */
#topshouts .user:nth-child(2) .info h4::before {
  color: #c3c3c3;
  filter: drop-shadow(0 0 2px rgba(195, 195, 195, 0.4));
}

/* 3. miejsce (Brąz) */
#topshouts .user:nth-child(3) .info h4::before {
  color: #cd7f32; /* Zmieniłem lekko odcień na bardziej miedziany/brązowy, dawny: #922525 */
  filter: drop-shadow(0 0 2px rgba(205, 127, 50, 0.4));
}


/* ========================================= */
/* --- KLATKI KLUCZOWE ANIMACJI (KEYFRAMES) - */
/* ========================================= */

/* Animacja wejścia (wjazd od dołu z rozjaśnieniem) */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulsujące złote trofeum (powiększanie i blask) */
@keyframes pulseGold {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(243, 204, 0, 0.5));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(243, 204, 0, 0.8));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(243, 204, 0, 0.5));
  }
}
