/* ===== ESTADÍSTICAS ESPECÍFICAS - ESTILO GENSHIN ===== */
#seccion-estadisticas-especificas {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.character-name {
  font-family: 'GenshinFont', sans-serif;
  color: #ffeb3b;
  text-align: center;
  margin: 5px 0 5px;
  text-shadow: 0 0 8px rgba(255, 235, 59, 0.4);
  font-size: 1.25rem;
}

.scroll-estadisticas {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 8px;
}

.scroll-estadisticas::-webkit-scrollbar {
  width: 6px;
}

.scroll-estadisticas::-webkit-scrollbar-thumb {
  background: linear-gradient(#ff9c34, #a162e8);
  border-radius: 10px;
}

.stats-specific-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 5px;
}

.stat-item {
  background: linear-gradient(145deg, #2a2a3a, #1e1e2a);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.3);
}

.stat-label {
  color: #aaa;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 5px;
}

.stat-value {
  color: #ffeb3b;
  font-weight: 600;
  font-size: 1rem;
  display: block;
  text-shadow: 0 0 5px rgba(255, 235, 59, 0.3);
}

.stats-buttons {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  background: rgba(20, 20, 30, 0.9);
  position: sticky;
  bottom: 0;
  margin-top: auto;
  z-index: 2;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-calcular {
  background: linear-gradient(to right, #e74c3c, #c0392b);
  color: white;
  box-shadow: 0 2px 10px rgba(231, 76, 60, 0.4);
}

.btn-calcular:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.6);
}

.btn-editar {
  background: linear-gradient(to right, #34495e, #2c3e50);
  color: white;
  box-shadow: 0 2px 10px rgba(52, 73, 94, 0.4);
}

.btn-editar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 73, 94, 0.6);
}

.btn-restaurar {
  background: transparent;
  color: #ffeb3b;
  border: 2px solid #ffeb3b;
  box-shadow: 0 2px 10px rgba(255, 235, 59, 0.2);
}

.btn-restaurar:hover {
  background: rgba(255, 235, 59, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 235, 59, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .stats-specific-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .stats-specific-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-buttons {
    position: static;
    flex-direction: column;
    gap: 8px;
  }
  
  .btn {
    width: 100%;
  }
}