/* ranking.css - VERSÃO SIMPLIFICADA PARA UM ÚNICO ÍCONE */
.content {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.ranking-box {
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid #b8860b;
  border-radius: 15px;
  padding: 30px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  min-height: 1200px;
  margin: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="transparent"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(139,69,19,0.1)" stroke-width="1"/></svg>');
}

.ranking-box h2 {
  color: #ffd700;
  text-align: center;
  margin-bottom: 50px;
  font-family: 'MedievalSharp', cursive;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  border-bottom: 2px solid #b8860b;
  padding-bottom: 15px;
}

.ranking-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.filter-btn {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.7), rgba(160, 82, 45, 0.7));
  border: 2px solid #8b4513;
  color: #ffd700;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-family: 'MedievalSharp', cursive;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.8), rgba(218, 165, 32, 0.8));
}

.filter-btn.active {
  background: linear-gradient(135deg, #b8860b, #ffd700);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  font-weight: bold;
}

.ranking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 3px solid #b8860b;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(139, 69, 19, 0.3);
}

.ranking-table th {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  color: #ffd700;
  padding: 18px 15px;
  text-align: center;
  font-family: 'MedievalSharp', cursive;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid #8b4513;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: bold;
}

.ranking-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(139, 69, 19, 0.4);
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  border-right: 1px solid rgba(139, 69, 19, 0.2);
}

.ranking-table td:last-child {
  border-right: none;
}

.ranking-table tr:last-child td {
  border-bottom: none;
}

.ranking-table tr:hover {
  background: rgba(139, 69, 19, 0.2);
}

.status-online {
  color: #22c55e !important;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
}

.status-offline {
  color: #ef4444 !important;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
}

.ranking-table tr:nth-child(even) {
  background: rgba(139, 69, 19, 0.1);
}

.ranking-table tr:nth-child(even):hover {
  background: rgba(139, 69, 19, 0.3);
}

/* === ÍCONES DE TÍTULO === */
.ranking-table td:nth-child(7) {
  position: relative;
  width: 64px;
  height: 40px;          /* força altura da linha */
  padding: 0;
}

.title-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === PAGINAÇÃO === */
.pagination {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination button {
  background: linear-gradient(135deg, #8b4513, #a0522d);
  border: 2px solid #b8860b;
  color: #ffd700;
  font-family: 'MedievalSharp', cursive;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 8px rgba(184, 134, 11, 0.4);
}

.pagination button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #b8860b, #ffd700);
  color: #111;
}

.pagination button.active {
  background: linear-gradient(135deg, #ffd700, #b8860b);
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  transform: scale(1.05);
}
