/* ============================================
   CHARACTERS PAGE - Clean & Organized
   Estilo baiak-light.com
   ============================================ */

/* Container principal da página de characters */
.characters-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Seções de informação */
.char-section {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.char-section-title {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.3em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

/* Grid de informações do personagem */
.char-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.char-info-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.char-info-label {
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
}

.char-info-value {
  color: #f1f5f9;
  font-weight: 600;
}

/* Status Online/Offline */
.char-status-online {
  color: #10b981 !important;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.char-status-offline {
  color: #ef4444 !important;
}

/* Destaque para valores importantes */
.char-value-highlight {
  color: #06b6d4;
  font-weight: 700;
  font-size: 1.1em;
}

/* Seção de Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(10, 14, 26, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.skill-name {
  color: #94a3b8;
  font-size: 0.9em;
}

.skill-value {
  color: #f1f5f9;
  font-weight: 600;
}

/* Seção de Equipamentos */
.equipment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.equipment-slot {
  width: 64px;
  height: 64px;
  background: rgba(10, 14, 26, 0.8);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.equipment-slot:hover {
  border-color: #06b6d4;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  transform: translateY(-3px);
}

.equipment-slot img {
  max-width: 48px;
  max-height: 48px;
}

/* Seção de Deaths */
.deaths-list {
  max-height: 400px;
  overflow-y: auto;
}

.death-item {
  padding: 15px;
  background: rgba(10, 14, 26, 0.6);
  border-left: 3px solid #ef4444;
  border-radius: 6px;
  margin-bottom: 10px;
}

.death-date {
  color: #94a3b8;
  font-size: 0.85em;
  margin-bottom: 5px;
}

.death-text {
  color: #f1f5f9;
  line-height: 1.6;
}

/* Scrollbar personalizada */
.deaths-list::-webkit-scrollbar {
  width: 8px;
}

.deaths-list::-webkit-scrollbar-track {
  background: rgba(10, 14, 26, 0.5);
  border-radius: 10px;
}

.deaths-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
  .characters-page {
    padding: 10px;
  }
  
  .char-info-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .equipment-grid {
    gap: 10px;
  }
  
  .equipment-slot {
    width: 56px;
    height: 56px;
  }
}
